updated benchmark results

This commit is contained in:
joaquintides
2023-03-14 11:26:40 -07:00
parent b8e86e21ea
commit b1e48a333a

View File

@@ -1,185 +1,185 @@
enwik9: 141176630 words, 32758 ms
enwik9: 141176630 words, 32430 ms
boost::unordered_flat_map, single threaded:
Word count: 3871 ms (s=141176630, size=1418655)
Word count: 3989 ms (s=141176630, size=1418655)
Contains: 2298 ms (s=97891799, size=1418655)
Contains: 2302 ms (s=97891799, size=1418655)
Total: 6170 ms
Total: 6291 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 5757 ms (s=141176630, size=1418655)
Word count: 5753 ms (s=141176630, size=1418655)
Contains: 4387 ms (s=97891799, size=1418655)
Contains: 4392 ms (s=97891799, size=1418655)
Total: 10145 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 3491 ms (s=141176630, size=1418655)
Word count: 3550 ms (s=141176630, size=1418655)
Contains: 2481 ms (s=97891799, size=1418655)
Contains: 2491 ms (s=97891799, size=1418655)
Total: 5972 ms
Total: 6041 ms
cfoa, single threaded:
Word count: 4434 ms (s=141176630, size=1418655)
Word count: 4429 ms (s=141176630, size=1418655)
Contains: 3132 ms (s=97891799, size=1418655)
Contains: 3116 ms (s=97891799, size=1418655)
Total: 7567 ms
Total: 7546 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 4393 ms (s=141176630, size=1418655)
Word count: 4365 ms (s=141176630, size=1418655)
Contains: 3179 ms (s=97891799, size=1418655)
Contains: 3202 ms (s=97891799, size=1418655)
Total: 7573 ms
Total: 7568 ms
cfoa, std::shared_mutex, single threaded:
Word count: 6422 ms (s=141176630, size=1418655)
Word count: 6425 ms (s=141176630, size=1418655)
Contains: 5200 ms (s=97891799, size=1418655)
Contains: 5189 ms (s=97891799, size=1418655)
Total: 11623 ms
Total: 11614 ms
foa::concurrent_table, single threaded:
Word count: 4274 ms (s=141176630, size=1418655)
Word count: 4308 ms (s=141176630, size=1418655)
Contains: 3141 ms (s=97891799, size=1418655)
Contains: 3128 ms (s=97891799, size=1418655)
Total: 7416 ms
Total: 7437 ms
tbb::concurrent_hash_map, single threaded:
Word count: 11914 ms (s=141176630, size=1418655)
Word count: 11800 ms (s=141176630, size=1418655)
Contains: 5545 ms (s=97891799, size=1418655)
Contains: 5517 ms (s=97891799, size=1418655)
Total: 17459 ms
Total: 17318 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 3369 ms (s=141176630, size=1418655)
Contains: 2219 ms (s=97891799, size=1418655)
Total: 5589 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 7891 ms (s=141176630, size=1418655)
Contains: 3436 ms (s=97891799, size=1418655)
Total: 11327 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 2116 ms (s=141176630, size=1418655)
Contains: 1307 ms (s=97891799, size=1418655)
Total: 3423 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 2317 ms (s=141176630, size=1418655)
Word count: 3119 ms (s=141176630, size=1418655)
Contains: 2139 ms (s=97891799, size=1418655)
Total: 4456 ms
Total: 5259 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 7902 ms (s=141176630, size=1418655)
Contains: 3351 ms (s=97891799, size=1418655)
Total: 11253 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 2103 ms (s=141176630, size=1418655)
Contains: 1296 ms (s=97891799, size=1418655)
Total: 3399 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 2365 ms (s=141176630, size=1418655)
Contains: 2135 ms (s=97891799, size=1418655)
Total: 4500 ms
cfoa:
Word count: 2359 ms (s=141176630, size=1418655)
Word count: 2257 ms (s=141176630, size=1418655)
Contains: 1430 ms (s=97891799, size=1418655)
Contains: 1575 ms (s=97891799, size=1418655)
Total: 3789 ms
Total: 3832 ms
cfoa, tbb::spin_rw_mutex:
Word count: 2226 ms (s=141176630, size=1418655)
Word count: 2274 ms (s=141176630, size=1418655)
Contains: 1458 ms (s=97891799, size=1418655)
Contains: 1474 ms (s=97891799, size=1418655)
Total: 3685 ms
Total: 3748 ms
cfoa, std::shared_mutex:
Word count: 2685 ms (s=141176630, size=1418655)
Word count: 2717 ms (s=141176630, size=1418655)
Contains: 1925 ms (s=97891799, size=1418655)
Contains: 1911 ms (s=97891799, size=1418655)
Total: 4611 ms
Total: 4629 ms
foa::concurrent_table:
Word count: 2235 ms (s=141176630, size=1418655)
Word count: 2247 ms (s=141176630, size=1418655)
Contains: 1414 ms (s=97891799, size=1418655)
Contains: 1433 ms (s=97891799, size=1418655)
Total: 3650 ms
Total: 3681 ms
tbb::concurrent_hash_map:
Word count: 3809 ms (s=141176630, size=1418655)
Word count: 3847 ms (s=141176630, size=1418655)
Contains: 1540 ms (s=97891799, size=1418655)
Contains: 1538 ms (s=97891799, size=1418655)
Total: 5350 ms
Total: 5386 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 3357 ms (s=141176630, size=1418655)
Word count: 3623 ms (s=141176630, size=1418655)
Contains: 2695 ms (s=97891799, size=1418655)
Contains: 2732 ms (s=97891799, size=1418655)
Total: 6053 ms
Total: 6356 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 7714 ms (s=141176630, size=1418655)
Word count: 7687 ms (s=141176630, size=1418655)
Contains: 3831 ms (s=97891799, size=1418655)
Contains: 3636 ms (s=97891799, size=1418655)
Total: 11545 ms
Total: 11324 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 2231 ms (s=141176630, size=1418655)
Word count: 2215 ms (s=141176630, size=1418655)
Contains: 1502 ms (s=97891799, size=1418655)
Contains: 1497 ms (s=97891799, size=1418655)
Total: 3733 ms
Total: 3713 ms
---
Number of threads: 8
boost::unordered_flat_map, single threaded: 6170 ms
boost::unordered_flat_map, single threaded: 6291 ms
boost::unordered_flat_map, single threaded, shared_mutex: 10145 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 5972 ms
cfoa, single threaded: 7567 ms
cfoa, tbb::spin_rw_mutex, single threaded: 7573 ms
cfoa, std::shared_mutex, single threaded: 11623 ms
foa::concurrent_table, single threaded: 7416 ms
tbb::concurrent_hash_map, single threaded: 17459 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 5589 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11327 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3423 ms
boost::unordered_flat_map, sharded isolated, prehashed: 4456 ms
cfoa: 3789 ms
cfoa, tbb::spin_rw_mutex: 3685 ms
cfoa, std::shared_mutex: 4611 ms
foa::concurrent_table: 3650 ms
tbb::concurrent_hash_map: 5350 ms
gtl::parallel_flat_hash_map<std::mutex>: 6053 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 11545 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 3733 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 6041 ms
cfoa, single threaded: 7546 ms
cfoa, tbb::spin_rw_mutex, single threaded: 7568 ms
cfoa, std::shared_mutex, single threaded: 11614 ms
foa::concurrent_table, single threaded: 7437 ms
tbb::concurrent_hash_map, single threaded: 17318 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 5259 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 11253 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 3399 ms
boost::unordered_flat_map, sharded isolated, prehashed: 4500 ms
cfoa: 3832 ms
cfoa, tbb::spin_rw_mutex: 3748 ms
cfoa, std::shared_mutex: 4629 ms
foa::concurrent_table: 3681 ms
tbb::concurrent_hash_map: 5386 ms
gtl::parallel_flat_hash_map<std::mutex>: 6356 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 11324 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 3713 ms