$ benchmark/EASTLBenchmarks.exe -l10 Options -w Wait at end. -l:N Test level in range of [1, 10]. 10 means maximum testing. -s:N Specify a randomization seed. 0 is default and means use clock. -? Show help. Algorithm List String Vector vector/erase std counts: 0 2048 vector/erase EA counts: 0 2048 vector/erase std counts: 0 2048 vector/erase EA counts: 0 2048 Deque Set Map HashMap...Unsupported by the tested std STL. Heap (Priority Queue) Bitset Sort **************************************************************************************** EASTL Benchmark test results **************************************************************************************** EASTL version: 3.02.01 Platform: Windows on x64 Compiler: clang3.8.0 (tags/RELEASE_380/final) Allocator: PPMalloc::GeneralAllocator. Thread safety enabled. Build: Full optimization. Inlining enabled. Values are ticks and time to complete tests; smaller values are better. Test GCC (or emulated GCC) libstdc++ EASTL Ratio Difference? --------------------------------------------------------------------------------------------------------------------- algorithm/adj_find/vector | 394014 394.0 us | 363671 363.7 us | 1.08 algorithm/copy/vector | 202585 202.6 us | 201693 201.7 us | 1.00 algorithm/copy/vector | 4462 4.5 us | 4016 4.0 us | 1.11 algorithm/copy_backward/vector | 187860 187.9 us | 196784 196.8 us | 0.95 algorithm/copy_backward/vector | 2677 2.7 us | 2678 2.7 us | 1.00 algorithm/count/vector | 137883 137.9 us | 135651 135.7 us | 1.02 algorithm/equal_range/vector | 5558146 5.6 ms | 11219370 11.2 ms | 0.50 - algorithm/fill/bool[] | 4908 4.9 us | 4908 4.9 us | 1.00 algorithm/fill/char[]/'d' | 4462 4.5 us | 4462 4.5 us | 1.00 algorithm/fill/vector/'d' | 4909 4.9 us | 4908 4.9 us | 1.00 algorithm/fill/vector/0 | 4908 4.9 us | 4909 4.9 us | 1.00 algorithm/fill/vector | 36144 36.1 us | 28112 28.1 us | 1.29 algorithm/fill/vector | 53993 54.0 us | 54885 54.9 us | 0.98 algorithm/fill_n/bool[] | 4908 4.9 us | 4909 4.9 us | 1.00 algorithm/fill_n/char[] | 4908 4.9 us | 4909 4.9 us | 1.00 algorithm/fill_n/vector | 41053 41.1 us | 28558 28.6 us | 1.44 + algorithm/find_end/string/end | 10709 10.7 us | 20526 20.5 us | 0.52 - algorithm/find_end/string/middle | 84782 84.8 us | 180274 180.3 us | 0.47 - algorithm/find_end/string/none | 170903 170.9 us | 355193 355.2 us | 0.48 - algorithm/lex_cmp/schar[] | 76304 76.3 us | 12940 12.9 us | 5.90 + algorithm/lex_cmp/vector | 327974 328.0 us | 315479 315.5 us | 1.04 algorithm/lex_cmp/vector | 14279 14.3 us | 13833 13.8 us | 1.03 algorithm/lower_bound/vector | 10926647 10.9 ms | 10876671 10.9 ms | 1.00 algorithm/min_element/vector | 469872 469.9 us | 383305 383.3 us | 1.23 algorithm/rand_shuffle/vector | 2180242 2.2 ms | 2024511 2.0 ms | 1.08 algorithm/reverse/list | 50424 50.4 us | 48192 48.2 us | 1.05 algorithm/reverse/vector | 33467 33.5 us | 34359 34.4 us | 0.97 algorithm/rotate/list | 98616 98.6 us | 90583 90.6 us | 1.09 algorithm/rotate/list | 0 0.0 ns | 0 0.0 ns | nan algorithm/rotate/list large | 105754 105.8 us | 64256 64.3 us | 1.65 + algorithm/rotate/list small | 447 447.0 ns | 446 446.0 ns | 1.00 algorithm/rotate/slist large | 0 0.0 ns | 42391 42.4 us | 0.00 algorithm/rotate/vector> large | 38375 38.4 us | 36590 36.6 us | 1.05 algorithm/rotate/vector | 62471 62.5 us | 41498 41.5 us | 1.51 + algorithm/rotate/vector | 446 446.0 ns | 446 446.0 ns | 1.00 algorithm/rotate/vector | 8924 8.9 us | 20973 21.0 us | 0.43 - algorithm/rotate/vector | 0 0.0 ns | 0 0.0 ns | nan algorithm/search/string | 159301 159.3 us | 254793 254.8 us | 0.63 - algorithm/search_n/string | 176704 176.7 us | 85229 85.2 us | 2.07 + algorithm/unique/vector | 660409 660.4 us | 666210 666.2 us | 0.99 algorithm/unique/vector | 110663 110.7 us | 111110 111.1 us | 1.00 algorithm/unique/vector | 322173 322.2 us | 274873 274.9 us | 1.17 algorithm/upper_bound/vector | 4367178 4.4 ms | 4560839 4.6 ms | 0.96 bitset<1500>/>>=/1 | 2432804 2.4 ms | 892891 892.9 us | 2.72 + bitset<1500>/count | 10787873 10.8 ms | 4389043 4.4 ms | 2.46 + bitset<1500>/flip | 486829 486.8 us | 455593 455.6 us | 1.07 bitset<1500>/reset | 485044 485.0 us | 426142 426.1 us | 1.14 bitset<1500>/set() | 1101723 1.1 ms | 1105739 1.1 ms | 1.00 bitset<1500>/set(i) | 194106 194.1 us | 195446 195.4 us | 0.99 bitset<1500>/test | 226681 226.7 us | 227127 227.1 us | 1.00 bitset<15>/>>=/1 | 226235 226.2 us | 195891 195.9 us | 1.15 bitset<15>/count | 258809 258.8 us | 258809 258.8 us | 1.00 bitset<15>/flip | 226235 226.2 us | 226681 226.7 us | 1.00 bitset<15>/reset | 194107 194.1 us | 226681 226.7 us | 0.86 bitset<15>/set() | 226234 226.2 us | 226234 226.2 us | 1.00 bitset<15>/set(i) | 194106 194.1 us | 203924 203.9 us | 0.95 bitset<15>/test | 226681 226.7 us | 226681 226.7 us | 1.00 bitset<35>/>>=/1 | 677812 677.8 us | 194553 194.6 us | 3.48 + bitset<35>/count | 444884 444.9 us | 258809 258.8 us | 1.72 + bitset<35>/flip | 619357 619.4 us | 226235 226.2 us | 2.74 + bitset<35>/reset | 194106 194.1 us | 194107 194.1 us | 1.00 bitset<35>/set() | 226235 226.2 us | 194107 194.1 us | 1.17 bitset<35>/set(i) | 196338 196.3 us | 194106 194.1 us | 1.01 bitset<35>/test | 195891 195.9 us | 226681 226.7 us | 0.86 bitset<75>/>>=/1 | 676919 676.9 us | 226235 226.2 us | 2.99 + bitset<75>/count | 638991 639.0 us | 401154 401.2 us | 1.59 + bitset<75>/flip | 582767 582.8 us | 232036 232.0 us | 2.51 + bitset<75>/reset | 227574 227.6 us | 194107 194.1 us | 1.17 bitset<75>/set() | 235160 235.2 us | 194107 194.1 us | 1.21 bitset<75>/set(i) | 194106 194.1 us | 194107 194.1 us | 1.00 bitset<75>/test | 226235 226.2 us | 226681 226.7 us | 1.00 deque/erase | 2688490 2.7 ms | 4558162 4.6 ms | 0.59 - deque/find | 276658 276.7 us | 240068 240.1 us | 1.15 deque/insert | 2451546 2.5 ms | 4194937 4.2 ms | 0.58 - deque/iteration | 149931 149.9 us | 142345 142.3 us | 1.05 deque/operator[] | 387321 387.3 us | 359655 359.7 us | 1.08 deque/push_back | 793830 793.8 us | 388659 388.7 us | 2.04 + deque/push_front | 903601 903.6 us | 877273 877.3 us | 1.03 deque/sort | 20164790 20.2 ms | 18899748 18.9 ms | 1.07 heap (uint32_t[])/make_heap | 247654 247.7 us | 225342 225.3 us | 1.10 heap (uint32_t[])/pop_heap | 10161823 10.2 ms | 9596013 9.6 ms | 1.06 heap (uint32_t[])/push_heap | 1628711 1.6 ms | 1261917 1.3 ms | 1.29 + heap (uint32_t[])/sort_heap | 9094459 9.1 ms | 8053422 8.1 ms | 1.13 heap (vector)/make_heap | 1131620 1.1 ms | 750546 750.5 us | 1.51 + heap (vector)/pop_heap | 20361574 20.4 ms | 17458896 17.5 ms | 1.17 heap (vector)/push_heap | 2945514 2.9 ms | 2366764 2.4 ms | 1.24 heap (vector)/sort_heap | 14942203 14.9 ms | 12348312 12.3 ms | 1.21 list/ctor(it) | 6975795 7.0 ms | 5985627 6.0 ms | 1.17 list/ctor(n) | 499323 499.3 us | 454254 454.3 us | 1.10 list/erase | 19861804 19.9 ms | 26596192 26.6 ms | 0.75 - list/find | 1850484 1.9 ms | 1644776 1.6 ms | 1.13 list/insert | 7224787 7.2 ms | 7421124 7.4 ms | 0.97 list/push_back | 5589381 5.6 ms | 6759376 6.8 ms | 0.83 list/remove | 35555000 35.6 ms | 35948568 35.9 ms | 0.99 list/reverse | 2199431 2.2 ms | 2230665 2.2 ms | 0.99 list/size/1 | 22757 22.8 us | 19634 19.6 us | 1.16 list/size/10 | 22757 22.8 us | 19634 19.6 us | 1.16 list/size/100 | 22757 22.8 us | 22758 22.8 us | 1.00 list/splice | 2390859 2.4 ms | 2299830 2.3 ms | 1.04 map/clear | 17402 17.4 us | 14279 14.3 us | 1.22 map/count | 918772 918.8 us | 944206 944.2 us | 0.97 map/equal_range | 999092 999.1 us | 1049962 1.0 ms | 0.95 map/erase/key | 627389 627.4 us | 622480 622.5 us | 1.01 map/erase/pos | 32574 32.6 us | 36144 36.1 us | 0.90 map/erase/range | 11601 11.6 us | 10710 10.7 us | 1.08 map/find | 973211 973.2 us | 968302 968.3 us | 1.01 map/insert | 1181597 1.2 ms | 1259239 1.3 ms | 0.94 map/iteration | 79874 79.9 us | 77642 77.6 us | 1.03 map/lower_bound | 941976 942.0 us | 949115 949.1 us | 0.99 map/operator[] | 944653 944.7 us | 967856 967.9 us | 0.98 map/upper_bound | 962056 962.1 us | 937067 937.1 us | 1.03 set/clear | 17402 17.4 us | 13386 13.4 us | 1.30 + set/count | 903600 903.6 us | 875489 875.5 us | 1.03 set/equal_range | 912525 912.5 us | 975889 975.9 us | 0.94 set/erase range | 12048 12.0 us | 10709 10.7 us | 1.13 set/erase/pos | 35251 35.3 us | 33913 33.9 us | 1.04 set/erase/val | 621588 621.6 us | 639883 639.9 us | 0.97 set/find | 878166 878.2 us | 905386 905.4 us | 0.97 set/insert | 1096814 1.1 ms | 1059332 1.1 ms | 1.04 set/iteration | 84783 84.8 us | 70503 70.5 us | 1.20 set/lower_bound | 867903 867.9 us | 870580 870.6 us | 1.00 set/upper_bound | 903154 903.2 us | 878611 878.6 us | 1.03 sort/q_sort/TestObject[] | 701462 701.5 us | 587675 587.7 us | 1.19 sort/q_sort/TestObject[]/sorted | 223558 223.6 us | 87459 87.5 us | 2.56 + sort/q_sort/vector | 700570 700.6 us | 570718 570.7 us | 1.23 sort/q_sort/vector/sorted | 223557 223.6 us | 89691 89.7 us | 2.49 + sort/q_sort/vector | 615787 615.8 us | 542160 542.2 us | 1.14 sort/q_sort/vector/sorted | 179382 179.4 us | 104862 104.9 us | 1.71 + sort/q_sort/vector | 482367 482.4 us | 462732 462.7 us | 1.04 sort/q_sort/vector/sorted | 97277 97.3 us | 53993 54.0 us | 1.80 + string/compare | 59531420 59.5 ms | 33111040 33.1 ms | 1.80 + string/erase/pos,n | 324403 324.4 us | 314141 314.1 us | 1.03 string/find/p,pos,n | 65171228 65.2 ms | 32686236 32.7 ms | 1.99 + string/find_first_not_of/p,pos,n | 4016 4.0 us | 3570 3.6 us | 1.12 string/find_first_of/p,pos,n | 102185 102.2 us | 96384 96.4 us | 1.06 string/find_last_of/p,pos,n | 19187 19.2 us | 14725 14.7 us | 1.30 + string/insert/pos,p | 311463 311.5 us | 309232 309.2 us | 1.01 string/iteration | 44059552 44.1 ms | 44021624 44.0 ms | 1.00 string/operator[] | 10264 10.3 us | 9816 9.8 us | 1.05 string/push_back | 485044 485.0 us | 432390 432.4 us | 1.12 string/replace/pos,n,p,n | 211063 211.1 us | 222665 222.7 us | 0.95 string/reserve | 15385749 15.4 ms | 25881 25.9 us | 100.00 + string/rfind/p,pos,n | 23650 23.6 us | 20526 20.5 us | 1.15 string/size | 2231 2.2 us | 2231 2.2 us | 1.00 string/swap | 35698 35.7 us | 29005 29.0 us | 1.23 string/compare | 3013786 3.0 ms | 3046360 3.0 ms | 0.99 string/erase/pos,n | 156624 156.6 us | 156178 156.2 us | 1.00 string/find/p,pos,n | 42689204 42.7 ms | 37115440 37.1 ms | 1.15 string/find_first_not_of/p,pos,n | 11156 11.2 us | 4016 4.0 us | 2.78 + string/find_first_of/p,pos,n | 883966 884.0 us | 94599 94.6 us | 9.34 + string/find_last_of/p,pos,n | 143684 143.7 us | 13833 13.8 us | 10.39 + string/insert/pos,p | 150377 150.4 us | 150823 150.8 us | 1.00 string/iteration | 193214 193.2 us | 194999 195.0 us | 0.99 string/operator[] | 17403 17.4 us | 14725 14.7 us | 1.18 string/push_back | 670226 670.2 us | 403385 403.4 us | 1.66 + string/replace/pos,n,p,n | 224896 224.9 us | 226681 226.7 us | 0.99 string/reserve | 7459499 7.5 ms | 15172 15.2 us | 100.00 + string/rfind/p,pos,n | 94599 94.6 us | 20526 20.5 us | 4.61 + string/size | 1784 1.8 us | 1785 1.8 us | 1.00 string/swap | 39267 39.3 us | 25881 25.9 us | 1.52 + vector/erase | 1642099 1.6 ms | 1678689 1.7 ms | 0.98 vector/erase | 124336744 124.3 ms | 125847208 125.8 ms | 0.99 vector/reallocate | 1559101 1.6 ms | 1527419 1.5 ms | 1.02 vector/erase | 5199830 5.2 ms | 5123525 5.1 ms | 1.01 vector/insert | 5093628 5.1 ms | 5140928 5.1 ms | 0.99 vector/iteration | 65148 65.1 us | 65148 65.1 us | 1.00 vector/operator[] | 60240 60.2 us | 60240 60.2 us | 1.00 vector/push_back | 668887 668.9 us | 910293 910.3 us | 0.73 - vector/sort | 5472918 5.5 ms | 5719679 5.7 ms | 0.96 sum | 623026410 623.0 ms | 531845318 531.8 ms | 1.17 **************************************************************************************** Time to complete all tests: 2.49 s. RETURNCODE=0