Git Product home page Git Product logo

Comments (7)

nico avatar nico commented on September 13, 2024

Sure, patches accepted.

from ninjatracing.

randomascii avatar randomascii commented on September 13, 2024

The implementation I'm using right now is simple and works nicely but doesn't have an option to display all build results overlaid. This also makes multi-file support meaningless.

I'm not sure when multiple input files are used.

I'm thinking of adding a command-line option to select between three options:

  1. Displaying all build data overlaid as is currently done.
  2. Displaying just the last build.
  3. Perhaps displaying subsequent builds with a few seconds of blank space between them - although this might require more effort than I feel like.

My tendency would be to make displaying just the last build be the default since I have never found the full overlay of all build results useful. Thoughts?

from ninjatracing.

randomascii avatar randomascii commented on September 13, 2024

I'm finding it useful to display results from the last 'n' incremental builds, separated by a small gap. I'll try to work up another PR to add that as an option.

from ninjatracing.

Trass3r avatar Trass3r commented on September 13, 2024

This would indeed be more useful than the current --showall behavior.

from ninjatracing.

Trass3r avatar Trass3r commented on September 13, 2024

This is a start.

from ninjatracing.

Zitrax avatar Zitrax commented on September 13, 2024

I have a similar issue in a bigger system which use multiple parallel ninja instances (which might depend on each other). All the individual ninja processes will appear to have started at time 0 which is not correct.

But I guess there is no way to find the absolute start time for each .ninja_log file so I could offset each of them properly?

from ninjatracing.

mateuszzz88 avatar mateuszzz88 commented on September 13, 2024

I like @Trass3r approach and will use it.
I wanted to make it even better by moving previous builds into past (negative "ts") and latest build starts at 0. But tracing viewer adjusts epoch so that whatever I do oldest build starts at zero.

from ninjatracing.

Related Issues (9)

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.