updated benchmark results

This commit is contained in:
joaquintides
2023-03-18 14:56:14 -04:00
parent 9ac4099c4b
commit 6d655e32d9

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 1611042
enwik9: 141176630 words, 58904 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 1651878
enwik9: 141176630 words, 58178 ms
boost::unordered_flat_map, single threaded:
Word count: 4520 ms (s=141176630, size=1418655)
Word count: 4490 ms (s=141176630, size=1418655)
Contains: 3280 ms (s=97891799, size=1418655)
Contains: 3159 ms (s=97891799, size=1418655)
Total: 7801 ms
Total: 7649 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7019 ms (s=141176630, size=1418655)
Word count: 6859 ms (s=141176630, size=1418655)
Contains: 4852 ms (s=97891799, size=1418655)
Contains: 4790 ms (s=97891799, size=1418655)
Total: 11871 ms
Total: 11650 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5583 ms (s=141176630, size=1418655)
Word count: 5545 ms (s=141176630, size=1418655)
Contains: 3785 ms (s=97891799, size=1418655)
Contains: 3755 ms (s=97891799, size=1418655)
Total: 9369 ms
Total: 9300 ms
cfoa, single threaded:
Word count: 7937 ms (s=141176630, size=1418655)
Word count: 7918 ms (s=141176630, size=1418655)
Contains: 4708 ms (s=97891799, size=1418655)
Contains: 4795 ms (s=97891799, size=1418655)
Total: 12646 ms
Total: 12714 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7732 ms (s=141176630, size=1418655)
Word count: 7675 ms (s=141176630, size=1418655)
Contains: 4779 ms (s=97891799, size=1418655)
Contains: 4796 ms (s=97891799, size=1418655)
Total: 12511 ms
Total: 12471 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8591 ms (s=141176630, size=1418655)
Word count: 8528 ms (s=141176630, size=1418655)
Contains: 5676 ms (s=97891799, size=1418655)
Contains: 5687 ms (s=97891799, size=1418655)
Total: 14268 ms
Total: 14215 ms
foa::concurrent_table, single threaded:
Word count: 7502 ms (s=141176630, size=1418655)
Word count: 7490 ms (s=141176630, size=1418655)
Contains: 4678 ms (s=97891799, size=1418655)
Contains: 4696 ms (s=97891799, size=1418655)
Total: 12180 ms
Total: 12187 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13996 ms (s=141176630, size=1418655)
Word count: 13896 ms (s=141176630, size=1418655)
Contains: 8165 ms (s=97891799, size=1418655)
Contains: 7991 ms (s=97891799, size=1418655)
Total: 22161 ms
Total: 21888 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4165 ms (s=141176630, size=1418655)
Word count: 4092 ms (s=141176630, size=1418655)
Contains: 2392 ms (s=97891799, size=1418655)
Contains: 2357 ms (s=97891799, size=1418655)
Total: 6557 ms
Total: 6450 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 11806 ms (s=141176630, size=1418655)
Word count: 16724 ms (s=141176630, size=1418655)
Contains: 2083 ms (s=97891799, size=1418655)
Contains: 2051 ms (s=97891799, size=1418655)
Total: 13890 ms
Total: 18775 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5557 ms (s=141176630, size=1418655)
Word count: 5412 ms (s=141176630, size=1418655)
Contains: 1752 ms (s=97891799, size=1418655)
Contains: 1712 ms (s=97891799, size=1418655)
Total: 7310 ms
Total: 7125 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3025 ms (s=141176630, size=1418655)
Word count: 3017 ms (s=141176630, size=1418655)
Contains: 2747 ms (s=97891799, size=1418655)
Contains: 2637 ms (s=97891799, size=1418655)
Total: 5773 ms
Total: 5655 ms
cfoa:
Word count: 3216 ms (s=141176630, size=1418655)
Word count: 3010 ms (s=141176630, size=1418655)
Contains: 1596 ms (s=97891799, size=1418655)
Contains: 1629 ms (s=97891799, size=1418655)
Total: 4812 ms
Total: 4639 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3148 ms (s=141176630, size=1418655)
Word count: 3187 ms (s=141176630, size=1418655)
Contains: 1608 ms (s=97891799, size=1418655)
Contains: 1611 ms (s=97891799, size=1418655)
Total: 4756 ms
Total: 4798 ms
cfoa, std::shared_mutex:
Word count: 3153 ms (s=141176630, size=1418655)
Word count: 2946 ms (s=141176630, size=1418655)
Contains: 1809 ms (s=97891799, size=1418655)
Contains: 1782 ms (s=97891799, size=1418655)
Total: 4963 ms
Total: 4729 ms
foa::concurrent_table:
Word count: 3047 ms (s=141176630, size=1418655)
Word count: 2947 ms (s=141176630, size=1418655)
Contains: 1417 ms (s=97891799, size=1418655)
Contains: 1449 ms (s=97891799, size=1418655)
Total: 4464 ms
Total: 4397 ms
tbb::concurrent_hash_map:
Word count: 5658 ms (s=141176630, size=1418655)
Word count: 5578 ms (s=141176630, size=1418655)
Contains: 2031 ms (s=97891799, size=1418655)
Contains: 1917 ms (s=97891799, size=1418655)
Total: 7689 ms
Total: 7495 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5095 ms (s=141176630, size=1418655)
Word count: 5033 ms (s=141176630, size=1418655)
Contains: 2792 ms (s=97891799, size=1418655)
Contains: 2687 ms (s=97891799, size=1418655)
Total: 7887 ms
Total: 7720 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 11516 ms (s=141176630, size=1418655)
Word count: 19926 ms (s=141176630, size=1418655)
Contains: 2246 ms (s=97891799, size=1418655)
Contains: 2166 ms (s=97891799, size=1418655)
Total: 13763 ms
Total: 22093 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6271 ms (s=141176630, size=1418655)
Word count: 6544 ms (s=141176630, size=1418655)
Contains: 3059 ms (s=97891799, size=1418655)
Contains: 2878 ms (s=97891799, size=1418655)
Total: 9331 ms
Total: 9423 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 7801 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11871 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9369 ms
cfoa, single threaded: 12646 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12511 ms
cfoa, std::shared_mutex, single threaded: 14268 ms
foa::concurrent_table, single threaded: 12180 ms
tbb::concurrent_hash_map, single threaded: 22161 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6557 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 13890 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7310 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5773 ms
cfoa: 4812 ms
cfoa, tbb::spin_rw_mutex: 4756 ms
cfoa, std::shared_mutex: 4963 ms
foa::concurrent_table: 4464 ms
tbb::concurrent_hash_map: 7689 ms
gtl::parallel_flat_hash_map<std::mutex>: 7887 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 13763 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9331 ms
boost::unordered_flat_map, single threaded: 7649 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11650 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9300 ms
cfoa, single threaded: 12714 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12471 ms
cfoa, std::shared_mutex, single threaded: 14215 ms
foa::concurrent_table, single threaded: 12187 ms
tbb::concurrent_hash_map, single threaded: 21888 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6450 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 18775 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7125 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5655 ms
cfoa: 4639 ms
cfoa, tbb::spin_rw_mutex: 4798 ms
cfoa, std::shared_mutex: 4729 ms
foa::concurrent_table: 4397 ms
tbb::concurrent_hash_map: 7495 ms
gtl::parallel_flat_hash_map<std::mutex>: 7720 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 22093 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9423 ms