Categories
Uncategorized

Initial Results…

Before I start on any optimizations I first have to measure how fast or slow the code right now is.


First, I took the code through callgrind and took a look at it in kcachegrind. What my mentors remembered were the bottlenecks was correct, the main bottlenecks in drawing were converting the pixels to ARGB, and blending the pixels themselves.


So now, lets measure the performance of this code. I wrote a pretty simple benchmark that measures the amount of time it takes for X number of BITMAP::blit calls to run. Here is the control group results:



So yea, that’s where I’m starting with and I plan on making it faster.

Leave a Reply

Your email address will not be published. Required fields are marked *