updated benchmark results

This commit is contained in:
joaquintides
2023-03-21 11:00:58 -04:00
parent 10406aff23
commit 8ad61f95fb

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1942458
enwik9: 141176630 words, 58432 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 2007005
enwik9: 141176630 words, 58880 ms
boost::unordered_flat_map, single threaded:
Word count: 4480 ms (s=141176630, size=1418655)
Word count: 4493 ms (s=141176630, size=1418655)
Contains: 3159 ms (s=97891799, size=1418655)
Contains: 3231 ms (s=97891799, size=1418655)
Total: 7640 ms
Total: 7725 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 6862 ms (s=141176630, size=1418655)
Word count: 6859 ms (s=141176630, size=1418655)
Contains: 4803 ms (s=97891799, size=1418655)
Contains: 4859 ms (s=97891799, size=1418655)
Total: 11666 ms
Total: 11719 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5542 ms (s=141176630, size=1418655)
Word count: 5529 ms (s=141176630, size=1418655)
Contains: 3763 ms (s=97891799, size=1418655)
Contains: 3779 ms (s=97891799, size=1418655)
Total: 9305 ms
Total: 9308 ms
cfoa, single threaded:
Word count: 7904 ms (s=141176630, size=1418655)
Word count: 7891 ms (s=141176630, size=1418655)
Contains: 4798 ms (s=97891799, size=1418655)
Contains: 4788 ms (s=97891799, size=1418655)
Total: 12702 ms
Total: 12680 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7654 ms (s=141176630, size=1418655)
Word count: 7691 ms (s=141176630, size=1418655)
Contains: 4739 ms (s=97891799, size=1418655)
Contains: 4724 ms (s=97891799, size=1418655)
Total: 12393 ms
Total: 12416 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8533 ms (s=141176630, size=1418655)
Word count: 8697 ms (s=141176630, size=1418655)
Contains: 5698 ms (s=97891799, size=1418655)
Contains: 5699 ms (s=97891799, size=1418655)
Total: 14231 ms
Total: 14397 ms
foa::concurrent_table, single threaded:
Word count: 7429 ms (s=141176630, size=1418655)
Word count: 7406 ms (s=141176630, size=1418655)
Contains: 4683 ms (s=97891799, size=1418655)
Contains: 4684 ms (s=97891799, size=1418655)
Total: 12113 ms
Total: 12090 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13850 ms (s=141176630, size=1418655)
Word count: 13880 ms (s=141176630, size=1418655)
Contains: 7982 ms (s=97891799, size=1418655)
Contains: 7991 ms (s=97891799, size=1418655)
Total: 21833 ms
Total: 21872 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4089 ms (s=141176630, size=1418655)
Word count: 4139 ms (s=141176630, size=1418655)
Contains: 2352 ms (s=97891799, size=1418655)
Contains: 2415 ms (s=97891799, size=1418655)
Total: 6442 ms
Total: 6555 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 16933 ms (s=141176630, size=1418655)
Word count: 14710 ms (s=141176630, size=1418655)
Contains: 2061 ms (s=97891799, size=1418655)
Contains: 2062 ms (s=97891799, size=1418655)
Total: 18994 ms
Total: 16772 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5286 ms (s=141176630, size=1418655)
Word count: 5408 ms (s=141176630, size=1418655)
Contains: 1728 ms (s=97891799, size=1418655)
Contains: 1808 ms (s=97891799, size=1418655)
Total: 7015 ms
Total: 7217 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3189 ms (s=141176630, size=1418655)
Word count: 2982 ms (s=141176630, size=1418655)
Contains: 2614 ms (s=97891799, size=1418655)
Contains: 2597 ms (s=97891799, size=1418655)
Total: 5804 ms
Total: 5579 ms
cfoa:
Word count: 3516 ms (s=141176630, size=1418655)
Word count: 3307 ms (s=141176630, size=1418655)
Contains: 1598 ms (s=97891799, size=1418655)
Contains: 1619 ms (s=97891799, size=1418655)
Total: 5115 ms
Total: 4927 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3065 ms (s=141176630, size=1418655)
Word count: 3023 ms (s=141176630, size=1418655)
Contains: 1613 ms (s=97891799, size=1418655)
Contains: 1602 ms (s=97891799, size=1418655)
Total: 4679 ms
Total: 4625 ms
cfoa, std::shared_mutex:
Word count: 3182 ms (s=141176630, size=1418655)
Word count: 3153 ms (s=141176630, size=1418655)
Contains: 1833 ms (s=97891799, size=1418655)
Contains: 1804 ms (s=97891799, size=1418655)
Total: 5016 ms
Total: 4957 ms
foa::concurrent_table:
Word count: 3435 ms (s=141176630, size=1418655)
Word count: 3222 ms (s=141176630, size=1418655)
Contains: 1494 ms (s=97891799, size=1418655)
Contains: 1442 ms (s=97891799, size=1418655)
Total: 4930 ms
Total: 4665 ms
tbb::concurrent_hash_map:
Word count: 5573 ms (s=141176630, size=1418655)
Word count: 5675 ms (s=141176630, size=1418655)
Contains: 1985 ms (s=97891799, size=1418655)
Contains: 1938 ms (s=97891799, size=1418655)
Total: 7558 ms
Total: 7613 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5096 ms (s=141176630, size=1418655)
Word count: 5148 ms (s=141176630, size=1418655)
Contains: 2660 ms (s=97891799, size=1418655)
Contains: 2620 ms (s=97891799, size=1418655)
Total: 7757 ms
Total: 7769 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 12781 ms (s=141176630, size=1418655)
Word count: 12189 ms (s=141176630, size=1418655)
Contains: 2166 ms (s=97891799, size=1418655)
Contains: 2239 ms (s=97891799, size=1418655)
Total: 14947 ms
Total: 14428 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6518 ms (s=141176630, size=1418655)
Word count: 7074 ms (s=141176630, size=1418655)
Contains: 3313 ms (s=97891799, size=1418655)
Contains: 3327 ms (s=97891799, size=1418655)
Total: 9831 ms
Total: 10402 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 7640 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11666 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9305 ms
cfoa, single threaded: 12702 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12393 ms
cfoa, std::shared_mutex, single threaded: 14231 ms
foa::concurrent_table, single threaded: 12113 ms
tbb::concurrent_hash_map, single threaded: 21833 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6442 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 18994 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7015 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5804 ms
cfoa: 5115 ms
cfoa, tbb::spin_rw_mutex: 4679 ms
cfoa, std::shared_mutex: 5016 ms
foa::concurrent_table: 4930 ms
tbb::concurrent_hash_map: 7558 ms
gtl::parallel_flat_hash_map<std::mutex>: 7757 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 14947 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9831 ms
boost::unordered_flat_map, single threaded: 7725 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11719 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9308 ms
cfoa, single threaded: 12680 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12416 ms
cfoa, std::shared_mutex, single threaded: 14397 ms
foa::concurrent_table, single threaded: 12090 ms
tbb::concurrent_hash_map, single threaded: 21872 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6555 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 16772 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7217 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5579 ms
cfoa: 4927 ms
cfoa, tbb::spin_rw_mutex: 4625 ms
cfoa, std::shared_mutex: 4957 ms
foa::concurrent_table: 4665 ms
tbb::concurrent_hash_map: 7613 ms
gtl::parallel_flat_hash_map<std::mutex>: 7769 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 14428 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10402 ms