uazo / cromite

Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!
https://www.cromite.org/
GNU General Public License v3.0
3.31k stars 74 forks source link

Replace trace2html with something more useful #939

Open uazo opened 6 months ago

uazo commented 6 months ago

I do not know the build times of the individual targets, so I cannot make any kind of evaluation in this respect.

What is produced today is absolutely useless and must be changed. The idea is to exploit https://ui.perfetto.dev/ for visualisation but the input data must be build. The alternative is the beautiful interface of https://chrome-supersize.firebaseapp.com/viewer.html but again the data must be build.

The source is .ninja_log, example:

START-TIME END-TIME RESTAT(???) FILE HASH

....
2242429 2254752 1711559077147643777 obj/v8/v8_base_without_compiler/api-natives.o   c6d808e027fedbd6
....

but the target and target hierarchy is missing, perhaps retrievable from .ninja_deps

Docs:

uazo commented 6 months ago

the aim is to see if I can somehow reduce the build time, for example by pre-building thirdy parties, but without data I can't make any assessments. I am near at the 24-hour limit for actions, and I would like to introduce the webview build as well.

uazo commented 1 day ago

I have checked, I cannot find anything ready-made. must necessarily be developed from scratch.