aslushnikov / tracium

A blessed Chrome Trace parser.
Apache License 2.0
72 stars 7 forks source link

Supporting RTI data parsing #13

Open mbalabash opened 4 years ago

mbalabash commented 4 years ago

Hello, according to this message. Puppeteer supports RTI data in trace file with --enable-thread-instruction-count flag.

It will be nice if Tracium can parse this data if available. I ready to make implementation, but I faced a problem.

Could you provide some thoughts about this issue?

mbalabash commented 4 years ago

Guys (@aslushnikov @paulirish), did you try to get RTI data with docker before?

I don't have tidelta in trace file (tried on node:10-slim and node:12-slim docker images).

plesiecki commented 4 years ago

Hello. According to this https://calendar.perfplanet.com/2019/javascript-component-level-cpu-costs/ yet another flag is neeed, --no-sandbox. Can't confirm if it work or not.

mbalabash commented 4 years ago

@plesiecki Yes, this flag was in example too. I use it, but don't have ticount or tidelta in trace file (with chrome 77 and 78).

erykpiast commented 4 years ago

@stoyan could you provide an example, how to use this flag in the latest Chrome?

mbalabash commented 4 years ago

@erykpiast Thank your for attention to this problem.

I made some research about this issue. You can see it here.

erykpiast commented 4 years ago

That's great, thank you! I didn't see that issue.

mbalabash commented 4 years ago

If you are using Linux distro check this out to help me with testing this issue.

erykpiast commented 4 years ago

I'm on MacOS unfortunately :(