WebPagetest Forums
Trace file - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Trace file (/showthread.php?tid=14622)



Trace file - somenathdey - 11-30-2016 06:18 AM

Hi,

I executed a test on webpage test with the DevToolsTimeline enabled.
I was able to get the trace.json file for my run. In there, I can see an attribute "ts" which, as per my understanding, is the time in microsecond when the trace was captured.

My question is, is the trace sorted chronologically by the "ts" value? I can see the same "ts" being available at multiple lines which gives me a feeling that the file is not sorted by default.

Please let me know.

Thanks,
Somenath


RE: Trace file - pmeenan - 12-01-2016 01:05 AM

No, the trace events are stored in the order that they are emitted from Chrome and not sorted explicitly. Any tools that do processing against the trace events would be well-served to sort themselves first and then process (traceparser.py and dev tools both do this).


RE: Trace file - somenathdey - 12-02-2016 07:13 AM

Thanks