|Version 4 (modified by 9 years ago) ( diff ),|
EDIT: DO NOT USE THIS, IT IS NOT ACCURATE ENOUGH!
Profiling the engine is actually not as hard as it looks, and one only needs the default built engine version and no other special tools.
Very Sleepy profiler (free, just google it)
sleepy_translator.py from /etc/engine_profiling SVN folder
A copy of the engine source (get the correct tag from github, just webdownload is sufficient) which reflects the version being debugged
Win7 default command line 'zip' application
Launch spring, get to the part you want to profile, then launch Very Sleepy, and select the threads you wish to profile (main thread of spring is sufficient)
When you are finished with collecting the samples, just save the myprofile.sleepy file from Very Sleepy next to your sleepy_translator.py
Launch the translator with:
python sleepy_translator.py -i myprofile.sleepy -s c:\temp\springsources\spring-master\ dont forget the trailing slash at the -s path to source option.
Open the myprofile_translated.sleepy file, and bask in the following glory: