updated benchmark results

This commit is contained in:
joaquintides
2023-01-20 07:59:08 -05:00
parent 40b8ebf33b
commit 8bac443cf9

View File

@@ -1,168 +1,168 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 588675
enwik9: 141176630 words, 58465 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 621230
enwik9: 141176630 words, 57566 ms
boost::unordered_flat_map, single threaded:
Word count: 4961 ms (s=141176630, size=1418655)
Word count: 4971 ms (s=141176630, size=1418655)
Contains: 3609 ms (s=97891799, size=1418655)
Contains: 3604 ms (s=97891799, size=1418655)
Total: 8571 ms
Total: 8575 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7370 ms (s=141176630, size=1418655)
Word count: 7383 ms (s=141176630, size=1418655)
Contains: 5200 ms (s=97891799, size=1418655)
Contains: 5204 ms (s=97891799, size=1418655)
Total: 12571 ms
Total: 12588 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5472 ms (s=141176630, size=1418655)
Word count: 5465 ms (s=141176630, size=1418655)
Contains: 4003 ms (s=97891799, size=1418655)
Contains: 4011 ms (s=97891799, size=1418655)
Total: 9476 ms
concurrent_foa, single threaded:
Word count: 8285 ms (s=141176630, size=1418655)
Word count: 7870 ms (s=141176630, size=1418655)
Contains: 4963 ms (s=97891799, size=1418655)
Contains: 4927 ms (s=97891799, size=1418655)
Total: 13249 ms
Total: 12797 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded:
Word count: 8280 ms (s=141176630, size=1418655)
Word count: 7894 ms (s=141176630, size=1418655)
Contains: 5125 ms (s=97891799, size=1418655)
Contains: 5097 ms (s=97891799, size=1418655)
Total: 13405 ms
Total: 12992 ms
concurrent_foa, std::shared_mutex, single threaded:
Word count: 10419 ms (s=141176630, size=1418655)
Word count: 8790 ms (s=141176630, size=1418655)
Contains: 6060 ms (s=97891799, size=1418655)
Contains: 6069 ms (s=97891799, size=1418655)
Total: 16479 ms
Total: 14859 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14452 ms (s=141176630, size=1418655)
Word count: 14406 ms (s=141176630, size=1418655)
Contains: 8344 ms (s=97891799, size=1418655)
Contains: 8338 ms (s=97891799, size=1418655)
Total: 22797 ms
Total: 22744 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4291 ms (s=141176630, size=1418655)
Word count: 4326 ms (s=141176630, size=1418655)
Contains: 2421 ms (s=97891799, size=1418655)
Contains: 2435 ms (s=97891799, size=1418655)
Total: 6713 ms
Total: 6761 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 15482 ms (s=141176630, size=1418655)
Word count: 9668 ms (s=141176630, size=1418655)
Contains: 2150 ms (s=97891799, size=1418655)
Contains: 2169 ms (s=97891799, size=1418655)
Total: 17633 ms
Total: 11837 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5230 ms (s=141176630, size=1418655)
Word count: 5394 ms (s=141176630, size=1418655)
Contains: 1777 ms (s=97891799, size=1418655)
Contains: 1774 ms (s=97891799, size=1418655)
Total: 7008 ms
Total: 7169 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3876 ms (s=141176630, size=1418655)
Word count: 3989 ms (s=141176630, size=1418655)
Contains: 3634 ms (s=97891799, size=1418655)
Contains: 3628 ms (s=97891799, size=1418655)
Total: 7510 ms
Total: 7618 ms
concurrent foa:
Word count: 2999 ms (s=141176630, size=1418655)
Word count: 3055 ms (s=141176630, size=1418655)
Contains: 1628 ms (s=97891799, size=1418655)
Contains: 1650 ms (s=97891799, size=1418655)
Total: 4628 ms
Total: 4706 ms
concurrent foa, tbb::spin_rw_mutex:
Word count: 3407 ms (s=141176630, size=1418655)
Word count: 2978 ms (s=141176630, size=1418655)
Contains: 1639 ms (s=97891799, size=1418655)
Contains: 1627 ms (s=97891799, size=1418655)
Total: 5046 ms
Total: 4606 ms
concurrent foa, std::shared_mutex:
Word count: 3264 ms (s=141176630, size=1418655)
Word count: 3154 ms (s=141176630, size=1418655)
Contains: 1822 ms (s=97891799, size=1418655)
Contains: 1795 ms (s=97891799, size=1418655)
Total: 5087 ms
Total: 4949 ms
tbb::concurrent_hash_map:
Word count: 5509 ms (s=141176630, size=1418655)
Word count: 5575 ms (s=141176630, size=1418655)
Contains: 1989 ms (s=97891799, size=1418655)
Contains: 2021 ms (s=97891799, size=1418655)
Total: 7498 ms
Total: 7597 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 4376 ms (s=141176630, size=1418655)
Word count: 4354 ms (s=141176630, size=1418655)
Contains: 2441 ms (s=97891799, size=1418655)
Contains: 2409 ms (s=97891799, size=1418655)
Total: 6818 ms
Total: 6763 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 25574 ms (s=141176630, size=1418655)
Word count: 25559 ms (s=141176630, size=1418655)
Contains: 2350 ms (s=97891799, size=1418655)
Contains: 2399 ms (s=97891799, size=1418655)
Total: 27924 ms
Total: 27958 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7733 ms (s=141176630, size=1418655)
Word count: 7072 ms (s=141176630, size=1418655)
Contains: 2865 ms (s=97891799, size=1418655)
Contains: 2732 ms (s=97891799, size=1418655)
Total: 10598 ms
Total: 9805 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 8571 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12571 ms
boost::unordered_flat_map, single threaded: 8575 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12588 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9476 ms
concurrent_foa, single threaded: 13249 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 13405 ms
concurrent_foa, std::shared_mutex, single threaded: 16479 ms
tbb::concurrent_hash_map, single threaded: 22797 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6713 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 17633 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7008 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7510 ms
concurrent foa: 4628 ms
concurrent foa, tbb::spin_rw_mutex: 5046 ms
concurrent foa, std::shared_mutex: 5087 ms
tbb::concurrent_hash_map: 7498 ms
gtl::parallel_flat_hash_map<std::mutex>: 6818 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 27924 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10598 ms
concurrent_foa, single threaded: 12797 ms
concurrent_foa, tbb::spin_rw_mutex, single threaded: 12992 ms
concurrent_foa, std::shared_mutex, single threaded: 14859 ms
tbb::concurrent_hash_map, single threaded: 22744 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6761 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11837 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7169 ms
boost::unordered_flat_map, sharded isolated, prehashed: 7618 ms
concurrent foa: 4706 ms
concurrent foa, tbb::spin_rw_mutex: 4606 ms
concurrent foa, std::shared_mutex: 4949 ms
tbb::concurrent_hash_map: 7597 ms
gtl::parallel_flat_hash_map<std::mutex>: 6763 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 27958 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9805 ms