395
edits
m (→August 14) |
Philosopher (talk | contribs) m (→August 14: explore.py) |
||
| Line 59: | Line 59: | ||
**** Nasal garbage collection statistics: objects: 10130315, references: 20934202 | **** Nasal garbage collection statistics: objects: 10130315, references: 20934202 | ||
**** Nasal garbage collection statistics: objects: 14722874, references: 30285505 | **** Nasal garbage collection statistics: objects: 14722874, references: 30285505 | ||
</pre> | </pre> | ||
As an aside, I'd use another thread to sort the data prior to writing it to a file - I am getting a bunch of stuff at the beginning of the file that simply doesn't seem very relevant in comparison to the rest. | As an aside, I'd use another thread to sort the data prior to writing it to a file - I am getting a bunch of stuff at the beginning of the file that simply doesn't seem very relevant in comparison to the rest. | ||
: Would my explore.py script help here? You can move it to $FG_HOME, run it, and type "list by number of calls / 20" to get the top 20 most-called functions. It's quite helpful, actually ^.^ [[User:Philosopher|—Philosopher]] ([[User talk:Philosopher|talk]]) 21:14, 14 August 2013 (UTC) | |||
It's confirmed: As previously suggested, your setupDebugExtras() call results in the entire sim session being profiled, see my earlier comments - ideally, just passing extras to call() should MERELY profile the specified naFunc, nothing else - according to the profile, I am seeing the entire sim session profiled during the run, not just the test func - so that's where all the data and refs are coming from. | It's confirmed: As previously suggested, your setupDebugExtras() call results in the entire sim session being profiled, see my earlier comments - ideally, just passing extras to call() should MERELY profile the specified naFunc, nothing else - according to the profile, I am seeing the entire sim session profiled during the run, not just the test func - so that's where all the data and refs are coming from. | ||
: Oh yeah, sorry, get forgetting to take that out.... Well I do (occasionally) but I put it back in [[User:Philosopher|—Philosopher]] ([[User talk:Philosopher|talk]]) 21:14, 14 August 2013 (UTC) | |||
<hr/> | <hr/> | ||
edits