Coder Social home page Coder Social logo

hawktracer-converter's People

Contributors

alexene avatar loganek avatar lu-zero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lu-zero alexene

hawktracer-converter's Issues

Feature Request: consistent ordering of fields in debug output

At the moment, the order of fields is always different, which makes debug output hard to read. In the example I just created, I see three different orderings in three consecutive events.

HT_CallstackIntEvent {
    "timestamp": U64(42481390938328)
    "type": U32(5)
    "id": U64(44)
    "duration": U64(250061366)
    "label": U64(94680250347564) <maps to "bar">
    "thread_id": U32(1)
}
HT_CallstackIntEvent {
    "label": U64(94680250347564) <maps to "bar">
    "type": U32(5)
    "thread_id": U32(1)
    "timestamp": U64(42481891139613)
    "id": U64(45)
    "duration": U64(250085247)
}
HT_CallstackIntEvent {
    "type": U32(5)
    "thread_id": U32(1)
    "timestamp": U64(42479640516233)
    "id": U64(39)
    "duration": U64(2500711445)
    "label": U64(94680250347568) <maps to "foo">
}

It would be nice to always have the same ordering.

Make the cli nicer

Since it is using clap would be nice to:

  • have short arguments (e.g. -s, -o).
  • have defaults for the format (e.g. default to chrome-tracing)

I can send a PR if there is consensus in having the above.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.