mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-02-09 13:37:12 +02:00
parent
ab61991465
commit
e26d8bd8f8
@ -1,486 +0,0 @@
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
pkg: go.opentelemetry.io/otel/sdk/metric/internal/aggregate
|
||||
cpu: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 12832801 84.19 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 13738166 84.33 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 14909516 84.81 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 14371771 84.26 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 14037006 87.30 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 14160303 84.69 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 14000491 84.83 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 14017932 86.88 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 14086557 85.51 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 13918137 84.29 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 5236875 198.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 5373666 233.2 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 5249028 203.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4997298 208.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 5309054 206.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 5225592 213.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 5210971 272.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4688874 241.2 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4455781 243.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4731162 245.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1199733 1043 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1011 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1216923 1028 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1066 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1058 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1198212 991.0 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1063 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1015 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1204028 1035 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1043 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3269596 347.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3237217 365.2 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3309460 342.9 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3181944 354.4 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3136028 357.8 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3345159 348.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3345584 351.1 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3097239 350.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3257766 373.1 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 3198373 354.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 116356 10723 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 111188 11146 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 109912 10565 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 112994 10761 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 122049 10268 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 121502 10341 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 119794 11044 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 117589 10230 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 123240 10678 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 122952 11023 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 559370 1974 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 591718 1987 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 596125 2061 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 601368 1987 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 602349 2152 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 557488 2047 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 600099 2087 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 592650 2036 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 566413 2146 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 576310 2127 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 13567838 101.0 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12627882 96.37 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 13880398 98.05 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 13438856 91.80 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 13551433 92.05 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12615459 98.22 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12291924 94.78 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 13374356 92.66 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 13105550 91.96 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 13308955 91.51 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3140188 393.4 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2963001 352.8 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3707602 408.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3196657 387.2 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3252639 396.0 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3148338 393.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3130227 395.4 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3203203 405.8 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3069350 406.2 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2998692 397.1 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1086 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1079 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1102 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1177 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1200 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1145 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1134 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1142 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1174 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1148 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 847432 1619 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 841924 1561 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 766815 1663 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 803617 1611 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 837134 1583 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 839544 1675 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 838986 1580 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 839352 1617 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 836071 1569 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 829735 1728 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 119364 10702 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 116712 11295 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 120844 11580 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 116643 10542 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 102613 10862 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 107965 10792 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 109129 11361 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 116842 10459 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 118702 11221 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 109262 11172 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 87906 13428 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 84370 13726 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 83199 13387 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 83788 14235 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 89572 14089 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 90222 13411 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 83817 13824 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 90033 14293 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 90631 13483 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 89948 13451 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 13048044 100.2 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 11987622 97.05 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12525115 100.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 13802107 94.21 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12701176 96.28 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 13829084 99.60 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 13854591 95.88 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12327361 99.59 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12124970 94.60 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 13713087 95.66 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4489012 260.0 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 6131644 235.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4632294 266.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4628036 250.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4807899 227.8 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4751396 266.9 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4661839 277.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4715024 265.2 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4595482 257.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4679578 267.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 987913 1165 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1093 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1095 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1153 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1139 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1085 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1079 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1099 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1152 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1159 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 2905521 380.2 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 3015876 376.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 2984940 377.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 2803021 379.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 3029174 384.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 3032427 376.1 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 3127575 371.0 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 2893978 376.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 3120540 393.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 3036336 373.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 113311 10637 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 101358 10624 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 119534 10586 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 120386 10504 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 112252 10711 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 117482 11275 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 106592 10528 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 113810 11263 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 114720 11215 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 114590 10463 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 509122 2274 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 575350 2251 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 519496 2260 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 557757 2195 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 560943 2226 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 536691 2229 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 534720 2230 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 572613 2222 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 537004 2255 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 560804 2219 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12123902 95.92 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12743845 94.11 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12899218 93.47 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12742275 93.21 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12949663 93.67 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 13187468 93.66 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 13722506 94.85 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12600060 95.15 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 13934244 98.40 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 13383878 94.83 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3353437 359.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3255859 410.8 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2982471 408.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3210732 382.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3182137 379.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3026965 390.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3081061 426.0 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3116241 406.4 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3114680 422.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2998998 426.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1104 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1043538 1140 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1151 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1108 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1107 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1078 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1122 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1127 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1097 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1073 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 823614 1612 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 827082 1627 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 802323 1591 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 813440 1643 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 806421 1597 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 827452 1604 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 663091 1570 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 829683 1643 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 792718 1584 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 815619 1605 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 116443 10993 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 108036 10998 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 120033 11305 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 115340 11346 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 118672 10674 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 116216 10694 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 111798 10779 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 109923 10593 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 114754 10681 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 114912 10909 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 88519 14457 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 86623 14008 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 86084 14138 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 86601 13681 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 83034 14503 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 86284 13641 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 78396 13685 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 85956 13672 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 88202 14091 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 85731 13683 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12929575 99.68 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12970344 96.44 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12567553 94.42 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 13391112 95.71 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12609759 95.80 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12320703 92.85 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12926551 95.39 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12309518 95.53 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 13622700 98.77 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12700446 98.64 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2442945 479.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2445420 485.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2502744 490.4 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2522775 495.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2524832 509.9 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2545576 498.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2486281 498.4 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2405265 506.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2516514 514.6 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2503906 495.2 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1144 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1087 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1103 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1156 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1098 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1100 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1073 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1063 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1072 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1075 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 472300 2712 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 490501 2734 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 491756 2728 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 485811 2749 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 491367 2759 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 487554 2770 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 491612 2706 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 487945 2723 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 429498 2658 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 488772 2837 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 112986 10563 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 113221 10624 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 110900 10806 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 118372 10695 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 118755 11367 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 116772 11173 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 121702 11167 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 116296 10388 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 116600 10970 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 111428 10504 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 48642 24719 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 49490 25686 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 49890 25524 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 49735 25526 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 46292 24561 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 49718 25686 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 48542 24065 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 46929 24133 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 49874 24255 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 46832 24831 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 13248100 97.78 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12405955 100.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12678439 96.10 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 13830669 95.34 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 13798387 95.20 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12309202 93.12 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 13552324 93.64 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 13670754 92.60 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12825702 95.77 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12655892 94.10 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1521536 721.2 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1598995 720.0 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1617141 754.0 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1607065 768.6 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1562186 742.6 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1613356 777.7 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1639628 771.1 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1555226 731.8 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1658127 715.9 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1614914 757.9 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 988795 1073 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1127 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1105 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1117 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1107 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1086 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1082 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1083 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1140 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1131 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 293400 4540 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 301167 4414 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 297818 4459 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 297556 4424 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 282568 4622 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 302499 4486 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 299958 4524 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 299124 4472 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 293887 4492 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 297294 4715 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 110485 11164 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 117867 11288 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 106924 10537 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 118573 10583 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 118592 10620 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 115219 10778 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 109425 11335 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 121026 11256 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 108481 10511 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 116545 10521 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 27654 42813 ns/op 8136 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 28246 44570 ns/op 8136 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 28418 45490 ns/op 8135 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 28266 44224 ns/op 8138 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 27304 43016 ns/op 8138 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 28228 43445 ns/op 8137 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 27792 44841 ns/op 8133 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 27578 42586 ns/op 8138 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 26276 44125 ns/op 8139 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 28119 44032 ns/op 8136 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 13618124 94.36 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12826450 96.65 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 13422610 99.26 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 13131544 93.85 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12920649 94.14 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 13475362 94.47 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 13235325 94.00 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 13127564 96.69 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12410412 95.26 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 13232055 95.24 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2700405 486.1 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2349177 504.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2474370 495.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2493882 523.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2497772 496.7 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2456824 526.5 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2420324 495.0 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2491203 532.4 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2505288 514.3 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2475458 480.4 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 962577 1049 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1051 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1096 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1121991 1129 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1105 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1095 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1097 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1077 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1080 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1056 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 444800 2785 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 492310 2822 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 485503 2756 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 474487 2751 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 491212 2816 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 482865 2835 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 452144 2846 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 488284 2760 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 490476 2729 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 474738 2754 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 120754 10610 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 118480 10584 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 113307 11254 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 118498 11315 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 119580 10667 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 117463 10575 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 118851 10699 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 112174 10852 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 109742 10718 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 112036 11161 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 49584 25136 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 49569 24420 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 49729 24166 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 46579 25681 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 48506 24368 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 47953 24111 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 49260 25882 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 44846 25201 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 49846 25080 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 49388 24732 ns/op 64 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13381588 94.70 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13026745 99.29 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13712457 94.52 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13100166 94.25 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13191348 93.32 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13322320 95.68 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13942035 95.90 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13685756 94.36 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13041921 94.12 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 12858501 93.18 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1604078 733.0 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1547712 730.2 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1550877 729.7 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1649734 749.0 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1659384 754.9 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1655444 735.9 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1645508 786.8 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1578471 764.5 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1651297 740.9 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1543788 784.0 ns/op 320 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1088 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1078 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1079 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1072 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1105 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1128 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 994906 1119 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1041 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1060 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1123647 1073 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 266772 4557 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 288816 4659 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 240044 4577 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 302907 4622 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 304759 4573 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 296655 4547 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 292946 4578 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 306622 4725 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 301369 4477 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 263808 4650 ns/op 740 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 115377 11395 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 120253 11330 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 119737 10735 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 118880 10720 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 115844 10651 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 117028 10553 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 115076 10766 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 118269 11016 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 110619 10935 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 119504 10941 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 28315 44824 ns/op 8138 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 28339 42944 ns/op 8140 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 26726 43716 ns/op 8135 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 28408 45537 ns/op 8136 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 27817 44962 ns/op 8138 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 28106 43484 ns/op 8139 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 28996 43488 ns/op 8135 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 29072 45200 ns/op 8136 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 28354 43150 ns/op 8137 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 28444 45076 ns/op 8137 B/op 11 allocs/op
|
||||
PASS
|
||||
ok go.opentelemetry.io/otel/sdk/metric/internal/aggregate 1519.546s
|
@ -1,486 +0,0 @@
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
pkg: go.opentelemetry.io/otel/sdk/metric/internal/aggregate
|
||||
cpu: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 12132796 93.97 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 12833452 98.52 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 13292923 97.89 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 12242515 92.63 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 12898480 92.66 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 12946058 101.2 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 13837212 93.17 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 13387345 101.1 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 13520461 96.91 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/Measure-8 13553054 101.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4352331 266.0 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4209757 285.0 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4626202 259.6 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4487704 254.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4352427 260.6 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4386769 279.9 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4363788 292.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4401888 255.1 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4217253 274.7 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/1/ComputeAggregation-8 4400745 274.5 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1253 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1245 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1127 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1145 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1128 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1126 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1164 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1177 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 979124 1217 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/Measure-8 1000000 1144 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1298989 894.0 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1373443 849.0 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1356570 901.1 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1356979 890.5 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1333526 911.2 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1395523 923.8 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1403545 892.4 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1310388 868.4 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1369364 888.6 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/10/ComputeAggregation-8 1345185 916.0 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 94935 12383 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 107889 11759 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 111279 11960 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 112885 12519 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 107937 11202 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 110437 11870 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 100900 12567 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 111282 11760 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 113372 11739 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/Measure-8 114145 12336 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 245482 5285 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 271778 4906 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 260509 5743 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 267429 4674 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 302884 4892 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 268592 4879 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 266072 4822 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 270511 4864 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 274407 4815 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Cumulative/100/ComputeAggregation-8 271594 4929 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 11385399 101.9 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12100845 107.6 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12826288 98.62 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12628515 100.2 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 11870608 108.1 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12326151 99.07 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12655506 101.6 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 10499667 103.2 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12974182 97.65 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/Measure-8 12771733 99.15 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2884323 428.8 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2979914 441.7 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2989824 466.2 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2992849 445.6 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 3000021 440.2 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2961950 472.2 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2979852 435.7 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2999700 439.2 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2830801 419.7 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/1/ComputeAggregation-8 2793336 437.8 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1164 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1179 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1148 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1149 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1191 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 915872 1243 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 927121 1148 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1165 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1233 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/Measure-8 1000000 1118 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 599412 2121 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 654458 2183 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 650170 2074 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 652510 2133 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 651919 2049 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 594951 2136 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 610920 2032 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 644576 2192 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 613749 2111 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/10/ComputeAggregation-8 620232 2128 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 104808 11285 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 104690 12494 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 112671 12503 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 112759 11156 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 101668 11244 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 108952 11321 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 105589 12447 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 99166 11547 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 101821 11564 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/Measure-8 113941 11583 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 71049 17286 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 78675 17062 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 73201 17110 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 74734 17271 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 70824 17682 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 73806 18246 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 76288 17917 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 73734 17663 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 71109 18042 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Int64/Delta/100/ComputeAggregation-8 76170 17803 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12238096 113.0 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12818384 109.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12864472 99.78 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 11823811 103.5 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 11600403 99.13 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12240856 100.2 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12507694 100.5 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 11993076 99.78 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 12453760 100.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/Measure-8 11975506 108.9 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4181683 292.1 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4493882 250.0 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4455595 270.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4379696 244.6 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4286300 271.3 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4433268 240.3 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4278093 264.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4840934 241.8 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 4353639 262.1 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/1/ComputeAggregation-8 3996886 259.0 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 943964 1235 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1169 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1014638 1180 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 885234 1265 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 932336 1207 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1173 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1275 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1271 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 1000000 1220 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/Measure-8 995424 1170 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1319526 876.5 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1310713 878.1 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1322535 903.1 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1340648 937.2 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1326606 881.4 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1320040 936.7 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1352618 911.7 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1290936 894.3 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1300735 916.0 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/10/ComputeAggregation-8 1000000 1033 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 91390 13717 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 92311 11566 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 101764 12257 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 110319 12129 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 98139 11888 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 107817 11988 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 108433 12594 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 104708 11713 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 107071 11839 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/Measure-8 106276 12501 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 202286 5498 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 274892 5137 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 253311 5372 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 297381 4873 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 275394 5185 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 277260 4922 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 272193 4987 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 277756 4980 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 267218 5189 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Cumulative/100/ComputeAggregation-8 277479 5222 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 11135397 100.5 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12037850 103.9 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12822570 103.2 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12846072 107.7 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12350216 98.40 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12719412 99.27 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12680097 99.29 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12092605 98.53 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12589422 108.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/Measure-8 12316093 98.96 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2719732 430.3 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2927137 457.8 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3019056 472.7 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2966490 436.1 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2957634 437.8 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 3018825 440.8 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2900271 452.1 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2904802 459.6 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2958345 480.1 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/1/ComputeAggregation-8 2920442 450.1 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 960747 1179 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1220 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1203 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1144 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1191 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1147 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1195 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1169 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1149 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/Measure-8 1000000 1186 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 589666 2126 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 629466 2087 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 641794 2206 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 615694 2107 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 640011 2202 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 633723 2210 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 615567 2071 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 636790 2133 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 596880 2095 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/10/ComputeAggregation-8 521450 2152 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 106014 12437 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 107220 11444 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 110198 12084 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 108632 11878 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 113619 11452 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 103714 11544 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 109160 11999 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 107444 11783 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 110697 11577 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/Measure-8 100470 11327 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 67630 18081 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 74475 18281 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 73075 17521 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 75033 17910 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 72811 17152 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 75253 17294 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 71371 17835 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 74364 17779 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 75793 17424 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Float64/Delta/100/ComputeAggregation-8 77242 17452 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12044708 101.6 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12695270 103.1 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12472215 117.4 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12332293 98.09 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12231560 106.7 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 13039504 106.6 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12992034 99.06 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12204920 97.84 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 10985733 98.50 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/Measure-8 12620592 99.26 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2650395 448.6 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2801888 409.5 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2800879 409.2 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2982458 452.3 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2807269 473.8 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2936845 417.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2744233 456.0 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2871415 422.0 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2710190 419.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/1/ComputeAggregation-8 2789616 424.5 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 855709 1198 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1191 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1206 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1213 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1156 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1212 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1233 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1152 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 1000000 1231 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/Measure-8 952506 1259 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 586099 2163 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 635233 2134 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 650406 2101 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 635630 2151 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 649213 2202 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 605356 2121 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 584236 2086 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 630939 2194 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 639346 2154 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/10/ComputeAggregation-8 617145 2096 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 99892 11989 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 109909 11623 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 110326 11374 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 101619 12306 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 97573 11394 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 109374 12459 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 108112 11316 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 109008 12294 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 114326 11830 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/Measure-8 111889 11242 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 65185 17100 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 76615 18320 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 76699 18363 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 75769 17187 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 76983 17594 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 74116 17828 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 71347 17646 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 73558 17289 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 79120 17675 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Cumulative/100/ComputeAggregation-8 72420 17480 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12203563 108.7 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12928636 99.99 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 11935758 103.0 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12733026 108.8 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12975754 100.1 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12688108 99.30 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 11445204 99.11 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12690217 98.50 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12130473 99.50 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/Measure-8 12727153 106.6 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1481895 804.1 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1418360 820.6 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1469851 830.7 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1372838 817.3 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1473903 812.5 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1464301 800.0 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1464412 808.2 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1315578 844.9 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1545694 896.7 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/1/ComputeAggregation-8 1477633 810.8 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 938478 1284 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 867409 1162 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1196 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 997111 1148 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1158 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1172 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1188 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1142 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1252 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/Measure-8 1000000 1185 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 265386 5196 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 270930 5238 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 250849 5025 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 275574 5360 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 258640 4940 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 261912 4932 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 256972 5144 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 237580 4939 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 269960 5129 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/10/ComputeAggregation-8 270619 5074 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 109788 12537 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 96858 11769 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 111024 11478 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 109216 11653 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 109728 12223 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 111604 11215 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 110402 11186 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 109782 11583 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 110266 11518 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/Measure-8 102924 11361 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 24588 48021 ns/op 17835 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 24475 47760 ns/op 17833 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 24408 47402 ns/op 17829 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 25519 49174 ns/op 17833 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 25016 48972 ns/op 17831 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 25372 47715 ns/op 17834 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 25330 47517 ns/op 17833 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 24987 48731 ns/op 17832 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 25210 48968 ns/op 17835 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Int64/Delta/100/ComputeAggregation-8 25381 48751 ns/op 17833 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12139208 101.6 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12006981 101.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12429097 108.9 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12896118 108.8 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12207513 106.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 11504076 109.6 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 11115306 103.0 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 11586703 103.9 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 11529789 99.02 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/Measure-8 12136512 103.1 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2738594 457.2 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2552132 456.8 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2719819 432.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2934489 474.7 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2866374 474.6 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2856028 439.7 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2836177 444.1 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2941646 471.6 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2960328 445.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/1/ComputeAggregation-8 2935668 421.4 ns/op 128 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1284 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1289 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1229 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 998823 1277 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1271 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 873640 1166 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1155 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1169 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1150 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/Measure-8 1000000 1189 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 592096 2117 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 633663 2099 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 520358 2197 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 652964 2227 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 647844 2156 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 618900 2176 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 621746 2204 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 612691 2116 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 640472 2153 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/10/ComputeAggregation-8 602290 2171 ns/op 1056 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 103718 11839 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 105822 12696 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 95018 11518 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 104266 11562 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 102006 11614 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 108907 11767 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 100404 11276 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 104193 11842 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 102886 11723 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/Measure-8 102980 11387 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 71738 17751 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 70867 17629 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 73340 17439 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 71540 18330 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 74822 17790 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 74070 17434 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 68047 17990 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 75068 18216 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 77110 18101 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Cumulative/100/ComputeAggregation-8 70659 17908 ns/op 9760 B/op 2 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 11324088 110.5 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 12072033 104.5 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 11522050 104.9 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 12858453 99.34 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 12012278 100.1 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 11945469 107.5 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 11716684 103.9 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 11375492 103.8 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 13037928 103.3 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/Measure-8 11579456 98.73 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1445625 802.3 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1307059 819.3 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1300875 870.8 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1407885 805.3 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1419325 838.7 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1362357 879.5 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1355449 805.3 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1334148 902.3 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1452020 881.4 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/1/ComputeAggregation-8 1600748 868.2 ns/op 384 B/op 4 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 981523 1203 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1179 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1181 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1174 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1163 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1028017 1178 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1175 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 867897 1267 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 1000000 1254 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/Measure-8 951024 1149 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 231246 4972 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 269583 4982 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 276840 5103 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 264648 5176 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 267468 5138 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 281400 4950 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 276787 4984 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 263457 5090 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 260110 5151 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/10/ComputeAggregation-8 270080 5163 ns/op 1732 B/op 5 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 106506 12718 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 106209 11611 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 107492 12524 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 112300 12123 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 110745 11931 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 111355 11645 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 109742 12077 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 98926 11925 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 111117 12451 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/Measure-8 106148 11396 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 24028 50337 ns/op 17835 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 25474 47170 ns/op 17831 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 26391 48678 ns/op 17831 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 26454 46843 ns/op 17834 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 25750 48428 ns/op 17833 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 25200 48526 ns/op 17834 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 26354 48487 ns/op 17836 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 25105 51246 ns/op 17831 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 26138 47990 ns/op 17834 B/op 11 allocs/op
|
||||
BenchmarkSum/Precomputed/Float64/Delta/100/ComputeAggregation-8 24668 49563 ns/op 17834 B/op 11 allocs/op
|
||||
PASS
|
||||
ok go.opentelemetry.io/otel/sdk/metric/internal/aggregate 1323.595s
|
@ -1,439 +0,0 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate"
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"go.opentelemetry.io/otel/sdk/metric/metricdata"
|
||||
)
|
||||
|
||||
func TestSum(t *testing.T) {
|
||||
t.Cleanup(mockTime(now))
|
||||
|
||||
t.Run("Int64/DeltaSum", testDeltaSum[int64]())
|
||||
t.Run("Float64/DeltaSum", testDeltaSum[float64]())
|
||||
|
||||
t.Run("Int64/CumulativeSum", testCumulativeSum[int64]())
|
||||
t.Run("Float64/CumulativeSum", testCumulativeSum[float64]())
|
||||
|
||||
t.Run("Int64/DeltaPrecomputedSum", testDeltaPrecomputedSum[int64]())
|
||||
t.Run("Float64/DeltaPrecomputedSum", testDeltaPrecomputedSum[float64]())
|
||||
|
||||
t.Run("Int64/CumulativePrecomputedSum", testCumulativePrecomputedSum[int64]())
|
||||
t.Run("Float64/CumulativePrecomputedSum", testCumulativePrecomputedSum[float64]())
|
||||
}
|
||||
|
||||
func testDeltaSum[N int64 | float64]() func(t *testing.T) {
|
||||
mono := false
|
||||
in, out := Builder[N]{
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
Filter: attrFltr,
|
||||
}.Sum(mono)
|
||||
ctx := context.Background()
|
||||
return test[N](in, out, []teststep[N]{
|
||||
{
|
||||
input: []arg[N]{},
|
||||
expect: output{
|
||||
n: 0,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{
|
||||
{ctx, 1, alice},
|
||||
{ctx, -1, bob},
|
||||
{ctx, 1, alice},
|
||||
{ctx, 2, alice},
|
||||
{ctx, -10, bob},
|
||||
},
|
||||
expect: output{
|
||||
n: 2,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{
|
||||
{
|
||||
Attributes: fltrAlice,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 4,
|
||||
},
|
||||
{
|
||||
Attributes: fltrBob,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: -11,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{
|
||||
{ctx, 10, alice},
|
||||
{ctx, 3, bob},
|
||||
},
|
||||
expect: output{
|
||||
n: 2,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{
|
||||
{
|
||||
Attributes: fltrAlice,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 10,
|
||||
},
|
||||
{
|
||||
Attributes: fltrBob,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 3,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{},
|
||||
// Delta sums are expected to reset.
|
||||
expect: output{
|
||||
n: 0,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
func testCumulativeSum[N int64 | float64]() func(t *testing.T) {
|
||||
mono := false
|
||||
in, out := Builder[N]{
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
Filter: attrFltr,
|
||||
}.Sum(mono)
|
||||
ctx := context.Background()
|
||||
return test[N](in, out, []teststep[N]{
|
||||
{
|
||||
input: []arg[N]{},
|
||||
expect: output{
|
||||
n: 0,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{
|
||||
{ctx, 1, alice},
|
||||
{ctx, -1, bob},
|
||||
{ctx, 1, alice},
|
||||
{ctx, 2, alice},
|
||||
{ctx, -10, bob},
|
||||
},
|
||||
expect: output{
|
||||
n: 2,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{
|
||||
{
|
||||
Attributes: fltrAlice,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 4,
|
||||
},
|
||||
{
|
||||
Attributes: fltrBob,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: -11,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{
|
||||
{ctx, 10, alice},
|
||||
{ctx, 3, bob},
|
||||
},
|
||||
expect: output{
|
||||
n: 2,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{
|
||||
{
|
||||
Attributes: fltrAlice,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 14,
|
||||
},
|
||||
{
|
||||
Attributes: fltrBob,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: -8,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
func testDeltaPrecomputedSum[N int64 | float64]() func(t *testing.T) {
|
||||
mono := false
|
||||
in, out := Builder[N]{
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
Filter: attrFltr,
|
||||
}.PrecomputedSum(mono)
|
||||
ctx := context.Background()
|
||||
return test[N](in, out, []teststep[N]{
|
||||
{
|
||||
input: []arg[N]{},
|
||||
expect: output{
|
||||
n: 0,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{
|
||||
{ctx, 1, alice},
|
||||
{ctx, -1, bob},
|
||||
{ctx, 1, fltrAlice},
|
||||
{ctx, 2, alice},
|
||||
{ctx, -10, bob},
|
||||
},
|
||||
expect: output{
|
||||
n: 2,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{
|
||||
{
|
||||
Attributes: fltrAlice,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 4,
|
||||
},
|
||||
{
|
||||
Attributes: fltrBob,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: -11,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{
|
||||
{ctx, 1, fltrAlice},
|
||||
{ctx, 10, alice},
|
||||
{ctx, 3, bob},
|
||||
},
|
||||
expect: output{
|
||||
n: 2,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{
|
||||
{
|
||||
Attributes: fltrAlice,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 7,
|
||||
},
|
||||
{
|
||||
Attributes: fltrBob,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 14,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{},
|
||||
// Precomputed sums are expected to reset.
|
||||
expect: output{
|
||||
n: 0,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
func testCumulativePrecomputedSum[N int64 | float64]() func(t *testing.T) {
|
||||
mono := false
|
||||
in, out := Builder[N]{
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
Filter: attrFltr,
|
||||
}.PrecomputedSum(mono)
|
||||
ctx := context.Background()
|
||||
return test[N](in, out, []teststep[N]{
|
||||
{
|
||||
input: []arg[N]{},
|
||||
expect: output{
|
||||
n: 0,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{
|
||||
{ctx, 1, alice},
|
||||
{ctx, -1, bob},
|
||||
{ctx, 1, fltrAlice},
|
||||
{ctx, 2, alice},
|
||||
{ctx, -10, bob},
|
||||
},
|
||||
expect: output{
|
||||
n: 2,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{
|
||||
{
|
||||
Attributes: fltrAlice,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 4,
|
||||
},
|
||||
{
|
||||
Attributes: fltrBob,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: -11,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{
|
||||
{ctx, 1, fltrAlice},
|
||||
{ctx, 10, alice},
|
||||
{ctx, 3, bob},
|
||||
},
|
||||
expect: output{
|
||||
n: 2,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{
|
||||
{
|
||||
Attributes: fltrAlice,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 11,
|
||||
},
|
||||
{
|
||||
Attributes: fltrBob,
|
||||
StartTime: staticTime,
|
||||
Time: staticTime,
|
||||
Value: 3,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: []arg[N]{},
|
||||
// Precomputed sums are expected to reset.
|
||||
expect: output{
|
||||
n: 0,
|
||||
agg: metricdata.Sum[N]{
|
||||
IsMonotonic: mono,
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
DataPoints: []metricdata.DataPoint[N]{},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
func BenchmarkSum(b *testing.B) {
|
||||
// The monotonic argument is only used to annotate the Sum returned from
|
||||
// the Aggregation method. It should not have an effect on operational
|
||||
// performance, therefore, only monotonic=false is benchmarked here.
|
||||
b.Run("Int64/Cumulative", benchmarkAggregate(func() (Measure[int64], ComputeAggregation) {
|
||||
return Builder[int64]{
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
}.Sum(false)
|
||||
}))
|
||||
b.Run("Int64/Delta", benchmarkAggregate(func() (Measure[int64], ComputeAggregation) {
|
||||
return Builder[int64]{
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
}.Sum(false)
|
||||
}))
|
||||
b.Run("Float64/Cumulative", benchmarkAggregate(func() (Measure[float64], ComputeAggregation) {
|
||||
return Builder[float64]{
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
}.Sum(false)
|
||||
}))
|
||||
b.Run("Float64/Delta", benchmarkAggregate(func() (Measure[float64], ComputeAggregation) {
|
||||
return Builder[float64]{
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
}.Sum(false)
|
||||
}))
|
||||
|
||||
b.Run("Precomputed/Int64/Cumulative", benchmarkAggregate(func() (Measure[int64], ComputeAggregation) {
|
||||
return Builder[int64]{
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
}.PrecomputedSum(false)
|
||||
}))
|
||||
b.Run("Precomputed/Int64/Delta", benchmarkAggregate(func() (Measure[int64], ComputeAggregation) {
|
||||
return Builder[int64]{
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
}.PrecomputedSum(false)
|
||||
}))
|
||||
b.Run("Precomputed/Float64/Cumulative", benchmarkAggregate(func() (Measure[float64], ComputeAggregation) {
|
||||
return Builder[float64]{
|
||||
Temporality: metricdata.CumulativeTemporality,
|
||||
}.PrecomputedSum(false)
|
||||
}))
|
||||
b.Run("Precomputed/Float64/Delta", benchmarkAggregate(func() (Measure[float64], ComputeAggregation) {
|
||||
return Builder[float64]{
|
||||
Temporality: metricdata.DeltaTemporality,
|
||||
}.PrecomputedSum(false)
|
||||
}))
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user