Benchmarking The Linux Kernel With An "-O3" Optimized Build
Some synthetic kernel-minded benchmarks like perf-bench, there were some slight gains shown when running on the -O3 optimized kernel build.
Some of the Stress-NG kernel benchmarks also showed improvements with the -O3 kernel, but do not translate necessarily to real-world gains...
Out of all the benchmarks carried out, the Stress-NG context switching benchmark reported the most significant gain out of the -O3 optimized kernel build.
The big win in Stress-NG context switching though didn't translate necessarily to broad context switching benefits as with ctx-clock for example saw no change in performance.