Benchmark tool
by z0r on Jul.05, 2010, under Development blog, Hell Tech
As we are curious of engine and game performance beyond the “bad” frames-per-second measurement, I started to integrate a benchmark “tool” into the engine. This “tool” only registers the start and the end of a specified function block with a small useful information description.
With a separate benchmark viewer we can analyze the engine performance per function per thread and it shows the actions on a nice time line. What we see are blocks, aligned in time per thread. A large block means something took a shitload of time, a small block means mostly a few milliseconds. Also the engine schedules some update, physics and render, content loading calls on different threads, we now can see what actually happens inside. This also gives us more power for better optimizations and debug capabilities.




July 6th, 2010 on 08:18
Looks very nice! Would love to steal this from you
July 26th, 2010 on 09:30
I can provide the source if you like.
August 13th, 2010 on 10:23
This would certainly be usefull as a reusable delphi unit, and not just for developing games!
August 18th, 2010 on 14:10
Currently it’s C#, but can easily be ported to any other language that fits ur needs!
I still need to upload the code…