4 ms·
sqlite famously squeezed out a ~40% performance improvement (I think from v3 to v4?) by just combining tons of micro-optimizations of this kind where it wasn't
by eloff 8y ago
sqlite famously squeezed out a ~40% performance improvement (I think from v3 to v4?) by just combining tons of micro-optimizations of this kind where it wasn't obvious if each change even made an improvement. They measured the performance with cachegrind in order to identify very small improvements that get lost in the normal measurement noise.
- zawerf 8y agoI would love to read more about this. Do you have a link?
- SQLite 8y agohttps://www.sqlite.org/cpu.html https://www.sqlite.org/cpu.html
- rytill 8y agoThat’s a really awesome idea. Also, maybe a few of the performance boosts in the final combination are mutualistic, but if measured independently would not make a difference.
- thomasahle 8y agoAlso check fishcooking: http://tests.stockfishchess.org/tests http://tests.stockfishchess.org/tests which is how Stockfish became the indisputably strongest chess engine: Everyone can commit patches which are then tested in thousands of games, and if they make Stockfish stronger, they are accepted.