updated benchmark results

This commit is contained in:
joaquintides
2023-01-21 16:32:47 -05:00
parent 8ae6d6c13e
commit 665e02683a

View File

@@ -1,168 +1,168 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 988096
enwik9: 141176630 words, 58402 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1038558
enwik9: 141176630 words, 59585 ms
boost::unordered_flat_map, single threaded:
Word count: 5036 ms (s=141176630, size=1418655)
Word count: 4938 ms (s=141176630, size=1418655)
Contains: 3608 ms (s=97891799, size=1418655)
Contains: 3611 ms (s=97891799, size=1418655)
Total: 8644 ms
Total: 8550 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7358 ms (s=141176630, size=1418655)
Word count: 7376 ms (s=141176630, size=1418655)
Contains: 5185 ms (s=97891799, size=1418655)
Contains: 5189 ms (s=97891799, size=1418655)
Total: 12543 ms
Total: 12566 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5454 ms (s=141176630, size=1418655)
Word count: 5463 ms (s=141176630, size=1418655)
Contains: 4015 ms (s=97891799, size=1418655)
Contains: 4016 ms (s=97891799, size=1418655)
Total: 9470 ms
Total: 9479 ms
concurrent_foa, single threaded:
Word count: 8129 ms (s=141176630, size=1418655)
Word count: 8270 ms (s=141176630, size=1418655)
Contains: 4994 ms (s=97891799, size=1418655)
Contains: 5070 ms (s=97891799, size=1418655)
Total: 13123 ms
Total: 13341 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 8046 ms (s=141176630, size=1418655)
Word count: 8194 ms (s=141176630, size=1418655)
Contains: 5115 ms (s=97891799, size=1418655)
Contains: 5195 ms (s=97891799, size=1418655)
Total: 13161 ms
Total: 13390 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 10397 ms (s=141176630, size=1418655)
Word count: 9028 ms (s=141176630, size=1418655)
Contains: 6087 ms (s=97891799, size=1418655)
Contains: 6200 ms (s=97891799, size=1418655)
Total: 16485 ms
Total: 15228 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14476 ms (s=141176630, size=1418655)
Word count: 14379 ms (s=141176630, size=1418655)
Contains: 8354 ms (s=97891799, size=1418655)
Contains: 8383 ms (s=97891799, size=1418655)
Total: 22831 ms
Total: 22762 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4297 ms (s=141176630, size=1418655)
Word count: 4328 ms (s=141176630, size=1418655)
Contains: 2454 ms (s=97891799, size=1418655)
Contains: 2413 ms (s=97891799, size=1418655)
Total: 6752 ms
Total: 6742 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 12347 ms (s=141176630, size=1418655)
Word count: 14129 ms (s=141176630, size=1418655)
Contains: 2163 ms (s=97891799, size=1418655)
Contains: 2162 ms (s=97891799, size=1418655)
Total: 14510 ms
Total: 16291 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 4765 ms (s=141176630, size=1418655)
Word count: 5910 ms (s=141176630, size=1418655)
Contains: 1788 ms (s=97891799, size=1418655)
Contains: 1846 ms (s=97891799, size=1418655)
Total: 6553 ms
Total: 7757 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 4117 ms (s=141176630, size=1418655)
Word count: 4242 ms (s=141176630, size=1418655)
Contains: 3523 ms (s=97891799, size=1418655)
Contains: 3805 ms (s=97891799, size=1418655)
Total: 7641 ms
Total: 8048 ms
concurrent foa:
Word count: 3007 ms (s=141176630, size=1418655)
Word count: 3249 ms (s=141176630, size=1418655)
Contains: 1636 ms (s=97891799, size=1418655)
Contains: 1409 ms (s=97891799, size=1418655)
Total: 4643 ms
Total: 4658 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3264 ms (s=141176630, size=1418655)
Word count: 3187 ms (s=141176630, size=1418655)
Contains: 1621 ms (s=97891799, size=1418655)
Contains: 1521 ms (s=97891799, size=1418655)
Total: 4886 ms
Total: 4708 ms
concurrent foa, std::shared_mutex:
Word count: 3266 ms (s=141176630, size=1418655)
Word count: 3020 ms (s=141176630, size=1418655)
Contains: 1869 ms (s=97891799, size=1418655)
Contains: 1757 ms (s=97891799, size=1418655)
Total: 5135 ms
Total: 4777 ms
tbb::concurrent_hash_map:
Word count: 5534 ms (s=141176630, size=1418655)
Word count: 5460 ms (s=141176630, size=1418655)
Contains: 1980 ms (s=97891799, size=1418655)
Contains: 2016 ms (s=97891799, size=1418655)
Total: 7515 ms
Total: 7476 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 4363 ms (s=141176630, size=1418655)
Word count: 4399 ms (s=141176630, size=1418655)
Contains: 2342 ms (s=97891799, size=1418655)
Contains: 2392 ms (s=97891799, size=1418655)
Total: 6705 ms
Total: 6791 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 26186 ms (s=141176630, size=1418655)
Word count: 27934 ms (s=141176630, size=1418655)
Contains: 2284 ms (s=97891799, size=1418655)
Contains: 2339 ms (s=97891799, size=1418655)
Total: 28471 ms
Total: 30274 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7350 ms (s=141176630, size=1418655)
Word count: 6845 ms (s=141176630, size=1418655)
Contains: 3212 ms (s=97891799, size=1418655)
Contains: 3043 ms (s=97891799, size=1418655)
Total: 10563 ms
Total: 9889 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 8644 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12543 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9470 ms
concurrent_foa, single threaded: 13123 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13161 ms
concurrent_foa, std::shared_mutex, single threaded: 16485 ms
tbb::concurrent_hash_map, single threaded: 22831 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6752 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 14510 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6553 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7641 ms
concurrent foa: 4643 ms
concurrent foa, tbb::spin_rw_mutex: 4886 ms
concurrent foa, std::shared_mutex: 5135 ms
tbb::concurrent_hash_map: 7515 ms
gtl::parallel_flat_hash_map<std::mutex>: 6705 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 28471 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10563 ms
boost::unordered_flat_map, single threaded: 8550 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12566 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9479 ms
concurrent_foa, single threaded: 13341 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13390 ms
concurrent_foa, std::shared_mutex, single threaded: 15228 ms
tbb::concurrent_hash_map, single threaded: 22762 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6742 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 16291 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7757 ms
boost::unordered_flat_map, sharded isolated, prehashed: 8048 ms
concurrent foa: 4658 ms
concurrent foa, tbb::spin_rw_mutex: 4708 ms
concurrent foa, std::shared_mutex: 4777 ms
tbb::concurrent_hash_map: 7476 ms
gtl::parallel_flat_hash_map<std::mutex>: 6791 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 30274 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9889 ms