Current time: 12-10-2019, 05:08 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trace file
11-30-2016, 06:18 AM
Post: #1
Trace file
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
Find all posts by this user
Quote this message in a reply
12-01-2016, 01:05 AM
Post: #2
RE: Trace file
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).
Visit this user's website Find all posts by this user
Quote this message in a reply
12-02-2016, 07:13 AM
Post: #3
RE: Trace file
Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)