COMMANDLINE scripts/test_cow_darray_perf01.sh -v normal EXE_WRAPPER nice -20 logbasename test_cow_darray_perf01.arm64 logfile /net/risa/projects/zafena/jaulib/doc/test/test_cow_darray_perf01.arm64.0.log valgrindlogfile /net/risa/projects/zafena/jaulib/doc/test/test_cow_darray_perf01.arm64.valgrind.0.log callgrindoutfile /net/risa/projects/zafena/jaulib/doc/test/test_cow_darray_perf01.arm64.callgrind.0.out nice -20 /net/risa/projects/zafena/jaulib/build-arm64/test/test_cow_darray_perf01 -v normal argc 3, auto_run 0, perf_analysis 0 Mem: stdvec_empty_ 01 (full_): Elements 50 x 16 bytes; CAlloc[ 1,024 bytes, alloc[balance 1 = 7 - 6]], 1.280000 ratio Mem: stdvec_empty_ 01 (full_): Elements 100 x 16 bytes; CAlloc[ 2,048 bytes, alloc[balance 1 = 8 - 7]], 1.280000 ratio Mem: stdvec_empty_ 01 (full_): Elements 1,000 x 16 bytes; CAlloc[ 16,384 bytes, alloc[balance 1 = 11 - 10]], 1.024000 ratio Mem: darray_empty_ 01 (full_): Elements 50 x 16 bytes; CAlloc[ 880 bytes, alloc[balance 0 = 0 - 0, realloc = 9]], 1.100000 ratio Mem: darray_empty_ 01 (full_): Elements 100 x 16 bytes; CAlloc[ 2,304 bytes, alloc[balance 0 = 0 - 0, realloc = 11]], 1.440000 ratio Mem: darray_empty_ 01 (full_): Elements 1,000 x 16 bytes; CAlloc[ 25,552 bytes, alloc[balance 0 = 0 - 0, realloc = 16]], 1.597000 ratio Mem: cowstdvec_empty_ 01 (full_): Elements 50 x 16 bytes; CAlloc[ 1,568 bytes, alloc[balance 1 = 2 - 1]], 1.960000 ratio Mem: cowstdvec_empty_ 01 (full_): Elements 100 x 16 bytes; CAlloc[ 3,168 bytes, alloc[balance 1 = 2 - 1]], 1.980000 ratio Mem: cowstdvec_empty_ 01 (full_): Elements 1,000 x 16 bytes; CAlloc[ 31,968 bytes, alloc[balance 1 = 2 - 1]], 1.998000 ratio Mem: cowdarray_empty_ 01 (full_): Elements 50 x 16 bytes; CAlloc[ 880 bytes, alloc[balance 1 = 1 - 0, realloc = 0]], 1.100000 ratio Mem: cowdarray_empty_ 01 (full_): Elements 100 x 16 bytes; CAlloc[ 2,304 bytes, alloc[balance 1 = 1 - 0, realloc = 0]], 1.440000 ratio Mem: cowdarray_empty_ 01 (full_): Elements 1,000 x 16 bytes; CAlloc[ 25,552 bytes, alloc[balance 1 = 1 - 0, realloc = 0]], 1.597000 ratio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_cow_darray_perf01 is a Catch v3.0.0-preview.3 host application. Run with -? for options ------------------------------------------------------------------------------- Perf Test 01 - Fill Sequential and List, empty and reserve ------------------------------------------------------------------------------- /net/risa/projects/zafena/jaulib/test/test_cow_darray_perf01.cpp:467 ............................................................................... benchmark name samples iterations estimated mean low mean high mean std dev low std dev high std dev ------------------------------------------------------------------------------- STD_Vector_empty_idx FillSeq_List 50 100 58 11.397 ms 1.97623 us 1.96833 us 1.98491 us 42.107 ns 36.1147 ns 52.9941 ns STD_Vector_empty_idx FillSeq_List 100 100 36 11.4192 ms 3.20609 us 3.19966 us 3.21777 us 42.9086 ns 28.1951 ns 64.0577 ns STD_Vector_empty_idx FillSeq_List 1000 100 6 12.2514 ms 20.4119 us 20.3751 us 20.4924 us 266.102 ns 153.553 ns 419.196 ns STD_Vector_empty_itr FillSeq_List 50 100 59 11.2926 ms 1.91959 us 1.91635 us 1.92588 us 22.172 ns 13.6206 ns 34.7469 ns STD_Vector_empty_itr FillSeq_List 100 100 37 11.4626 ms 3.08776 us 3.08301 us 3.09788 us 33.6479 ns 14.2663 ns 57.4616 ns STD_Vector_empty_itr FillSeq_List 1000 100 6 11.5734 ms 19.3529 us 19.3213 us 19.4287 us 244.931 ns 141.505 ns 389.553 ns JAU_DArray_empty_idx FillSeq_List 50 100 49 11.3337 ms 2.30843 us 2.30446 us 2.31773 us 29.7688 ns 16.8698 ns 47.4572 ns JAU_DArray_empty_idx FillSeq_List 100 100 36 11.4516 ms 3.20007 us 3.1945 us 3.21258 us 40.5435 ns 23.1301 ns 64.0425 ns JAU_DArray_empty_idx FillSeq_List 1000 100 7 12.9003 ms 18.4211 us 18.3811 us 18.5006 us 270.284 ns 142.327 ns 409.473 ns JAU_DArray_empty_itr FillSeq_List 50 100 51 11.3016 ms 2.30416 us 2.29578 us 2.31173 us 40.3789 ns 25.1089 ns 60.2255 ns JAU_DArray_empty_itr FillSeq_List 100 100 36 11.448 ms 3.19044 us 3.16854 us 3.20565 us 92.2988 ns 61.7186 ns 128.063 ns JAU_DArray_empty_itr FillSeq_List 1000 100 7 12.6966 ms 18.1231 us 18.0895 us 18.1988 us 245.422 ns 140.161 ns 387.205 ns COW_Vector_empty_itr FillSeq_List 50 100 4 12.8904 ms 32.2978 us 32.24 us 32.4233 us 412.249 ns 225.187 ns 653.476 ns COW_Vector_empty_itr FillSeq_List 100 100 2 18.2746 ms 91.3754 us 91.229 us 91.64 us 972.915 ns 619.901 ns 1.38626 us COW_Vector_empty_itr FillSeq_List 1000 100 1 443.474 ms 4.44358 ms 4.44163 ms 4.44743 ms 13.4375 us 7.90582 us 21.0329 us COW_DArray_empty_itr FillSeq_List 50 100 15 11.5485 ms 7.70342 us 7.69152 us 7.73259 us 92.3122 ns 53.2986 ns 146.847 ns COW_DArray_empty_itr FillSeq_List 100 100 9 11.7477 ms 13.061 us 13.0392 us 13.1125 us 164.707 ns 95.2426 ns 260.637 ns COW_DArray_empty_itr FillSeq_List 1000 100 2 19.4824 ms 97.3914 us 97.2612 us 97.6526 us 876.831 ns 456.543 ns 1.33217 us STD_Vector_rserv_itr FillSeq_List 50 100 82 11.3652 ms 1.40696 us 1.40448 us 1.41177 us 16.9813 ns 10.5663 ns 26.393 ns STD_Vector_rserv_itr FillSeq_List 100 100 54 11.394 ms 2.13117 us 2.11519 us 2.13848 us 52.6853 ns 27.1313 ns 96.6176 ns STD_Vector_rserv_itr FillSeq_List 1000 100 9 12.1149 ms 13.5037 us 13.4814 us 13.5522 us 161.035 ns 94.3551 ns 254.045 ns JAU_DArray_rserv_itr FillSeq_List 50 100 85 11.2625 ms 1.38303 us 1.38171 us 1.3867 us 10.315 ns 3.91701 ns 21.5589 ns JAU_DArray_rserv_itr FillSeq_List 100 100 53 11.342 ms 2.14702 us 2.1439 us 2.15446 us 24.4749 ns 13.2528 ns 39.4776 ns JAU_DArray_rserv_itr FillSeq_List 1000 100 9 12.105 ms 13.4364 us 13.4148 us 13.4846 us 158.776 ns 88.9141 ns 254.323 ns COW_Vector_rserv_itr FillSeq_List 50 100 4 13.102 ms 32.778 us 32.726 us 32.8938 us 380.577 ns 223.094 ns 602.212 ns COW_Vector_rserv_itr FillSeq_List 100 100 2 18.428 ms 92.0633 us 91.9317 us 92.3245 us 896.911 ns 473.781 ns 1.34686 us COW_Vector_rserv_itr FillSeq_List 1000 100 1 443.619 ms 4.43858 ms 4.43801 ms 4.43933 ms 3.2997 us 2.61409 us 4.20948 us COW_DArray_rserv_itr FillSeq_List 50 100 20 11.678 ms 5.83139 us 5.82291 us 5.85206 us 66.4653 ns 38.3193 ns 105.873 ns COW_DArray_rserv_itr FillSeq_List 100 100 12 12.1128 ms 10.0909 us 10.0756 us 10.1278 us 119.162 ns 67.827 ns 190.973 ns COW_DArray_rserv_itr FillSeq_List 1000 100 2 16.9632 ms 84.8223 us 84.7034 us 85.0553 us 791.924 ns 413.123 ns 1.19322 us ------------------------------------------------------------------------------- Perf Test 02 - Fill Unique and List, empty and reserve ------------------------------------------------------------------------------- /net/risa/projects/zafena/jaulib/test/test_cow_darray_perf01.cpp:491 ............................................................................... benchmark name samples iterations estimated mean low mean high mean std dev low std dev high std dev ------------------------------------------------------------------------------- STD_Vector_empty_idx FillUni_List 50 100 15 11.97 ms 7.96362 us 7.95125 us 7.99211 us 91.9853 ns 52.3666 ns 147.032 ns STD_Vector_empty_idx FillUni_List 100 100 5 12.264 ms 24.5542 us 24.5197 us 24.6374 us 269.584 ns 153.463 ns 433.153 ns STD_Vector_empty_idx FillUni_List 1000 100 1 194.37 ms 1.94362 ms 1.94285 ms 1.94439 ms 3.94737 us 3.87203 us 4.13051 us STD_Vector_empty_itr FillUni_List 50 100 13 11.4244 ms 8.8114 us 8.79959 us 8.84091 us 86.5408 ns 17.9863 ns 155.665 ns STD_Vector_empty_itr FillUni_List 100 100 5 13.4305 ms 26.8824 us 26.846 us 26.9678 us 275.972 ns 155.658 ns 439.346 ns STD_Vector_empty_itr FillUni_List 1000 100 1 211.681 ms 2.11712 ms 2.11625 ms 2.11799 ms 4.43986 us 4.1289 us 4.82127 us JAU_DArray_empty_idx FillUni_List 50 100 16 11.6304 ms 7.40978 us 7.39039 us 7.437 us 115.531 ns 84.3272 ns 162.828 ns JAU_DArray_empty_idx FillUni_List 100 100 6 11.946 ms 19.9237 us 19.8898 us 20.001 us 250.191 ns 134.317 ns 399.711 ns JAU_DArray_empty_idx FillUni_List 1000 100 1 144.447 ms 1.44399 ms 1.44328 ms 1.44477 ms 3.79836 us 3.48813 us 4.08921 us JAU_DArray_empty_itr FillUni_List 50 100 13 11.947 ms 9.17546 us 9.16069 us 9.21008 us 111.788 ns 64.4726 ns 177.404 ns JAU_DArray_empty_itr FillUni_List 100 100 5 13.496 ms 27.0013 us 26.9507 us 27.0959 us 343.276 ns 198.728 ns 509.26 ns JAU_DArray_empty_itr FillUni_List 1000 100 1 211.56 ms 2.11569 ms 2.11488 ms 2.11649 ms 4.09524 us 4.01426 us 4.25509 us COW_Vector_empty_itr FillUni_List 50 100 2 13.3876 ms 66.6287 us 66.4952 us 66.8914 us 894.952 ns 468.337 ns 1.36143 us COW_Vector_empty_itr FillUni_List 100 100 1 17.1124 ms 170.505 us 170.249 us 171.01 us 1.74097 us 922.409 ns 2.62846 us COW_Vector_empty_itr FillUni_List 1000 100 1 711.605 ms 7.11834 ms 7.11683 ms 7.12115 ms 10.1437 us 5.5868 us 16.6085 us COW_DArray_empty_itr FillUni_List 50 100 3 12.5247 ms 41.81 us 41.7543 us 41.9511 us 446.079 ns 257.126 ns 711.947 ns COW_DArray_empty_itr FillUni_List 100 100 2 18.2832 ms 91.5778 us 91.4391 us 91.8299 us 922.422 ns 589.361 ns 1.31532 us COW_DArray_empty_itr FillUni_List 1000 100 1 276.871 ms 2.76493 ms 2.76406 ms 2.76572 ms 4.23293 us 3.80391 us 4.67876 us STD_Vector_rserv_itr FillUni_List 50 100 14 11.5122 ms 8.23494 us 8.21977 us 8.26484 us 104.815 ns 64.6132 ns 162.001 ns STD_Vector_rserv_itr FillUni_List 100 100 5 12.945 ms 25.9059 us 25.8577 us 26.0014 us 321.756 ns 168.315 ns 487.037 ns STD_Vector_rserv_itr FillUni_List 1000 100 1 211.206 ms 2.11116 ms 2.11029 ms 2.11201 ms 4.39297 us 4.10155 us 4.74373 us JAU_DArray_rserv_itr FillUni_List 50 100 14 11.5766 ms 8.27243 us 8.26069 us 8.30101 us 93.6864 ns 54.2586 ns 148.969 ns JAU_DArray_rserv_itr FillUni_List 100 100 5 12.9955 ms 26.0241 us 25.9817 us 26.1265 us 321.749 ns 162.967 ns 561.55 ns JAU_DArray_rserv_itr FillUni_List 1000 100 1 211.034 ms 2.10991 ms 2.10915 ms 2.11067 ms 3.84678 us 3.77773 us 3.89628 us COW_Vector_rserv_itr FillUni_List 50 100 2 13.496 ms 67.3232 us 67.2217 us 67.5573 us 769.537 ns 430.924 ns 1.22825 us COW_Vector_rserv_itr FillUni_List 100 100 1 17.1743 ms 171.47 us 171.212 us 171.971 us 1.76296 us 973.567 ns 2.63225 us COW_Vector_rserv_itr FillUni_List 1000 100 1 711.622 ms 7.12095 ms 7.12017 ms 7.12162 ms 3.6585 us 3.1721 us 4.14216 us COW_DArray_rserv_itr FillUni_List 50 100 3 11.9298 ms 39.7883 us 39.7232 us 39.9276 us 458.722 ns 262.738 ns 723.195 ns COW_DArray_rserv_itr FillUni_List 100 100 2 17.6294 ms 88.1655 us 88.0453 us 88.4087 us 815.662 ns 428.342 ns 1.23966 us COW_DArray_rserv_itr FillUni_List 1000 100 1 278.18 ms 2.79077 ms 2.78985 ms 2.79167 ms 4.61828 us 4.12221 us 5.24657 us =============================================================================== All tests passed (20317062 assertions in 3 test cases)