For testing and find bottlenecks I wrote a small FPS/profiler thingy that allows me easily check how much calculation time some parts of my code take. You can see it and its evolution in my works. Also from time to time people ask me if I can share and as it is not anything special I sometimes do share it.

Was asked again some time ago and decided to share last version I use here this time.

FPS/Profiler

Here how it looks

And here is example code and FPS class itself. As for license I don’t want to bother. Feel free to use/distribute it anyway you like. It would appreciate you mentioning where you got one in case you use it as is :) But that’s not necessary, just it would be polite I think :P

That’s it I guess. If there are some problems or suggestions feel free to ask. I for example was thinking on making a version that hides/shows trough right click menu but did not got to it yet.