Commit Graph

14 Commits

Author SHA1 Message Date
Pavel Odintsov be8afbd1b7 Reformatted source code with clang-format 2020-05-23 19:55:10 +01:00
Pavel Odintsov b1b3fd829f Add tests for Google Sparsed Hash: https://github.com/FastVPSEestiOu/fastnetmon/wiki/Traffic-Counters-Structures-performance-evaluation 2015-07-26 10:15:21 +02:00
Pavel Odintsov 80541c8e3f Fix typo 2015-07-01 07:02:33 -04:00
Pavel Odintsov ffdcdb09cc Add boost::container::flat_map performance evaluation.
std::map: 0.8 mega ops per second
tbb::concurrent_unordered_map: 0.7 mega ops per second
boost::unordered_map: 0.9 mega ops per second
std::container::flat_map with preallocated elements: 1.0 mega ops per second
std::unordered_map C++11: 1.9 mega ops per second
std::unordered_map C++11 preallocated buckets: 2.8 mega ops per second
std::vector preallocated: 14.1 mega ops per second
2015-07-01 07:00:01 -04:00
Pavel Odintsov ad4bdf5800 Fix invalid instruction for clang with return statement; Revert pritnf for priting result 2015-06-15 03:34:17 -04:00
Pavel Odintsov b45a7b6b44 Add clang compilation code for perf tests; Replace printf by std::cout. 2015-06-15 02:45:50 -04:00
Pavel Odintsov 6f13047752 Use production structures in tets code 2015-06-14 17:07:56 -04:00
Pavel Odintsov 847c48d96c Fix performance test compatibility with MacOS 2015-06-12 15:03:39 +03:00
Pavel Odintsov 4c98ff5ca9 Fix broken format string. It kills clang :( 2015-05-31 14:20:56 -04:00
Pavel Odintsov 86bb7bd5d3 add boost unordered map 2015-05-31 14:05:05 -04:00
Pavel Odintsov 34680bcacd Enhance time calculation. Add preallocated unordered map from C++11 2015-05-31 13:46:38 -04:00
Pavel Odintsov 501aa45bee Enahance performance test for multy threaded mode 2015-05-31 07:28:53 -04:00
Pavel Odintsov a80f0b44f2 Complete code reformat with clang-format 2015-05-15 13:55:52 +03:00
Pavel Odintsov d8c2e4888b Move all code to src folder 2015-03-22 13:36:58 +03:00