updated benchmark results

This commit is contained in:
joaquintides
2023-03-14 04:45:39 -04:00
parent c9633963eb
commit eea2e0ce1f

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 630045
enwik9: 141176630 words, 59388 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 670422
enwik9: 141176630 words, 59441 ms
boost::unordered_flat_map, single threaded:
Word count: 5216 ms (s=141176630, size=1418655)
Word count: 5218 ms (s=141176630, size=1418655)
Contains: 4016 ms (s=97891799, size=1418655)
Contains: 4022 ms (s=97891799, size=1418655)
Total: 9232 ms
Total: 9241 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7404 ms (s=141176630, size=1418655)
Word count: 7406 ms (s=141176630, size=1418655)
Contains: 5434 ms (s=97891799, size=1418655)
Contains: 5451 ms (s=97891799, size=1418655)
Total: 12839 ms
Total: 12857 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5830 ms (s=141176630, size=1418655)
Word count: 5820 ms (s=141176630, size=1418655)
Contains: 4434 ms (s=97891799, size=1418655)
Contains: 4432 ms (s=97891799, size=1418655)
Total: 10264 ms
Total: 10253 ms
cfoa, single threaded:
Word count: 7308 ms (s=141176630, size=1418655)
Word count: 7299 ms (s=141176630, size=1418655)
Contains: 5346 ms (s=97891799, size=1418655)
Contains: 5362 ms (s=97891799, size=1418655)
Total: 12655 ms
Total: 12662 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7303 ms (s=141176630, size=1418655)
Word count: 7316 ms (s=141176630, size=1418655)
Contains: 5385 ms (s=97891799, size=1418655)
Contains: 5374 ms (s=97891799, size=1418655)
Total: 12689 ms
Total: 12691 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8380 ms (s=141176630, size=1418655)
Word count: 8381 ms (s=141176630, size=1418655)
Contains: 6155 ms (s=97891799, size=1418655)
Contains: 6144 ms (s=97891799, size=1418655)
Total: 14536 ms
Total: 14526 ms
foa::concurrent_table, single threaded:
Word count: 7289 ms (s=141176630, size=1418655)
Word count: 7291 ms (s=141176630, size=1418655)
Contains: 5353 ms (s=97891799, size=1418655)
Contains: 5356 ms (s=97891799, size=1418655)
Total: 12642 ms
Total: 12647 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14765 ms (s=141176630, size=1418655)
Word count: 14764 ms (s=141176630, size=1418655)
Contains: 8547 ms (s=97891799, size=1418655)
Contains: 8523 ms (s=97891799, size=1418655)
Total: 23312 ms
Total: 23287 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 3874 ms (s=141176630, size=1418655)
Word count: 3865 ms (s=141176630, size=1418655)
Contains: 2391 ms (s=97891799, size=1418655)
Contains: 2318 ms (s=97891799, size=1418655)
Total: 6266 ms
Total: 6184 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 14741 ms (s=141176630, size=1418655)
Word count: 15506 ms (s=141176630, size=1418655)
Contains: 2195 ms (s=97891799, size=1418655)
Contains: 2217 ms (s=97891799, size=1418655)
Total: 16936 ms
Total: 17724 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 4950 ms (s=141176630, size=1418655)
Word count: 5251 ms (s=141176630, size=1418655)
Contains: 1783 ms (s=97891799, size=1418655)
Contains: 1835 ms (s=97891799, size=1418655)
Total: 6734 ms
Total: 7087 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3558 ms (s=141176630, size=1418655)
Word count: 3498 ms (s=141176630, size=1418655)
Contains: 3116 ms (s=97891799, size=1418655)
Contains: 3494 ms (s=97891799, size=1418655)
Total: 6674 ms
Total: 6993 ms
cfoa:
Word count: 3114 ms (s=141176630, size=1418655)
Contains: 1685 ms (s=97891799, size=1418655)
Total: 4799 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3153 ms (s=141176630, size=1418655)
Contains: 1643 ms (s=97891799, size=1418655)
Total: 4796 ms
cfoa, std::shared_mutex:
Word count: 3214 ms (s=141176630, size=1418655)
Contains: 1978 ms (s=97891799, size=1418655)
Total: 5192 ms
foa::concurrent_table:
Word count: 3461 ms (s=141176630, size=1418655)
Word count: 2901 ms (s=141176630, size=1418655)
Contains: 1646 ms (s=97891799, size=1418655)
Total: 5108 ms
Total: 4548 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3314 ms (s=141176630, size=1418655)
Contains: 1661 ms (s=97891799, size=1418655)
Total: 4976 ms
cfoa, std::shared_mutex:
Word count: 3186 ms (s=141176630, size=1418655)
Contains: 1911 ms (s=97891799, size=1418655)
Total: 5098 ms
foa::concurrent_table:
Word count: 3166 ms (s=141176630, size=1418655)
Contains: 1645 ms (s=97891799, size=1418655)
Total: 4812 ms
tbb::concurrent_hash_map:
Word count: 5561 ms (s=141176630, size=1418655)
Word count: 5520 ms (s=141176630, size=1418655)
Contains: 1989 ms (s=97891799, size=1418655)
Contains: 2012 ms (s=97891799, size=1418655)
Total: 7551 ms
Total: 7533 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5347 ms (s=141176630, size=1418655)
Word count: 5281 ms (s=141176630, size=1418655)
Contains: 2751 ms (s=97891799, size=1418655)
Contains: 2734 ms (s=97891799, size=1418655)
Total: 8099 ms
Total: 8016 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 17977 ms (s=141176630, size=1418655)
Word count: 19256 ms (s=141176630, size=1418655)
Contains: 2949 ms (s=97891799, size=1418655)
Contains: 2948 ms (s=97891799, size=1418655)
Total: 20927 ms
Total: 22204 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7907 ms (s=141176630, size=1418655)
Word count: 7663 ms (s=141176630, size=1418655)
Contains: 4362 ms (s=97891799, size=1418655)
Contains: 4525 ms (s=97891799, size=1418655)
Total: 12270 ms
Total: 12188 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 9232 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12839 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10264 ms
cfoa, single threaded: 12655 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12689 ms
cfoa, std::shared_mutex, single threaded: 14536 ms
foa::concurrent_table, single threaded: 12642 ms
tbb::concurrent_hash_map, single threaded: 23312 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6266 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 16936 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6734 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6674 ms
cfoa: 4799 ms
cfoa, tbb::spin_rw_mutex: 4796 ms
cfoa, std::shared_mutex: 5192 ms
foa::concurrent_table: 5108 ms
tbb::concurrent_hash_map: 7551 ms
gtl::parallel_flat_hash_map<std::mutex>: 8099 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 20927 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12270 ms
boost::unordered_flat_map, single threaded: 9241 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12857 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10253 ms
cfoa, single threaded: 12662 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12691 ms
cfoa, std::shared_mutex, single threaded: 14526 ms
foa::concurrent_table, single threaded: 12647 ms
tbb::concurrent_hash_map, single threaded: 23287 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6184 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 17724 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7087 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6993 ms
cfoa: 4548 ms
cfoa, tbb::spin_rw_mutex: 4976 ms
cfoa, std::shared_mutex: 5098 ms
foa::concurrent_table: 4812 ms
tbb::concurrent_hash_map: 7533 ms
gtl::parallel_flat_hash_map<std::mutex>: 8016 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 22204 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 12188 ms