Open cjdb opened 1 year ago
In terms of an external utility, apparently there's a ninjatracing tool which converts .ninja_log
to Chromium's about:tracing
format, so the times taken may be viewed in a browser.
This can be accomplished with linux native features, a cron job. Is this something your team would still like help with?
@cjdb ^ ?
If you only care about the start/end times, they are already availablein the .ninja_log
file, which is what ninjatracing
and other tools use. The format is basic enough you can parse it with tools like awk
or sed
.
It'd be nice to analyse the time taken (and possibly other stats from Unix's
/usr/bin/time
) for each job that ninja completes, and have it written to a log file.