[libcxx-commits] [libcxx] [libc++] [sort] Improve performance of std::sort (PR #76616)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 11 16:07:09 PST 2024
philnik777 wrote:
> @philnik777 I'd appreciate it if you ELI5 how to produce a benchmark like yours in #76657 with "old" and "new" comparisons. It'd be a great help for my PR. Thank you in advance.
I use an incredibly advanced technique called "I have no idea how to do it properly, so I just run the benchmark twice (on the old and new code), copy-paste the old and new numbers together and call the columns 'old' and 'new'". It's a bit wordy, but I think it gets the idea across.
https://github.com/llvm/llvm-project/pull/76616
More information about the libcxx-commits
mailing list