risinglight
risinglight copied to clipboard
Enable lto in release profile.
+1 for this. PR's welcomed!
... this also reminds me of my time at AgateDB,
https://github.com/tikv/agatedb/blob/7f6603b1f1641ddbb6eb1265bbcd608368bf105c/Cargo.toml#L42-L50
Maybe we can also apply the above settings to our bench profile.
I prefer to enable it with a standard benchmark, so that we can know how much performance can be improved by LTO.