I gave this script a try using perf 5.15 (general tests) and on perf 4.18 (testing with "real applications"). My findings: