Skip to content

Commit 43dd587

Browse files
committed
Updated benchmarks with prev change to avoid heap allocations in callNative
name old time/op new time/op delta GlobalVars-8 659ns ± 1% 660ns ± 1% ~ (p=0.381 n=5+5) LocalVars-8 626ns ± 2% 627ns ± 1% ~ (p=0.683 n=5+5) IncrDecr-8 745ns ± 1% 747ns ± 2% ~ (p=0.579 n=5+5) SimpleBuiltins-8 1.31µs ± 2% 1.34µs ± 5% ~ (p=0.548 n=5+5) BuiltinMatch-8 3.13µs ± 1% 3.11µs ± 1% ~ (p=0.151 n=5+5) BuiltinIndex-8 1.60µs ± 3% 1.59µs ± 2% ~ (p=0.500 n=5+5) BuiltinSubstr-8 1.60µs ± 3% 1.60µs ± 5% ~ (p=0.548 n=5+5) BuiltinSplitSpace-8 88.3µs ± 2% 87.8µs ± 1% ~ (p=0.841 n=5+5) BuiltinSplitRegex-8 134µs ± 2% 134µs ± 0% ~ (p=1.000 n=5+5) BuiltinSub-8 13.6µs ± 1% 13.6µs ± 1% ~ (p=0.222 n=5+5) BuiltinSubAmpersand-8 13.6µs ± 2% 13.6µs ± 0% ~ (p=1.000 n=5+5) BuiltinGsub-8 16.4µs ± 1% 16.1µs ± 2% ~ (p=0.095 n=5+5) BuiltinGsubAmpersand-8 16.0µs ± 1% 16.0µs ± 1% ~ (p=1.000 n=5+5) BuiltinSprintf-8 10.2µs ± 1% 10.2µs ± 1% ~ (p=0.056 n=5+5) RecursiveFunc-8 17.3µs ± 2% 17.3µs ± 1% ~ (p=0.802 n=5+5) FuncCall-8 3.17µs ± 1% 3.17µs ± 1% ~ (p=1.000 n=5+5) ForLoop-8 5.93µs ± 2% 5.86µs ± 1% ~ (p=0.095 n=5+5) ForInLoop-8 2.06µs ± 3% 2.12µs ± 3% ~ (p=0.056 n=5+5) IfStatement-8 279ns ± 3% 281ns ± 3% ~ (p=0.548 n=5+5) CondExpr-8 272ns ± 2% 272ns ± 2% ~ (p=0.881 n=5+5) SimplePattern-8 189ns ± 4% 188ns ± 4% ~ (p=0.841 n=5+5) RegexMatch-8 1.47µs ± 4% 1.45µs ± 3% ~ (p=0.222 n=5+5) ConcatLarge-8 6.78ms ± 2% 6.63ms ± 3% ~ (p=0.095 n=5+5) Assign-8 533ns ± 2% 531ns ± 1% ~ (p=0.968 n=5+5) AugAssign-8 2.05µs ± 1% 2.04µs ± 2% ~ (p=0.222 n=5+5) ConcatSmall-8 856ns ± 1% 847ns ± 0% -1.05% (p=0.032 n=5+5) GetField-8 511ns ± 1% 505ns ± 1% -1.21% (p=0.032 n=5+5) ArrayOperations-8 1.05µs ± 1% 1.03µs ± 1% -1.70% (p=0.032 n=5+5) BinaryOperators-8 820ns ± 2% 806ns ± 1% -1.73% (p=0.024 n=5+5) Comparisons-8 416ns ± 1% 408ns ± 0% -1.76% (p=0.016 n=5+4) SetField-8 993ns ± 1% 969ns ± 1% -2.46% (p=0.008 n=5+5) BuiltinLength-8 1.03µs ± 5% 0.96µs ± 6% -6.45% (p=0.016 n=5+5) NativeFunc-8 10.2µs ± 0% 8.8µs ± 1% -13.88% (p=0.008 n=5+5) [Geo mean] 2.95µs 2.92µs -1.08%
1 parent 1ebe4d8 commit 43dd587

1 file changed

Lines changed: 155 additions & 155 deletions

File tree

benchmarks.txt

Lines changed: 155 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -2,169 +2,169 @@ goos: darwin
22
goarch: amd64
33
pkg: github.com/benhoyt/goawk/interp
44
BenchmarkGlobalVars-8 2000000 658 ns/op
5-
BenchmarkGlobalVars-8 2000000 658 ns/op
6-
BenchmarkGlobalVars-8 2000000 657 ns/op
7-
BenchmarkGlobalVars-8 2000000 659 ns/op
85
BenchmarkGlobalVars-8 2000000 664 ns/op
9-
BenchmarkLocalVars-8 2000000 619 ns/op
10-
BenchmarkLocalVars-8 2000000 630 ns/op
11-
BenchmarkLocalVars-8 2000000 640 ns/op
12-
BenchmarkLocalVars-8 2000000 618 ns/op
6+
BenchmarkGlobalVars-8 2000000 659 ns/op
7+
BenchmarkGlobalVars-8 2000000 660 ns/op
8+
BenchmarkGlobalVars-8 2000000 659 ns/op
9+
BenchmarkLocalVars-8 2000000 625 ns/op
1310
BenchmarkLocalVars-8 2000000 625 ns/op
14-
BenchmarkIncrDecr-8 2000000 755 ns/op
15-
BenchmarkIncrDecr-8 2000000 744 ns/op
11+
BenchmarkLocalVars-8 2000000 632 ns/op
12+
BenchmarkLocalVars-8 2000000 626 ns/op
13+
BenchmarkLocalVars-8 2000000 627 ns/op
14+
BenchmarkIncrDecr-8 2000000 740 ns/op
1615
BenchmarkIncrDecr-8 2000000 746 ns/op
1716
BenchmarkIncrDecr-8 2000000 740 ns/op
18-
BenchmarkIncrDecr-8 2000000 739 ns/op
19-
BenchmarkSimpleBuiltins-8 1000000 1340 ns/op
20-
BenchmarkSimpleBuiltins-8 1000000 1301 ns/op
21-
BenchmarkSimpleBuiltins-8 1000000 1305 ns/op
22-
BenchmarkSimpleBuiltins-8 1000000 1328 ns/op
23-
BenchmarkSimpleBuiltins-8 1000000 1295 ns/op
24-
BenchmarkBuiltinMatch-8 500000 3099 ns/op
25-
BenchmarkBuiltinMatch-8 500000 3137 ns/op
26-
BenchmarkBuiltinMatch-8 500000 3110 ns/op
27-
BenchmarkBuiltinMatch-8 500000 3175 ns/op
28-
BenchmarkBuiltinMatch-8 500000 3153 ns/op
29-
BenchmarkBuiltinLength-8 1000000 1035 ns/op
30-
BenchmarkBuiltinLength-8 2000000 1023 ns/op
31-
BenchmarkBuiltinLength-8 2000000 983 ns/op
32-
BenchmarkBuiltinLength-8 1000000 1084 ns/op
33-
BenchmarkBuiltinLength-8 1000000 1019 ns/op
34-
BenchmarkBuiltinIndex-8 1000000 1613 ns/op
35-
BenchmarkBuiltinIndex-8 1000000 1586 ns/op
36-
BenchmarkBuiltinIndex-8 1000000 1650 ns/op
37-
BenchmarkBuiltinIndex-8 1000000 1578 ns/op
38-
BenchmarkBuiltinIndex-8 1000000 1581 ns/op
39-
BenchmarkBuiltinSubstr-8 1000000 1592 ns/op
40-
BenchmarkBuiltinSubstr-8 1000000 1576 ns/op
41-
BenchmarkBuiltinSubstr-8 1000000 1585 ns/op
42-
BenchmarkBuiltinSubstr-8 1000000 1612 ns/op
43-
BenchmarkBuiltinSubstr-8 1000000 1645 ns/op
44-
BenchmarkBuiltinSplitSpace-8 20000 87979 ns/op
45-
BenchmarkBuiltinSplitSpace-8 20000 89665 ns/op
46-
BenchmarkBuiltinSplitSpace-8 20000 88859 ns/op
47-
BenchmarkBuiltinSplitSpace-8 20000 87480 ns/op
48-
BenchmarkBuiltinSplitSpace-8 20000 87303 ns/op
49-
BenchmarkBuiltinSplitRegex-8 10000 133917 ns/op
50-
BenchmarkBuiltinSplitRegex-8 10000 136324 ns/op
51-
BenchmarkBuiltinSplitRegex-8 10000 132426 ns/op
52-
BenchmarkBuiltinSplitRegex-8 10000 134832 ns/op
53-
BenchmarkBuiltinSplitRegex-8 10000 133654 ns/op
54-
BenchmarkBuiltinSub-8 100000 13705 ns/op
55-
BenchmarkBuiltinSub-8 100000 13455 ns/op
56-
BenchmarkBuiltinSub-8 100000 13545 ns/op
57-
BenchmarkBuiltinSub-8 100000 13480 ns/op
58-
BenchmarkBuiltinSub-8 100000 13642 ns/op
59-
BenchmarkBuiltinSubAmpersand-8 100000 13471 ns/op
60-
BenchmarkBuiltinSubAmpersand-8 100000 13539 ns/op
61-
BenchmarkBuiltinSubAmpersand-8 100000 13535 ns/op
62-
BenchmarkBuiltinSubAmpersand-8 100000 13716 ns/op
63-
BenchmarkBuiltinSubAmpersand-8 100000 13920 ns/op
64-
BenchmarkBuiltinGsub-8 100000 16567 ns/op
65-
BenchmarkBuiltinGsub-8 100000 16374 ns/op
66-
BenchmarkBuiltinGsub-8 100000 16191 ns/op
67-
BenchmarkBuiltinGsub-8 100000 16331 ns/op
68-
BenchmarkBuiltinGsub-8 100000 16287 ns/op
69-
BenchmarkBuiltinGsubAmpersand-8 100000 15927 ns/op
70-
BenchmarkBuiltinGsubAmpersand-8 100000 15933 ns/op
71-
BenchmarkBuiltinGsubAmpersand-8 100000 16140 ns/op
72-
BenchmarkBuiltinGsubAmpersand-8 100000 15872 ns/op
73-
BenchmarkBuiltinGsubAmpersand-8 100000 16044 ns/op
74-
BenchmarkBuiltinSprintf-8 200000 10224 ns/op
75-
BenchmarkBuiltinSprintf-8 200000 10119 ns/op
76-
BenchmarkBuiltinSprintf-8 200000 10131 ns/op
77-
BenchmarkBuiltinSprintf-8 200000 10185 ns/op
78-
BenchmarkBuiltinSprintf-8 200000 10198 ns/op
79-
BenchmarkRecursiveFunc-8 100000 17225 ns/op
80-
BenchmarkRecursiveFunc-8 100000 17132 ns/op
81-
BenchmarkRecursiveFunc-8 100000 17682 ns/op
82-
BenchmarkRecursiveFunc-8 100000 17068 ns/op
83-
BenchmarkRecursiveFunc-8 100000 17243 ns/op
84-
BenchmarkFuncCall-8 500000 3193 ns/op
85-
BenchmarkFuncCall-8 500000 3172 ns/op
86-
BenchmarkFuncCall-8 500000 3191 ns/op
87-
BenchmarkFuncCall-8 500000 3150 ns/op
88-
BenchmarkFuncCall-8 500000 3156 ns/op
89-
BenchmarkNativeFunc-8 200000 10142 ns/op
90-
BenchmarkNativeFunc-8 200000 10175 ns/op
91-
BenchmarkNativeFunc-8 200000 10171 ns/op
92-
BenchmarkNativeFunc-8 200000 10205 ns/op
93-
BenchmarkNativeFunc-8 200000 10158 ns/op
94-
BenchmarkForLoop-8 300000 5916 ns/op
95-
BenchmarkForLoop-8 300000 5885 ns/op
96-
BenchmarkForLoop-8 300000 5873 ns/op
97-
BenchmarkForLoop-8 200000 6021 ns/op
98-
BenchmarkForLoop-8 200000 5942 ns/op
99-
BenchmarkForInLoop-8 1000000 2005 ns/op
100-
BenchmarkForInLoop-8 1000000 2083 ns/op
101-
BenchmarkForInLoop-8 1000000 2019 ns/op
102-
BenchmarkForInLoop-8 1000000 2073 ns/op
103-
BenchmarkForInLoop-8 1000000 2109 ns/op
17+
BenchmarkIncrDecr-8 2000000 759 ns/op
18+
BenchmarkIncrDecr-8 2000000 749 ns/op
19+
BenchmarkSimpleBuiltins-8 1000000 1327 ns/op
20+
BenchmarkSimpleBuiltins-8 1000000 1360 ns/op
21+
BenchmarkSimpleBuiltins-8 1000000 1401 ns/op
22+
BenchmarkSimpleBuiltins-8 1000000 1292 ns/op
23+
BenchmarkSimpleBuiltins-8 1000000 1318 ns/op
24+
BenchmarkBuiltinMatch-8 500000 3091 ns/op
25+
BenchmarkBuiltinMatch-8 500000 3084 ns/op
26+
BenchmarkBuiltinMatch-8 500000 3152 ns/op
27+
BenchmarkBuiltinMatch-8 500000 3093 ns/op
28+
BenchmarkBuiltinMatch-8 500000 3124 ns/op
29+
BenchmarkBuiltinLength-8 2000000 951 ns/op
30+
BenchmarkBuiltinLength-8 1000000 1017 ns/op
31+
BenchmarkBuiltinLength-8 2000000 931 ns/op
32+
BenchmarkBuiltinLength-8 2000000 963 ns/op
33+
BenchmarkBuiltinLength-8 2000000 950 ns/op
34+
BenchmarkBuiltinIndex-8 1000000 1606 ns/op
35+
BenchmarkBuiltinIndex-8 1000000 1576 ns/op
36+
BenchmarkBuiltinIndex-8 1000000 1605 ns/op
37+
BenchmarkBuiltinIndex-8 1000000 1561 ns/op
38+
BenchmarkBuiltinIndex-8 1000000 1605 ns/op
39+
BenchmarkBuiltinSubstr-8 1000000 1553 ns/op
40+
BenchmarkBuiltinSubstr-8 1000000 1549 ns/op
41+
BenchmarkBuiltinSubstr-8 1000000 1572 ns/op
42+
BenchmarkBuiltinSubstr-8 1000000 1674 ns/op
43+
BenchmarkBuiltinSubstr-8 1000000 1644 ns/op
44+
BenchmarkBuiltinSplitSpace-8 20000 86882 ns/op
45+
BenchmarkBuiltinSplitSpace-8 20000 88039 ns/op
46+
BenchmarkBuiltinSplitSpace-8 20000 87501 ns/op
47+
BenchmarkBuiltinSplitSpace-8 20000 87691 ns/op
48+
BenchmarkBuiltinSplitSpace-8 20000 89118 ns/op
49+
BenchmarkBuiltinSplitRegex-8 10000 134488 ns/op
50+
BenchmarkBuiltinSplitRegex-8 10000 133864 ns/op
51+
BenchmarkBuiltinSplitRegex-8 10000 134814 ns/op
52+
BenchmarkBuiltinSplitRegex-8 10000 134083 ns/op
53+
BenchmarkBuiltinSplitRegex-8 10000 133507 ns/op
54+
BenchmarkBuiltinSub-8 100000 13716 ns/op
55+
BenchmarkBuiltinSub-8 100000 13690 ns/op
56+
BenchmarkBuiltinSub-8 100000 13578 ns/op
57+
BenchmarkBuiltinSub-8 100000 13652 ns/op
58+
BenchmarkBuiltinSub-8 100000 13560 ns/op
59+
BenchmarkBuiltinSubAmpersand-8 100000 13619 ns/op
60+
BenchmarkBuiltinSubAmpersand-8 100000 13548 ns/op
61+
BenchmarkBuiltinSubAmpersand-8 100000 13534 ns/op
62+
BenchmarkBuiltinSubAmpersand-8 100000 13559 ns/op
63+
BenchmarkBuiltinSubAmpersand-8 100000 13590 ns/op
64+
BenchmarkBuiltinGsub-8 100000 16490 ns/op
65+
BenchmarkBuiltinGsub-8 100000 16167 ns/op
66+
BenchmarkBuiltinGsub-8 100000 15934 ns/op
67+
BenchmarkBuiltinGsub-8 100000 15996 ns/op
68+
BenchmarkBuiltinGsub-8 100000 15909 ns/op
69+
BenchmarkBuiltinGsubAmpersand-8 100000 16003 ns/op
70+
BenchmarkBuiltinGsubAmpersand-8 100000 15854 ns/op
71+
BenchmarkBuiltinGsubAmpersand-8 100000 15925 ns/op
72+
BenchmarkBuiltinGsubAmpersand-8 100000 15974 ns/op
73+
BenchmarkBuiltinGsubAmpersand-8 100000 16207 ns/op
74+
BenchmarkBuiltinSprintf-8 200000 10205 ns/op
75+
BenchmarkBuiltinSprintf-8 200000 10215 ns/op
76+
BenchmarkBuiltinSprintf-8 200000 10341 ns/op
77+
BenchmarkBuiltinSprintf-8 200000 10229 ns/op
78+
BenchmarkBuiltinSprintf-8 200000 10219 ns/op
79+
BenchmarkRecursiveFunc-8 100000 17221 ns/op
80+
BenchmarkRecursiveFunc-8 100000 17221 ns/op
81+
BenchmarkRecursiveFunc-8 100000 17396 ns/op
82+
BenchmarkRecursiveFunc-8 100000 17278 ns/op
83+
BenchmarkRecursiveFunc-8 100000 17219 ns/op
84+
BenchmarkFuncCall-8 500000 3192 ns/op
85+
BenchmarkFuncCall-8 500000 3165 ns/op
86+
BenchmarkFuncCall-8 500000 3177 ns/op
87+
BenchmarkFuncCall-8 500000 3161 ns/op
88+
BenchmarkFuncCall-8 500000 3162 ns/op
89+
BenchmarkNativeFunc-8 200000 8756 ns/op
90+
BenchmarkNativeFunc-8 200000 8723 ns/op
91+
BenchmarkNativeFunc-8 200000 8826 ns/op
92+
BenchmarkNativeFunc-8 200000 8705 ns/op
93+
BenchmarkNativeFunc-8 200000 8783 ns/op
94+
BenchmarkForLoop-8 200000 5943 ns/op
95+
BenchmarkForLoop-8 200000 5823 ns/op
96+
BenchmarkForLoop-8 300000 5854 ns/op
97+
BenchmarkForLoop-8 300000 5809 ns/op
98+
BenchmarkForLoop-8 300000 5857 ns/op
99+
BenchmarkForInLoop-8 500000 2128 ns/op
100+
BenchmarkForInLoop-8 500000 2125 ns/op
101+
BenchmarkForInLoop-8 1000000 2059 ns/op
102+
BenchmarkForInLoop-8 1000000 2118 ns/op
103+
BenchmarkForInLoop-8 1000000 2146 ns/op
104+
BenchmarkIfStatement-8 5000000 281 ns/op
105+
BenchmarkIfStatement-8 5000000 278 ns/op
104106
BenchmarkIfStatement-8 5000000 277 ns/op
105-
BenchmarkIfStatement-8 5000000 277 ns/op
106-
BenchmarkIfStatement-8 5000000 286 ns/op
107-
BenchmarkIfStatement-8 5000000 272 ns/op
108-
BenchmarkIfStatement-8 5000000 282 ns/op
109-
BenchmarkCondExpr-8 5000000 268 ns/op
110-
BenchmarkCondExpr-8 5000000 275 ns/op
111-
BenchmarkCondExpr-8 5000000 276 ns/op
107+
BenchmarkIfStatement-8 5000000 279 ns/op
108+
BenchmarkIfStatement-8 5000000 288 ns/op
109+
BenchmarkCondExpr-8 5000000 270 ns/op
110+
BenchmarkCondExpr-8 5000000 270 ns/op
111+
BenchmarkCondExpr-8 5000000 270 ns/op
112112
BenchmarkCondExpr-8 5000000 275 ns/op
113-
BenchmarkCondExpr-8 5000000 267 ns/op
114-
BenchmarkSimplePattern-8 10000000 184 ns/op
115-
BenchmarkSimplePattern-8 10000000 191 ns/op
116-
BenchmarkSimplePattern-8 10000000 190 ns/op
117-
BenchmarkSimplePattern-8 10000000 197 ns/op
113+
BenchmarkCondExpr-8 5000000 277 ns/op
114+
BenchmarkSimplePattern-8 10000000 189 ns/op
115+
BenchmarkSimplePattern-8 10000000 195 ns/op
116+
BenchmarkSimplePattern-8 10000000 187 ns/op
117+
BenchmarkSimplePattern-8 10000000 185 ns/op
118118
BenchmarkSimplePattern-8 10000000 185 ns/op
119-
BenchmarkGetField-8 3000000 510 ns/op
120-
BenchmarkGetField-8 3000000 508 ns/op
121-
BenchmarkGetField-8 3000000 508 ns/op
122-
BenchmarkGetField-8 3000000 516 ns/op
123-
BenchmarkGetField-8 3000000 512 ns/op
124-
BenchmarkSetField-8 2000000 1000 ns/op
125-
BenchmarkSetField-8 2000000 994 ns/op
126-
BenchmarkSetField-8 2000000 987 ns/op
127-
BenchmarkSetField-8 2000000 998 ns/op
128-
BenchmarkSetField-8 2000000 987 ns/op
129-
BenchmarkRegexMatch-8 1000000 1474 ns/op
130-
BenchmarkRegexMatch-8 1000000 1468 ns/op
131-
BenchmarkRegexMatch-8 1000000 1531 ns/op
132-
BenchmarkRegexMatch-8 1000000 1457 ns/op
133-
BenchmarkRegexMatch-8 1000000 1439 ns/op
134-
BenchmarkBinaryOperators-8 2000000 818 ns/op
135-
BenchmarkBinaryOperators-8 2000000 822 ns/op
136-
BenchmarkBinaryOperators-8 2000000 829 ns/op
119+
BenchmarkGetField-8 3000000 505 ns/op
120+
BenchmarkGetField-8 3000000 506 ns/op
121+
BenchmarkGetField-8 3000000 500 ns/op
122+
BenchmarkGetField-8 3000000 509 ns/op
123+
BenchmarkGetField-8 3000000 503 ns/op
124+
BenchmarkSetField-8 2000000 974 ns/op
125+
BenchmarkSetField-8 2000000 968 ns/op
126+
BenchmarkSetField-8 2000000 965 ns/op
127+
BenchmarkSetField-8 2000000 962 ns/op
128+
BenchmarkSetField-8 2000000 975 ns/op
129+
BenchmarkRegexMatch-8 1000000 1438 ns/op
130+
BenchmarkRegexMatch-8 1000000 1406 ns/op
131+
BenchmarkRegexMatch-8 1000000 1446 ns/op
132+
BenchmarkRegexMatch-8 1000000 1450 ns/op
133+
BenchmarkRegexMatch-8 1000000 1491 ns/op
134+
BenchmarkBinaryOperators-8 2000000 803 ns/op
135+
BenchmarkBinaryOperators-8 2000000 802 ns/op
137136
BenchmarkBinaryOperators-8 2000000 807 ns/op
138-
BenchmarkBinaryOperators-8 2000000 825 ns/op
137+
BenchmarkBinaryOperators-8 2000000 813 ns/op
138+
BenchmarkBinaryOperators-8 2000000 805 ns/op
139139
BenchmarkConcatSmall-8 2000000 848 ns/op
140-
BenchmarkConcatSmall-8 2000000 866 ns/op
141-
BenchmarkConcatSmall-8 2000000 851 ns/op
142-
BenchmarkConcatSmall-8 2000000 858 ns/op
143-
BenchmarkConcatSmall-8 2000000 859 ns/op
144-
BenchmarkConcatLarge-8 200 6819492 ns/op
145-
BenchmarkConcatLarge-8 200 6710580 ns/op
146-
BenchmarkConcatLarge-8 200 6747375 ns/op
147-
BenchmarkConcatLarge-8 200 6898919 ns/op
148-
BenchmarkConcatLarge-8 200 6715454 ns/op
149-
BenchmarkComparisons-8 3000000 412 ns/op
150-
BenchmarkComparisons-8 3000000 416 ns/op
151-
BenchmarkComparisons-8 3000000 420 ns/op
152-
BenchmarkComparisons-8 3000000 415 ns/op
153-
BenchmarkComparisons-8 3000000 416 ns/op
154-
BenchmarkArrayOperations-8 1000000 1058 ns/op
155-
BenchmarkArrayOperations-8 1000000 1037 ns/op
156-
BenchmarkArrayOperations-8 1000000 1043 ns/op
157-
BenchmarkArrayOperations-8 1000000 1038 ns/op
158-
BenchmarkArrayOperations-8 1000000 1051 ns/op
159-
BenchmarkAssign-8 3000000 540 ns/op
160-
BenchmarkAssign-8 3000000 529 ns/op
161-
BenchmarkAssign-8 3000000 545 ns/op
162-
BenchmarkAssign-8 3000000 525 ns/op
163-
BenchmarkAssign-8 3000000 525 ns/op
164-
BenchmarkAugAssign-8 1000000 2072 ns/op
165-
BenchmarkAugAssign-8 1000000 2043 ns/op
166-
BenchmarkAugAssign-8 1000000 2066 ns/op
167-
BenchmarkAugAssign-8 1000000 2050 ns/op
140+
BenchmarkConcatSmall-8 2000000 848 ns/op
141+
BenchmarkConcatSmall-8 2000000 849 ns/op
142+
BenchmarkConcatSmall-8 2000000 846 ns/op
143+
BenchmarkConcatSmall-8 2000000 846 ns/op
144+
BenchmarkConcatLarge-8 200 6596940 ns/op
145+
BenchmarkConcatLarge-8 200 6571812 ns/op
146+
BenchmarkConcatLarge-8 200 6834884 ns/op
147+
BenchmarkConcatLarge-8 200 6568898 ns/op
148+
BenchmarkConcatLarge-8 200 6560417 ns/op
149+
BenchmarkComparisons-8 3000000 410 ns/op
150+
BenchmarkComparisons-8 3000000 408 ns/op
151+
BenchmarkComparisons-8 3000000 444 ns/op
152+
BenchmarkComparisons-8 3000000 409 ns/op
153+
BenchmarkComparisons-8 3000000 407 ns/op
154+
BenchmarkArrayOperations-8 1000000 1029 ns/op
155+
BenchmarkArrayOperations-8 1000000 1041 ns/op
156+
BenchmarkArrayOperations-8 1000000 1021 ns/op
157+
BenchmarkArrayOperations-8 1000000 1030 ns/op
158+
BenchmarkArrayOperations-8 1000000 1017 ns/op
159+
BenchmarkAssign-8 3000000 535 ns/op
160+
BenchmarkAssign-8 3000000 536 ns/op
161+
BenchmarkAssign-8 3000000 528 ns/op
162+
BenchmarkAssign-8 3000000 527 ns/op
163+
BenchmarkAssign-8 3000000 528 ns/op
164+
BenchmarkAugAssign-8 1000000 2076 ns/op
165+
BenchmarkAugAssign-8 1000000 2035 ns/op
166+
BenchmarkAugAssign-8 1000000 2033 ns/op
168167
BenchmarkAugAssign-8 1000000 2043 ns/op
168+
BenchmarkAugAssign-8 1000000 2032 ns/op
169169
PASS
170-
ok github.com/benhoyt/goawk/interp 334.364s
170+
ok github.com/benhoyt/goawk/interp 332.478s

0 commit comments

Comments
 (0)