Question about webgrind display of parsed data

296 views
Skip to first unread message

Genadi Saltikov

unread,
Aug 16, 2012, 1:10:37 PM8/16/12
to webgrind...@googlegroups.com
hey guys, I just tried webgrind, since kcachegrind crashes trying to open 1GB large profiling files...

It took very long time, but it displays the parsed file :)

However, I would like to know how to READ it? I mean, it says:
125 different functions called in 123695 milliseconds (1 runs, 9 shown

and for functions: 
Invocation Count - 170960
Total Self Cost - 34.21
Total Inclusive cost - 35.54

What is this?? is that seconds? or what? why is there no [ms] or [sec], since apparently, multiple different units of measure are used..


Also, can I please know - how did you write the webgrind parser engine, to reach such a big file with memory_limit at 32mb successfully? I must know! its so cool - how? :)

oetting

unread,
Aug 17, 2012, 6:13:18 AM8/17/12
to webgrind...@googlegroups.com
You select the unit in the top of the page, drop down number 3. (invocation count is, a number of invocations of course).

Total self cost is the time spent on logic in that function other than calls to other functions. Total inclusive cost is the time spent including calls to other functions.

As for memory usage, thanks for noticing :)

We start by processing the profiling file line by line, keeping as little in memory as possible. The rest is written to a binary file, that has indexes that allow fast random access to the needed information.
Reply all
Reply to author
Forward
0 new messages