Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

linux performance is not as good as windows #143

@qdztxc

Description

@qdztxc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions