updated benchmark results

This commit is contained in:
joaquintides
2023-03-27 04:39:15 -04:00
parent 0060ed1ce7
commit a5caa92c07

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 2715542
enwik9: 141176630 words, 59397 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 2871793
enwik9: 141176630 words, 58794 ms
boost::unordered_flat_map, single threaded:
Word count: 5158 ms (s=141176630, size=1418655)
Word count: 5210 ms (s=141176630, size=1418655)
Contains: 4047 ms (s=97891799, size=1418655)
Contains: 4041 ms (s=97891799, size=1418655)
Total: 9206 ms
Total: 9251 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 7347 ms (s=141176630, size=1418655)
Word count: 7390 ms (s=141176630, size=1418655)
Contains: 5515 ms (s=97891799, size=1418655)
Contains: 5472 ms (s=97891799, size=1418655)
Total: 12862 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5740 ms (s=141176630, size=1418655)
Word count: 5809 ms (s=141176630, size=1418655)
Contains: 4436 ms (s=97891799, size=1418655)
Contains: 4445 ms (s=97891799, size=1418655)
Total: 10177 ms
Total: 10255 ms
cfoa, single threaded:
Word count: 7254 ms (s=141176630, size=1418655)
Word count: 6975 ms (s=141176630, size=1418655)
Contains: 5345 ms (s=97891799, size=1418655)
Contains: 5185 ms (s=97891799, size=1418655)
Total: 12599 ms
Total: 12161 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7266 ms (s=141176630, size=1418655)
Word count: 6995 ms (s=141176630, size=1418655)
Contains: 5369 ms (s=97891799, size=1418655)
Contains: 5126 ms (s=97891799, size=1418655)
Total: 12635 ms
Total: 12122 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8282 ms (s=141176630, size=1418655)
Word count: 8157 ms (s=141176630, size=1418655)
Contains: 6209 ms (s=97891799, size=1418655)
Contains: 6183 ms (s=97891799, size=1418655)
Total: 14492 ms
Total: 14341 ms
foa::concurrent_table, single threaded:
Word count: 6905 ms (s=141176630, size=1418655)
Word count: 6940 ms (s=141176630, size=1418655)
Contains: 5264 ms (s=97891799, size=1418655)
Contains: 5299 ms (s=97891799, size=1418655)
Total: 12169 ms
Total: 12240 ms
tbb::concurrent_hash_map, single threaded:
Word count: 14664 ms (s=141176630, size=1418655)
Word count: 14721 ms (s=141176630, size=1418655)
Contains: 8555 ms (s=97891799, size=1418655)
Contains: 8335 ms (s=97891799, size=1418655)
Total: 23219 ms
Total: 23057 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 3827 ms (s=141176630, size=1418655)
Word count: 3863 ms (s=141176630, size=1418655)
Contains: 2404 ms (s=97891799, size=1418655)
Contains: 2310 ms (s=97891799, size=1418655)
Total: 6232 ms
Total: 6174 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 15476 ms (s=141176630, size=1418655)
Word count: 10967 ms (s=141176630, size=1418655)
Contains: 2238 ms (s=97891799, size=1418655)
Contains: 2230 ms (s=97891799, size=1418655)
Total: 17715 ms
Total: 13197 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5023 ms (s=141176630, size=1418655)
Word count: 5322 ms (s=141176630, size=1418655)
Contains: 1730 ms (s=97891799, size=1418655)
Contains: 1777 ms (s=97891799, size=1418655)
Total: 6753 ms
Total: 7099 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3520 ms (s=141176630, size=1418655)
Word count: 3350 ms (s=141176630, size=1418655)
Contains: 3253 ms (s=97891799, size=1418655)
Contains: 2886 ms (s=97891799, size=1418655)
Total: 6773 ms
Total: 6237 ms
cfoa:
Word count: 3317 ms (s=141176630, size=1418655)
Word count: 4372 ms (s=141176630, size=1418655)
Contains: 1644 ms (s=97891799, size=1418655)
Contains: 2193 ms (s=97891799, size=1418655)
Total: 4962 ms
Total: 6566 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3282 ms (s=141176630, size=1418655)
Word count: 4002 ms (s=141176630, size=1418655)
Contains: 1684 ms (s=97891799, size=1418655)
Contains: 2404 ms (s=97891799, size=1418655)
Total: 4966 ms
Total: 6407 ms
cfoa, std::shared_mutex:
Word count: 3245 ms (s=141176630, size=1418655)
Word count: 3762 ms (s=141176630, size=1418655)
Contains: 1949 ms (s=97891799, size=1418655)
Contains: 2267 ms (s=97891799, size=1418655)
Total: 5195 ms
Total: 6029 ms
foa::concurrent_table:
Word count: 3769 ms (s=141176630, size=1418655)
Word count: 4147 ms (s=141176630, size=1418655)
Contains: 1496 ms (s=97891799, size=1418655)
Contains: 1519 ms (s=97891799, size=1418655)
Total: 5266 ms
Total: 5666 ms
tbb::concurrent_hash_map:
Word count: 5656 ms (s=141176630, size=1418655)
Word count: 5503 ms (s=141176630, size=1418655)
Contains: 2012 ms (s=97891799, size=1418655)
Contains: 1978 ms (s=97891799, size=1418655)
Total: 7669 ms
Total: 7482 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5347 ms (s=141176630, size=1418655)
Word count: 5286 ms (s=141176630, size=1418655)
Contains: 2779 ms (s=97891799, size=1418655)
Contains: 2766 ms (s=97891799, size=1418655)
Total: 8127 ms
Total: 8053 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 11837 ms (s=141176630, size=1418655)
Word count: 15737 ms (s=141176630, size=1418655)
Contains: 2983 ms (s=97891799, size=1418655)
Contains: 2996 ms (s=97891799, size=1418655)
Total: 14821 ms
Total: 18734 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 7718 ms (s=141176630, size=1418655)
Word count: 7735 ms (s=141176630, size=1418655)
Contains: 4242 ms (s=97891799, size=1418655)
Contains: 4076 ms (s=97891799, size=1418655)
Total: 11961 ms
Total: 11812 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 9206 ms
boost::unordered_flat_map, single threaded: 9251 ms
boost::unordered_flat_map, single threaded, shared_mutex: 12862 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10177 ms
cfoa, single threaded: 12599 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12635 ms
cfoa, std::shared_mutex, single threaded: 14492 ms
foa::concurrent_table, single threaded: 12169 ms
tbb::concurrent_hash_map, single threaded: 23219 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6232 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 17715 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 6753 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6773 ms
cfoa: 4962 ms
cfoa, tbb::spin_rw_mutex: 4966 ms
cfoa, std::shared_mutex: 5195 ms
foa::concurrent_table: 5266 ms
tbb::concurrent_hash_map: 7669 ms
gtl::parallel_flat_hash_map<std::mutex>: 8127 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 14821 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11961 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 10255 ms
cfoa, single threaded: 12161 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12122 ms
cfoa, std::shared_mutex, single threaded: 14341 ms
foa::concurrent_table, single threaded: 12240 ms
tbb::concurrent_hash_map, single threaded: 23057 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6174 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 13197 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7099 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6237 ms
cfoa: 6566 ms
cfoa, tbb::spin_rw_mutex: 6407 ms
cfoa, std::shared_mutex: 6029 ms
foa::concurrent_table: 5666 ms
tbb::concurrent_hash_map: 7482 ms
gtl::parallel_flat_hash_map<std::mutex>: 8053 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 18734 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 11812 ms