From: Simon K. <si...@po...> - 2015-03-10 00:28:44
|
I searched up and down the internet but came up with nothing. How is the output of the deterministic profiler to be interpreted? seconds | gc | consed | calls | sec/call | name ------------------------------------------------------- seconds (total execution time),calls (amount overall calls),sec/call (average time per call), and name (well the name of the function) are quite straight forward. What does consed and gc mean? I guess consed tells the allocated memory (though in what unit?) and I'd say that gc tells the amount of units reclaimed by the gc but those two values never match and even use a different representation scheme (gc has a . every 3 numbers and consed a ,). E.g. what would this example output tell me (if my guess is right I'd have a massive memory leak): seconds | gc | consed | calls | sec/call | name ------------------------------------------------------- 0.011 | 0.000 | 965,488 | 6 | 0.001817 | PACKAGE:NAME ------------------------------------------------------- 0.011 | 0.000 | 965,488 | 6 | | Total I even made a stackoverflow question out of it. So if anybody who answers also has an account there can claim the rep. An entry into the manual would also be a great addition as the profiler is a powerful yet very elegant tool and having a documentation on how to read the output would improve the usability. Regards, Simon Koch |
From: Orivej D. <or...@gm...> - 2015-03-10 01:27:06
|
I answered at http://stackoverflow.com/questions/28842124/how-to-read-sbcl-deterministic-profiler-output/ |