-
-
Notifications
You must be signed in to change notification settings - Fork 147
linux performance is not as good as windows #143
Comments
I tried windows platform + clang compiler. robin_hood performs as fast as MSVC. |
I have tried Windows/MSVC vs Apple/Clang on machines with similar processors, and Clang wins always (sometimes a lot). |
you can try my bench https://github.com/ktprime/emhash/blob/master/bench/martin_bench.cpp |
default load factor of ska hashmap is 0.5(same as tsl ::robin), so it's fast as you see. |
I do benchmark with robin_hood, tsl, ska hashmaps, include insert/delete/find/not_find cases.
robin_hood is overally the best under windows platform (i7 11700k, win11). It's slightly faster than tsk and ska. The result is almost the same as https://martin.ankerl.com/2019/04/01/hashmap-benchmarks-04-04-result-RandomFindString/
But when I run the same benchmark under linux, robin_hood is two timers slower than tsl and ska. Both gcc and clang compiler with O3 optimization flag.
I glanced over robin_hood source code and didn't find any hint why it's slower under linux. Any idea about this?
Thanks and regards.
The text was updated successfully, but these errors were encountered: