Categories
Posts

Little Steps

Richard Hipp on improving SQLite performance, 50% faster than 3.7.17:

This is 50% faster at the low-level grunt work of moving bits on and off disk and search b-trees. We have achieved this by incorporating hundreds of micro-optimizations. Each micro-optimization might improve the performance by as little as 0.05%. If we get one that improves performance by 0.25%, that is considered a huge win. Each of these optimizations is unmeasurable on a real-world system (we have to use cachegrind to get repeatable run-times) but if you do enough of them, they add up.

More often than not getting a big improvement in performance is about doing lots of little things.

Leave a Reply

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