[PATCH] D132548: [WIP][ADT] Utility for comparision of hashtables implementation.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 04:11:02 PDT 2022


avl created this revision.
Herald added a subscriber: mgorny.
Herald added a project: All.
avl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

NOT FOR INTEGRATION. FOR INFORMATIONAL PURPOSES ONLY.

The utility allows to compare performance and memory requirements
for following hashtables: FixedConcurrentHashTable, ConcurrentHashTable,
Intel TBB concurrent_unordered_map, libcuckoo cuckoohash_map,
std::unordered_map, llvm::DenseMap.

To obtain Intel threading building block library visit https://github.com/oneapi-src/oneTBB.
Build library according to the instructions.
Add following into the llvm/tools/check-hashtable/CMakeLists.txt

include_directories( oneTBB/install/include )

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,oneTBB/install/lib/libtbb.so ")

To obtain libcuckoo library visit https://github.com/efficient/libcuckoo
Build library according to the instructions.
Add following into the llvm/tools/check-hashtable/CMakeLists.txt

include_directories( libcuckoo/install/include )

Depends On D125979 <https://reviews.llvm.org/D125979>, D132455 <https://reviews.llvm.org/D132455>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132548

Files:
  llvm/tools/check-hashtable/CMakeLists.txt
  llvm/tools/check-hashtable/Options.td
  llvm/tools/check-hashtable/check-hashtable.cpp
  llvm/tools/check-hashtable/docs/Performance.pdf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132548.455154.patch
Type: text/x-patch
Size: 28840 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220824/10f33ba5/attachment.bin>


More information about the llvm-commits mailing list