{"id":19850009,"url":"https://github.com/neudinger/keys-values-bench","last_synced_at":"2026-04-10T11:31:13.760Z","repository":{"id":160943150,"uuid":"635727972","full_name":"neudinger/keys-values-bench","owner":"neudinger","description":"C++ benchmark of keys values containers with likwid as monitoring and benchmarking suite ","archived":false,"fork":false,"pushed_at":"2023-05-03T10:37:07.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T01:35:40.749Z","etag":null,"topics":["bash","boost","cmake","cpp","cpp17","likwid","linux","llvm","pandas","plotly","python3","shell","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neudinger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-03T10:29:22.000Z","updated_at":"2023-05-05T09:08:37.000Z","dependencies_parsed_at":"2023-07-12T03:30:26.400Z","dependency_job_id":null,"html_url":"https://github.com/neudinger/keys-values-bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neudinger/keys-values-bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neudinger%2Fkeys-values-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neudinger%2Fkeys-values-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neudinger%2Fkeys-values-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neudinger%2Fkeys-values-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neudinger","download_url":"https://codeload.github.com/neudinger/keys-values-bench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neudinger%2Fkeys-values-bench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31641113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","boost","cmake","cpp","cpp17","likwid","linux","llvm","pandas","plotly","python3","shell","ubuntu"],"created_at":"2024-11-12T13:23:57.240Z","updated_at":"2026-04-10T11:31:13.726Z","avatar_url":"https://github.com/neudinger.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Benchmark of c++ keys values containers with likwid\n\n![](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge\u0026logo=ubuntu\u0026logoColor=white) ![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge\u0026logo=linux\u0026logoColor=black)\n\n![C++](https://img.shields.io/badge/c++17-%2300599C.svg?style=for-the-badge\u0026logo=c%2B%2B\u0026logoColor=white) ![](https://img.shields.io/badge/Python_3-FFD43B?style=for-the-badge\u0026logo=python\u0026logoColor=blue) ![](https://img.shields.io/badge/Shell_Script-121011?style=for-the-badge\u0026logo=gnu-bash\u0026logoColor=white)\n\n![](https://img.shields.io/badge/CMake-064F8C?style=for-the-badge\u0026logo=cmake\u0026logoColor=white) ![](https://img.shields.io/badge/conda_env-342B029.svg?\u0026style=for-the-badge\u0026logo=anaconda\u0026logoColor=white)\n\n\n![](https://img.shields.io/badge/Plotly-239120?style=for-the-badge\u0026logo=plotly\u0026logoColor=white) ![](https://img.shields.io/badge/Pandas-2C2D72?style=for-the-badge\u0026logo=pandas\u0026logoColor=white) ![](https://img.shields.io/badge/Numpy-777BB4?style=for-the-badge\u0026logo=numpy\u0026logoColor=white)\n\n![](https://llvm.org/img/LLVM-Logo-Derivative-1.png) ![](https://hpc.fau.de/files/2017/10/ll2-285x200.png) ![](https://upload.wikimedia.org/wikipedia/commons/c/cd/Boost.png) ![](https://mamba.readthedocs.io/en/latest/_static/logo.png)\n\nThis project require C++ 17 due to the usage of [structured bindings](https://en.cppreference.com/w/cpp/language/structured_binding)\n\n## Install commands\n\nRequired\n\n- C++ Compiler gnu g++ or LLVM clang++ \n- [micromamba](https://mamba.readthedocs.io/en/latest/installation.html#micromamba)\n\n\n\n```bash\nmamba env create -f environment.yml\nconda activate bench-env\n\nexport C_INCLUDE_PATH=${CONDA_PREFIX}/include\nexport CPLUS_INCLUDE_PATH=${CONDA_PREFIX}/include\n```\n\n```bash\n# Sometime this is required for the compiler to find include and the libraries\n# export C_INCLUDE_PATH=${C_INCLUDE_PATH}:${PWD}/libs/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04/include\n# export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:${PWD}/libs/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04/include\n# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${PWD}/libs/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04/lib\n# export LIBRARY_PATH=$LIBRARY_PATH:${PWD}/libs/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04/lib\n```\n\n- Download and install the required dependencies \n  ```bash\n  ./dl_lib.sh\n  ```\n\n- Build every binary\n  ```bash\n  ./build.sh\n  ```\n\n- Run every binary in ./binaries directory with likwid monitoring and write csv result in ./results/csv/\n  ```bash\n  ./run.sh\n  ```\n\n- Read csv to convert in eps, png, svg image performance chart\n  ```\n  ./read_results.sh\n  ```\n\n\n## Likwid simple usage\n\n- Please use the `./run.sh`\n\n```sh\n# https://rrze-hpc.github.io/likwid/Doxygen/likwid-perfctr.html\nlikwid-perfctr -O -m -C S0:0 -g MEM_DP ./binaries/stencil_EIGEN_1D 10 1000 \u003e EIGEN_1D.csv\n\nlikwid-perfctr -O -m -C S0:0 -g MEM_DP ./binaries/map_STD-3RK\\=int64_t-MAP_VALUE\\=k1 10 \u003e map_STD\\=int64_t-MAP_VALUE\\=k1.csv\n```\n\n## MAP\nBench between most popular Key Value library\n\nSee some result [result](./result.md)\n\n- [x] std::map\n- [x] LLVM::map\n- [x] LLVM::map_vector\n- [x] boost::container::map\n- [ ] [parallel-hashmap](https://github.com/greg7mdp/parallel-hashmap) (incoming)\n- [ ] [sparsepp](https://github.com/greg7mdp/sparsepp) (incoming)\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneudinger%2Fkeys-values-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneudinger%2Fkeys-values-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneudinger%2Fkeys-values-bench/lists"}