updated benchmark results

This commit is contained in:
joaquintides
2023-03-14 04:22:05 -04:00
parent e002a44f27
commit ec7dca8264

View File

@@ -1,186 +1,186 @@
cset: --> last message, executed args into cpuset "/user", new pid is: 573076
enwik9: 141176630 words, 59769 ms
cset: --> last message, executed args into cpuset "/user", new pid is: 645779
enwik9: 141176630 words, 58884 ms
boost::unordered_flat_map, single threaded:
Word count: 4471 ms (s=141176630, size=1418655)
Contains: 3251 ms (s=97891799, size=1418655)
Total: 7722 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 6794 ms (s=141176630, size=1418655)
Contains: 4815 ms (s=97891799, size=1418655)
Total: 11610 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5528 ms (s=141176630, size=1418655)
Contains: 3771 ms (s=97891799, size=1418655)
Total: 9299 ms
cfoa, single threaded:
Word count: 8042 ms (s=141176630, size=1418655)
Contains: 4881 ms (s=97891799, size=1418655)
Total: 12923 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7837 ms (s=141176630, size=1418655)
Contains: 4855 ms (s=97891799, size=1418655)
Total: 12693 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8638 ms (s=141176630, size=1418655)
Contains: 5797 ms (s=97891799, size=1418655)
Total: 14435 ms
foa::concurrent_table, single threaded:
Word count: 7533 ms (s=141176630, size=1418655)
Contains: 4789 ms (s=97891799, size=1418655)
Total: 12322 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13844 ms (s=141176630, size=1418655)
Contains: 8086 ms (s=97891799, size=1418655)
Total: 21930 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4173 ms (s=141176630, size=1418655)
Contains: 2441 ms (s=97891799, size=1418655)
Total: 6614 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 18066 ms (s=141176630, size=1418655)
Contains: 2046 ms (s=97891799, size=1418655)
Total: 20113 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5328 ms (s=141176630, size=1418655)
Contains: 1742 ms (s=97891799, size=1418655)
Total: 7070 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3203 ms (s=141176630, size=1418655)
Contains: 3003 ms (s=97891799, size=1418655)
Total: 6206 ms
cfoa:
Word count: 2923 ms (s=141176630, size=1418655)
Contains: 1477 ms (s=97891799, size=1418655)
Total: 4401 ms
cfoa, tbb::spin_rw_mutex:
Word count: 2963 ms (s=141176630, size=1418655)
Contains: 1444 ms (s=97891799, size=1418655)
Total: 4407 ms
cfoa, std::shared_mutex:
Word count: 2879 ms (s=141176630, size=1418655)
Contains: 1727 ms (s=97891799, size=1418655)
Total: 4606 ms
foa::concurrent_table:
Word count: 3004 ms (s=141176630, size=1418655)
Contains: 1619 ms (s=97891799, size=1418655)
Total: 4623 ms
tbb::concurrent_hash_map:
Word count: 5608 ms (s=141176630, size=1418655)
Contains: 1982 ms (s=97891799, size=1418655)
Total: 7590 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5117 ms (s=141176630, size=1418655)
Contains: 2629 ms (s=97891799, size=1418655)
Total: 7746 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 15350 ms (s=141176630, size=1418655)
Contains: 2179 ms (s=97891799, size=1418655)
Total: 17530 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6597 ms (s=141176630, size=1418655)
Word count: 4477 ms (s=141176630, size=1418655)
Contains: 3256 ms (s=97891799, size=1418655)
Total: 9853 ms
Total: 7733 ms
boost::unordered_flat_map, single threaded, shared_mutex:
Word count: 6836 ms (s=141176630, size=1418655)
Contains: 4835 ms (s=97891799, size=1418655)
Total: 11672 ms
boost::unordered_flat_map, single threaded, rw_spinlock:
Word count: 5507 ms (s=141176630, size=1418655)
Contains: 3732 ms (s=97891799, size=1418655)
Total: 9240 ms
cfoa, single threaded:
Word count: 7885 ms (s=141176630, size=1418655)
Contains: 4768 ms (s=97891799, size=1418655)
Total: 12653 ms
cfoa, tbb::spin_rw_mutex, single threaded:
Word count: 7645 ms (s=141176630, size=1418655)
Contains: 4801 ms (s=97891799, size=1418655)
Total: 12447 ms
cfoa, std::shared_mutex, single threaded:
Word count: 8519 ms (s=141176630, size=1418655)
Contains: 5698 ms (s=97891799, size=1418655)
Total: 14218 ms
foa::concurrent_table, single threaded:
Word count: 7525 ms (s=141176630, size=1418655)
Contains: 4784 ms (s=97891799, size=1418655)
Total: 12310 ms
tbb::concurrent_hash_map, single threaded:
Word count: 13782 ms (s=141176630, size=1418655)
Contains: 8042 ms (s=97891799, size=1418655)
Total: 21824 ms
boost::unordered_flat_map, sharded_prehashed<mutex>:
Word count: 4191 ms (s=141176630, size=1418655)
Contains: 2323 ms (s=97891799, size=1418655)
Total: 6514 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>:
Word count: 18434 ms (s=141176630, size=1418655)
Contains: 2112 ms (s=97891799, size=1418655)
Total: 20547 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>:
Word count: 5654 ms (s=141176630, size=1418655)
Contains: 1770 ms (s=97891799, size=1418655)
Total: 7425 ms
boost::unordered_flat_map, sharded isolated, prehashed:
Word count: 3325 ms (s=141176630, size=1418655)
Contains: 3075 ms (s=97891799, size=1418655)
Total: 6400 ms
cfoa:
Word count: 3333 ms (s=141176630, size=1418655)
Contains: 1649 ms (s=97891799, size=1418655)
Total: 4983 ms
cfoa, tbb::spin_rw_mutex:
Word count: 2795 ms (s=141176630, size=1418655)
Contains: 1684 ms (s=97891799, size=1418655)
Total: 4480 ms
cfoa, std::shared_mutex:
Word count: 3049 ms (s=141176630, size=1418655)
Contains: 1786 ms (s=97891799, size=1418655)
Total: 4836 ms
foa::concurrent_table:
Word count: 3376 ms (s=141176630, size=1418655)
Contains: 1592 ms (s=97891799, size=1418655)
Total: 4969 ms
tbb::concurrent_hash_map:
Word count: 5613 ms (s=141176630, size=1418655)
Contains: 1953 ms (s=97891799, size=1418655)
Total: 7567 ms
gtl::parallel_flat_hash_map<std::mutex>:
Word count: 5104 ms (s=141176630, size=1418655)
Contains: 2690 ms (s=97891799, size=1418655)
Total: 7794 ms
gtl::parallel_flat_hash_map<std::shared_mutex>:
Word count: 15251 ms (s=141176630, size=1418655)
Contains: 2143 ms (s=97891799, size=1418655)
Total: 17395 ms
gtl::parallel_flat_hash_map<rw_spinlock>:
Word count: 6864 ms (s=141176630, size=1418655)
Contains: 3869 ms (s=97891799, size=1418655)
Total: 10733 ms
---
Number of threads: 16
boost::unordered_flat_map, single threaded: 7722 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11610 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9299 ms
cfoa, single threaded: 12923 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12693 ms
cfoa, std::shared_mutex, single threaded: 14435 ms
foa::concurrent_table, single threaded: 12322 ms
tbb::concurrent_hash_map, single threaded: 21930 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6614 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 20113 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7070 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6206 ms
cfoa: 4401 ms
cfoa, tbb::spin_rw_mutex: 4407 ms
cfoa, std::shared_mutex: 4606 ms
foa::concurrent_table: 4623 ms
tbb::concurrent_hash_map: 7590 ms
gtl::parallel_flat_hash_map<std::mutex>: 7746 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 17530 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 9853 ms
boost::unordered_flat_map, single threaded: 7733 ms
boost::unordered_flat_map, single threaded, shared_mutex: 11672 ms
boost::unordered_flat_map, single threaded, rw_spinlock: 9240 ms
cfoa, single threaded: 12653 ms
cfoa, tbb::spin_rw_mutex, single threaded: 12447 ms
cfoa, std::shared_mutex, single threaded: 14218 ms
foa::concurrent_table, single threaded: 12310 ms
tbb::concurrent_hash_map, single threaded: 21824 ms
boost::unordered_flat_map, sharded_prehashed<mutex>: 6514 ms
boost::unordered_flat_map, sharded_prehashed<shared_mutex>: 20547 ms
boost::unordered_flat_map, sharded_prehashed<rw_spinlock>: 7425 ms
boost::unordered_flat_map, sharded isolated, prehashed: 6400 ms
cfoa: 4983 ms
cfoa, tbb::spin_rw_mutex: 4480 ms
cfoa, std::shared_mutex: 4836 ms
foa::concurrent_table: 4969 ms
tbb::concurrent_hash_map: 7567 ms
gtl::parallel_flat_hash_map<std::mutex>: 7794 ms
gtl::parallel_flat_hash_map<std::shared_mutex>: 17395 ms
gtl::parallel_flat_hash_map<rw_spinlock>: 10733 ms