updated benchmark results

This commit is contained in:
joaquintides
2023-03-25 08:05:31 -04:00
parent 9d040eef97
commit a277e0de2e

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 2578750
enwik9: 141176630 words, 57477 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 2680943
enwik9: 141176630 words, 59153 ms
boost::unordered_flat_map, single threaded:
Word count: 4492 ms (s=141176630, size=1418655)
Word count: 4494 ms (s=141176630, size=1418655)
Contains: 3189 ms (s=97891799, size=1418655)
Contains: 3256 ms (s=97891799, size=1418655)
Total: 7681 ms
Total: 7750 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 6865 ms (s=141176630, size=1418655)
Word count: 6843 ms (s=141176630, size=1418655)
Contains: 4824 ms (s=97891799, size=1418655)
Contains: 4851 ms (s=97891799, size=1418655)
Total: 11690 ms
Total: 11694 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5538 ms (s=141176630, size=1418655)
Word count: 5507 ms (s=141176630, size=1418655)
Contains: 3763 ms (s=97891799, size=1418655)
Contains: 3770 ms (s=97891799, size=1418655)
Total: 9302 ms
Total: 9277 ms
cfoa, single threaded:
Word count: 7885 ms (s=141176630, size=1418655)
Word count: 7903 ms (s=141176630, size=1418655)
Contains: 4766 ms (s=97891799, size=1418655)
Contains: 4794 ms (s=97891799, size=1418655)
Total: 12652 ms
Total: 12698 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7695 ms (s=141176630, size=1418655)
Word count: 7747 ms (s=141176630, size=1418655)
Contains: 4781 ms (s=97891799, size=1418655)
Contains: 4799 ms (s=97891799, size=1418655)
Total: 12476 ms
Total: 12547 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8664 ms (s=141176630, size=1418655)
Word count: 8809 ms (s=141176630, size=1418655)
Contains: 5699 ms (s=97891799, size=1418655)
Total: 14364 ms
Total: 14509 ms
foa::concurrent_table, single threaded:
Word count: 7324 ms (s=141176630, size=1418655)
Word count: 6810 ms (s=141176630, size=1418655)
Contains: 4644 ms (s=97891799, size=1418655)
Contains: 4676 ms (s=97891799, size=1418655)
Total: 11969 ms
Total: 11486 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13923 ms (s=141176630, size=1418655)
Word count: 13903 ms (s=141176630, size=1418655)
Contains: 8007 ms (s=97891799, size=1418655)
Contains: 8027 ms (s=97891799, size=1418655)
Total: 21931 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4112 ms (s=141176630, size=1418655)
Word count: 4103 ms (s=141176630, size=1418655)
Contains: 2337 ms (s=97891799, size=1418655)
Contains: 2378 ms (s=97891799, size=1418655)
Total: 6449 ms
Total: 6481 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 16712 ms (s=141176630, size=1418655)
Word count: 14143 ms (s=141176630, size=1418655)
Contains: 2060 ms (s=97891799, size=1418655)
Contains: 2077 ms (s=97891799, size=1418655)
Total: 18773 ms
Total: 16220 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5520 ms (s=141176630, size=1418655)
Word count: 5379 ms (s=141176630, size=1418655)
Contains: 1746 ms (s=97891799, size=1418655)
Contains: 1759 ms (s=97891799, size=1418655)
Total: 7266 ms
Total: 7139 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3154 ms (s=141176630, size=1418655)
Word count: 3043 ms (s=141176630, size=1418655)
Contains: 2928 ms (s=97891799, size=1418655)
Contains: 2785 ms (s=97891799, size=1418655)
Total: 6082 ms
Total: 5829 ms
cfoa:
Word count: 3192 ms (s=141176630, size=1418655)
Word count: 3164 ms (s=141176630, size=1418655)
Contains: 1612 ms (s=97891799, size=1418655)
Contains: 1577 ms (s=97891799, size=1418655)
Total: 4804 ms
Total: 4742 ms
cfoa, tbb::spin_rw_mutex:
Word count: 3061 ms (s=141176630, size=1418655)
Word count: 3231 ms (s=141176630, size=1418655)
Contains: 1591 ms (s=97891799, size=1418655)
Contains: 1586 ms (s=97891799, size=1418655)
Total: 4653 ms
Total: 4818 ms
cfoa, std::shared_mutex:
Word count: 3150 ms (s=141176630, size=1418655)
Word count: 3080 ms (s=141176630, size=1418655)
Contains: 1773 ms (s=97891799, size=1418655)
Contains: 1796 ms (s=97891799, size=1418655)
Total: 4923 ms
Total: 4876 ms
foa::concurrent_table:
Word count: 4217 ms (s=141176630, size=1418655)
Word count: 4375 ms (s=141176630, size=1418655)
Contains: 1443 ms (s=97891799, size=1418655)
Contains: 1445 ms (s=97891799, size=1418655)
Total: 5660 ms
Total: 5821 ms
tbb::concurrent_hash_map:
Word count: 5453 ms (s=141176630, size=1418655)
Word count: 5627 ms (s=141176630, size=1418655)
Contains: 1936 ms (s=97891799, size=1418655)
Contains: 1988 ms (s=97891799, size=1418655)
Total: 7390 ms
Total: 7616 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5046 ms (s=141176630, size=1418655)
Word count: 5127 ms (s=141176630, size=1418655)
Contains: 2676 ms (s=97891799, size=1418655)
Contains: 2635 ms (s=97891799, size=1418655)
Total: 7723 ms
Total: 7763 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 13341 ms (s=141176630, size=1418655)
Word count: 16878 ms (s=141176630, size=1418655)
Contains: 2178 ms (s=97891799, size=1418655)
Contains: 2230 ms (s=97891799, size=1418655)
Total: 15519 ms
Total: 19108 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6777 ms (s=141176630, size=1418655)
Word count: 6724 ms (s=141176630, size=1418655)
Contains: 2851 ms (s=97891799, size=1418655)
Contains: 3540 ms (s=97891799, size=1418655)
Total: 9629 ms
Total: 10264 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 7681 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11690 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9302 ms
cfoa, single threaded: 12652 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12476 ms
cfoa, std::shared_mutex, single threaded: 14364 ms
foa::concurrent_table, single threaded: 11969 ms
boost::unordered_flat_map, single threaded: 7750 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11694 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9277 ms
cfoa, single threaded: 12698 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12547 ms
cfoa, std::shared_mutex, single threaded: 14509 ms
foa::concurrent_table, single threaded: 11486 ms
tbb::concurrent_hash_map, single threaded: 21931 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6449 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 18773 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7266 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6082 ms
cfoa: 4804 ms
cfoa, tbb::spin_rw_mutex: 4653 ms
cfoa, std::shared_mutex: 4923 ms
foa::concurrent_table: 5660 ms
tbb::concurrent_hash_map: 7390 ms
gtl::parallel_flat_hash_map<std::mutex>: 7723 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 15519 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9629 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6481 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 16220 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7139 ms
boost::unordered_flat_map, sharded isolated, prehashed: 5829 ms
cfoa: 4742 ms
cfoa, tbb::spin_rw_mutex: 4818 ms
cfoa, std::shared_mutex: 4876 ms
foa::concurrent_table: 5821 ms
tbb::concurrent_hash_map: 7616 ms
gtl::parallel_flat_hash_map<std::mutex>: 7763 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 19108 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10264 ms