performance

Kai Koehne

Qt Weekly #4: Benchmarking Code

Published Thursday April 3rd, 2014 | 1 Comment on Qt Weekly #4: Benchmarking Code
Posted in Performance, Qt | Tags: , ,

Qt provides several built-in ways to benchmark the runtime costs of code. Let’s have a quick glance at the most common ones. There comes a time in every non-trivial application when performance starts to matter. In fact, it’s common for developers to pro-actively try to mitigate this by doing micro-optimizations, and aiming for optimized coding […]

Read More

Unleashing the power of QPainterPath::addEllipse()

Published Wednesday October 13th, 2010 | 7 Comments on Unleashing the power of QPainterPath::addEllipse()
Posted in Performance, WebKit | Tags: , ,

Up until recently, WebKit used to draw SVG circles and ellipses by breaking them down into 100-segment paths. This was done to get consistent auto-test results across different platforms and rendering libraries. Unfortunately, it wasn’t very fast. With Qt 4.7’s WebKit, my machine reaches a meager 17 FPS on the SVG version of The Man […]

Read More
Get started today with Qt Download now