Permalink
Browse files

Use faster version of TrimSpace to speed up numeric string handling

Not sure why a few benchmarks are slower -- I tried it a couple of
times and the faster ones were consistent but the slower ones changed,
so I think it's just noise.

See also https://go-review.googlesource.com/c/go/+/152917

name                    old time/op  new time/op  delta
BuiltinIndex-8          1.51µs ± 2%  1.57µs ± 4%  +3.52%  (p=0.016 n=5+5)
BinaryOperators-8        755ns ± 2%   774ns ± 2%  +2.49%  (p=0.024 n=5+5)
Assign-8                 512ns ± 1%   521ns ± 3%  +1.88%  (p=0.032 n=5+5)
BuiltinSprintf-8        10.0µs ± 0%  10.1µs ± 1%  +0.94%  (p=0.008 n=5+5)
ConcatSmall-8            813ns ± 0%   821ns ± 1%  +0.91%  (p=0.024 n=5+5)
GlobalVars-8             621ns ± 1%   623ns ± 1%    ~     (p=0.460 n=5+5)
LocalVars-8              598ns ± 1%   598ns ± 3%    ~     (p=0.516 n=5+5)
IncrDecr-8               704ns ± 3%   718ns ± 2%    ~     (p=0.286 n=5+5)
SimpleBuiltins-8        1.28µs ± 3%  1.28µs ± 4%    ~     (p=0.690 n=5+5)
BuiltinMatch-8          3.04µs ± 1%  3.07µs ± 1%    ~     (p=0.151 n=5+5)
BuiltinLength-8          927ns ± 5%   934ns ± 7%    ~     (p=0.841 n=5+5)
BuiltinSubstr-8         1.54µs ± 4%  1.57µs ± 5%    ~     (p=0.421 n=5+5)
BuiltinSub-8            13.5µs ± 1%  13.5µs ± 3%    ~     (p=0.548 n=5+5)
BuiltinSubAmpersand-8   13.5µs ± 2%  13.6µs ± 1%    ~     (p=0.690 n=5+5)
BuiltinGsub-8           16.0µs ± 2%  16.1µs ± 2%    ~     (p=0.690 n=5+5)
BuiltinGsubAmpersand-8  15.9µs ± 0%  16.0µs ± 2%    ~     (p=1.000 n=5+5)
RecursiveFunc-8         16.1µs ± 1%  16.1µs ± 2%    ~     (p=1.000 n=5+5)
FuncCall-8              3.05µs ± 1%  3.05µs ± 2%    ~     (p=1.000 n=5+5)
NativeFunc-8            8.68µs ± 1%  8.74µs ± 2%    ~     (p=0.548 n=5+5)
ForLoop-8               5.53µs ± 2%  5.51µs ± 3%    ~     (p=0.548 n=5+5)
ForInLoop-8             2.01µs ± 2%  2.01µs ± 2%    ~     (p=0.952 n=5+5)
IfStatement-8            265ns ± 2%   265ns ± 1%    ~     (p=0.952 n=5+5)
CondExpr-8               261ns ± 1%   261ns ± 2%    ~     (p=1.000 n=5+5)
SetField-8               965ns ± 1%   957ns ± 1%    ~     (p=0.206 n=5+5)
RegexMatch-8            1.39µs ± 3%  1.43µs ± 5%    ~     (p=0.151 n=5+5)
ConcatLarge-8           6.81ms ± 1%  6.83ms ± 1%    ~     (p=0.690 n=5+5)
Comparisons-8            371ns ± 2%   376ns ± 1%    ~     (p=0.183 n=5+5)
ArrayOperations-8        990ns ± 1%   995ns ± 6%    ~     (p=0.310 n=5+5)
AugAssign-8             1.96µs ± 1%  1.94µs ± 1%    ~     (p=0.111 n=5+5)
BuiltinSplitRegex-8      135µs ± 1%   127µs ± 1%  -5.67%  (p=0.008 n=5+5)
SimplePattern-8          187ns ± 2%   172ns ± 3%  -7.93%  (p=0.008 n=5+5)
GetField-8               510ns ± 1%   468ns ± 2%  -8.28%  (p=0.008 n=5+5)
BuiltinSplitSpace-8     87.8µs ± 1%  79.2µs ± 2%  -9.89%  (p=0.008 n=5+5)
[Geo mean]              2.83µs       2.82µs       -0.38%
  • Loading branch information...
benhoyt committed Dec 7, 2018
1 parent 75dff9d commit 5cc26a70a6111a769f5dd14541bd45d75eed7dd4
Showing with 313 additions and 162 deletions.
  1. +159 −159 benchmarks.txt
  2. +53 −0 internal/strutil/strutil.go
  3. +97 −0 internal/strutil/strutil_test.go
  4. +4 −3 interp/value.go
@@ -1,170 +1,170 @@
goos: darwin
goarch: amd64
pkg: github.com/benhoyt/goawk/interp
BenchmarkGlobalVars-8 2000000 630 ns/op
BenchmarkGlobalVars-8 2000000 627 ns/op
BenchmarkGlobalVars-8 2000000 626 ns/op
BenchmarkGlobalVars-8 2000000 618 ns/op
BenchmarkGlobalVars-8 2000000 623 ns/op
BenchmarkGlobalVars-8 2000000 620 ns/op
BenchmarkGlobalVars-8 2000000 614 ns/op
BenchmarkGlobalVars-8 2000000 617 ns/op
BenchmarkLocalVars-8 2000000 606 ns/op
BenchmarkLocalVars-8 3000000 601 ns/op
BenchmarkLocalVars-8 3000000 601 ns/op
BenchmarkLocalVars-8 3000000 593 ns/op
BenchmarkLocalVars-8 3000000 591 ns/op
BenchmarkIncrDecr-8 2000000 683 ns/op
BenchmarkIncrDecr-8 2000000 719 ns/op
BenchmarkIncrDecr-8 2000000 720 ns/op
BenchmarkIncrDecr-8 2000000 689 ns/op
BenchmarkIncrDecr-8 2000000 707 ns/op
BenchmarkSimpleBuiltins-8 1000000 1310 ns/op
BenchmarkSimpleBuiltins-8 1000000 1266 ns/op
BenchmarkSimpleBuiltins-8 1000000 1312 ns/op
BenchmarkSimpleBuiltins-8 1000000 1247 ns/op
BenchmarkSimpleBuiltins-8 1000000 1254 ns/op
BenchmarkBuiltinMatch-8 500000 3037 ns/op
BenchmarkBuiltinMatch-8 500000 3033 ns/op
BenchmarkBuiltinMatch-8 500000 3032 ns/op
BenchmarkBuiltinMatch-8 500000 3062 ns/op
BenchmarkBuiltinMatch-8 500000 3019 ns/op
BenchmarkBuiltinLength-8 2000000 897 ns/op
BenchmarkBuiltinLength-8 2000000 956 ns/op
BenchmarkBuiltinLength-8 2000000 954 ns/op
BenchmarkBuiltinLength-8 2000000 949 ns/op
BenchmarkBuiltinLength-8 2000000 877 ns/op
BenchmarkBuiltinIndex-8 1000000 1513 ns/op
BenchmarkBuiltinIndex-8 1000000 1515 ns/op
BenchmarkBuiltinIndex-8 1000000 1511 ns/op
BenchmarkBuiltinIndex-8 1000000 1483 ns/op
BenchmarkBuiltinIndex-8 1000000 1543 ns/op
BenchmarkBuiltinSubstr-8 1000000 1473 ns/op
BenchmarkBuiltinSubstr-8 1000000 1506 ns/op
BenchmarkBuiltinSubstr-8 1000000 1603 ns/op
BenchmarkBuiltinSubstr-8 1000000 1600 ns/op
BenchmarkBuiltinSubstr-8 1000000 1527 ns/op
BenchmarkBuiltinSplitSpace-8 20000 88310 ns/op
BenchmarkBuiltinSplitSpace-8 20000 87479 ns/op
BenchmarkBuiltinSplitSpace-8 20000 87461 ns/op
BenchmarkBuiltinSplitSpace-8 20000 88843 ns/op
BenchmarkBuiltinSplitSpace-8 20000 87147 ns/op
BenchmarkBuiltinSplitRegex-8 10000 134356 ns/op
BenchmarkBuiltinSplitRegex-8 10000 136508 ns/op
BenchmarkBuiltinSplitRegex-8 10000 134236 ns/op
BenchmarkBuiltinSplitRegex-8 10000 135895 ns/op
BenchmarkBuiltinSplitRegex-8 10000 134196 ns/op
BenchmarkBuiltinSub-8 100000 13454 ns/op
BenchmarkBuiltinSub-8 100000 13417 ns/op
BenchmarkBuiltinSub-8 100000 13549 ns/op
BenchmarkBuiltinSub-8 100000 13413 ns/op
BenchmarkBuiltinSub-8 100000 13477 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13478 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13472 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13748 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13575 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13401 ns/op
BenchmarkBuiltinGsub-8 100000 15946 ns/op
BenchmarkBuiltinGsub-8 100000 16063 ns/op
BenchmarkBuiltinGsub-8 100000 15905 ns/op
BenchmarkBuiltinGsub-8 100000 16381 ns/op
BenchmarkBuiltinGsub-8 100000 15886 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 15950 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 15858 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 15913 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 15964 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 15834 ns/op
BenchmarkBuiltinSprintf-8 200000 9969 ns/op
BenchmarkBuiltinSprintf-8 200000 10002 ns/op
BenchmarkBuiltinSprintf-8 200000 9936 ns/op
BenchmarkBuiltinSprintf-8 200000 9959 ns/op
BenchmarkBuiltinSprintf-8 200000 9953 ns/op
BenchmarkRecursiveFunc-8 100000 15999 ns/op
BenchmarkRecursiveFunc-8 100000 16215 ns/op
BenchmarkRecursiveFunc-8 100000 16087 ns/op
BenchmarkRecursiveFunc-8 100000 16056 ns/op
BenchmarkRecursiveFunc-8 100000 16145 ns/op
BenchmarkFuncCall-8 500000 3038 ns/op
BenchmarkFuncCall-8 500000 3030 ns/op
BenchmarkFuncCall-8 500000 3091 ns/op
BenchmarkFuncCall-8 500000 3095 ns/op
BenchmarkFuncCall-8 500000 3015 ns/op
BenchmarkNativeFunc-8 200000 8697 ns/op
BenchmarkNativeFunc-8 200000 8699 ns/op
BenchmarkNativeFunc-8 200000 8625 ns/op
BenchmarkNativeFunc-8 200000 8696 ns/op
BenchmarkNativeFunc-8 200000 8661 ns/op
BenchmarkForLoop-8 300000 5567 ns/op
BenchmarkForLoop-8 300000 5446 ns/op
BenchmarkForLoop-8 300000 5509 ns/op
BenchmarkForLoop-8 300000 5548 ns/op
BenchmarkForLoop-8 300000 5597 ns/op
BenchmarkForInLoop-8 1000000 1986 ns/op
BenchmarkForInLoop-8 1000000 2003 ns/op
BenchmarkForInLoop-8 1000000 1990 ns/op
BenchmarkForInLoop-8 1000000 2023 ns/op
BenchmarkForInLoop-8 1000000 2053 ns/op
BenchmarkIfStatement-8 5000000 263 ns/op
BenchmarkIfStatement-8 5000000 270 ns/op
BenchmarkIfStatement-8 5000000 266 ns/op
BenchmarkIfStatement-8 5000000 261 ns/op
BenchmarkGlobalVars-8 2000000 622 ns/op
BenchmarkLocalVars-8 2000000 617 ns/op
BenchmarkLocalVars-8 2000000 590 ns/op
BenchmarkLocalVars-8 3000000 595 ns/op
BenchmarkLocalVars-8 2000000 600 ns/op
BenchmarkLocalVars-8 3000000 589 ns/op
BenchmarkIncrDecr-8 2000000 717 ns/op
BenchmarkIncrDecr-8 2000000 717 ns/op
BenchmarkIncrDecr-8 2000000 706 ns/op
BenchmarkIncrDecr-8 2000000 722 ns/op
BenchmarkIncrDecr-8 2000000 728 ns/op
BenchmarkSimpleBuiltins-8 1000000 1262 ns/op
BenchmarkSimpleBuiltins-8 1000000 1334 ns/op
BenchmarkSimpleBuiltins-8 1000000 1264 ns/op
BenchmarkSimpleBuiltins-8 1000000 1279 ns/op
BenchmarkSimpleBuiltins-8 1000000 1267 ns/op
BenchmarkBuiltinMatch-8 500000 3079 ns/op
BenchmarkBuiltinMatch-8 500000 3070 ns/op
BenchmarkBuiltinMatch-8 500000 3023 ns/op
BenchmarkBuiltinMatch-8 500000 3106 ns/op
BenchmarkBuiltinMatch-8 500000 3058 ns/op
BenchmarkBuiltinLength-8 2000000 976 ns/op
BenchmarkBuiltinLength-8 2000000 947 ns/op
BenchmarkBuiltinLength-8 2000000 948 ns/op
BenchmarkBuiltinLength-8 2000000 930 ns/op
BenchmarkBuiltinLength-8 2000000 869 ns/op
BenchmarkBuiltinIndex-8 1000000 1557 ns/op
BenchmarkBuiltinIndex-8 1000000 1528 ns/op
BenchmarkBuiltinIndex-8 1000000 1579 ns/op
BenchmarkBuiltinIndex-8 1000000 1544 ns/op
BenchmarkBuiltinIndex-8 1000000 1623 ns/op
BenchmarkBuiltinSubstr-8 1000000 1640 ns/op
BenchmarkBuiltinSubstr-8 1000000 1559 ns/op
BenchmarkBuiltinSubstr-8 1000000 1612 ns/op
BenchmarkBuiltinSubstr-8 1000000 1528 ns/op
BenchmarkBuiltinSubstr-8 1000000 1499 ns/op
BenchmarkBuiltinSplitSpace-8 20000 80469 ns/op
BenchmarkBuiltinSplitSpace-8 20000 77854 ns/op
BenchmarkBuiltinSplitSpace-8 20000 80669 ns/op
BenchmarkBuiltinSplitSpace-8 20000 78628 ns/op
BenchmarkBuiltinSplitSpace-8 20000 78161 ns/op
BenchmarkBuiltinSplitRegex-8 10000 127553 ns/op
BenchmarkBuiltinSplitRegex-8 10000 126472 ns/op
BenchmarkBuiltinSplitRegex-8 10000 128264 ns/op
BenchmarkBuiltinSplitRegex-8 10000 126153 ns/op
BenchmarkBuiltinSplitRegex-8 10000 128460 ns/op
BenchmarkBuiltinSub-8 100000 13441 ns/op
BenchmarkBuiltinSub-8 100000 13440 ns/op
BenchmarkBuiltinSub-8 100000 13408 ns/op
BenchmarkBuiltinSub-8 100000 13871 ns/op
BenchmarkBuiltinSub-8 100000 13336 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13601 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13443 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13626 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13452 ns/op
BenchmarkBuiltinSubAmpersand-8 100000 13781 ns/op
BenchmarkBuiltinGsub-8 100000 16024 ns/op
BenchmarkBuiltinGsub-8 100000 15857 ns/op
BenchmarkBuiltinGsub-8 100000 16490 ns/op
BenchmarkBuiltinGsub-8 100000 16127 ns/op
BenchmarkBuiltinGsub-8 100000 15998 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 15779 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 16341 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 15912 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 15794 ns/op
BenchmarkBuiltinGsubAmpersand-8 100000 16017 ns/op
BenchmarkBuiltinSprintf-8 200000 10016 ns/op
BenchmarkBuiltinSprintf-8 200000 10042 ns/op
BenchmarkBuiltinSprintf-8 100000 10135 ns/op
BenchmarkBuiltinSprintf-8 200000 10087 ns/op
BenchmarkBuiltinSprintf-8 200000 10006 ns/op
BenchmarkRecursiveFunc-8 100000 16375 ns/op
BenchmarkRecursiveFunc-8 100000 15963 ns/op
BenchmarkRecursiveFunc-8 100000 15857 ns/op
BenchmarkRecursiveFunc-8 100000 16236 ns/op
BenchmarkRecursiveFunc-8 100000 16109 ns/op
BenchmarkFuncCall-8 500000 2993 ns/op
BenchmarkFuncCall-8 500000 3099 ns/op
BenchmarkFuncCall-8 500000 3016 ns/op
BenchmarkFuncCall-8 500000 3059 ns/op
BenchmarkFuncCall-8 500000 3061 ns/op
BenchmarkNativeFunc-8 200000 8682 ns/op
BenchmarkNativeFunc-8 200000 8789 ns/op
BenchmarkNativeFunc-8 200000 8892 ns/op
BenchmarkNativeFunc-8 200000 8664 ns/op
BenchmarkNativeFunc-8 200000 8678 ns/op
BenchmarkForLoop-8 300000 5660 ns/op
BenchmarkForLoop-8 300000 5472 ns/op
BenchmarkForLoop-8 300000 5468 ns/op
BenchmarkForLoop-8 300000 5492 ns/op
BenchmarkForLoop-8 300000 5479 ns/op
BenchmarkForInLoop-8 1000000 1977 ns/op
BenchmarkForInLoop-8 1000000 2026 ns/op
BenchmarkForInLoop-8 1000000 1984 ns/op
BenchmarkForInLoop-8 1000000 2026 ns/op
BenchmarkForInLoop-8 1000000 2042 ns/op
BenchmarkIfStatement-8 5000000 265 ns/op
BenchmarkCondExpr-8 5000000 259 ns/op
BenchmarkCondExpr-8 5000000 264 ns/op
BenchmarkCondExpr-8 5000000 260 ns/op
BenchmarkCondExpr-8 5000000 261 ns/op
BenchmarkIfStatement-8 5000000 264 ns/op
BenchmarkIfStatement-8 5000000 264 ns/op
BenchmarkIfStatement-8 5000000 269 ns/op
BenchmarkIfStatement-8 5000000 265 ns/op
BenchmarkCondExpr-8 5000000 262 ns/op
BenchmarkCondExpr-8 5000000 266 ns/op
BenchmarkCondExpr-8 5000000 261 ns/op
BenchmarkSimplePattern-8 10000000 187 ns/op
BenchmarkSimplePattern-8 10000000 190 ns/op
BenchmarkSimplePattern-8 10000000 184 ns/op
BenchmarkSimplePattern-8 10000000 186 ns/op
BenchmarkSimplePattern-8 10000000 186 ns/op
BenchmarkGetField-8 3000000 504 ns/op
BenchmarkGetField-8 3000000 511 ns/op
BenchmarkGetField-8 3000000 517 ns/op
BenchmarkGetField-8 3000000 508 ns/op
BenchmarkGetField-8 3000000 509 ns/op
BenchmarkSetField-8 2000000 960 ns/op
BenchmarkSetField-8 2000000 966 ns/op
BenchmarkSetField-8 2000000 956 ns/op
BenchmarkSetField-8 2000000 971 ns/op
BenchmarkSetField-8 2000000 971 ns/op
BenchmarkRegexMatch-8 1000000 1350 ns/op
BenchmarkRegexMatch-8 1000000 1433 ns/op
BenchmarkRegexMatch-8 1000000 1372 ns/op
BenchmarkRegexMatch-8 1000000 1399 ns/op
BenchmarkRegexMatch-8 1000000 1403 ns/op
BenchmarkCondExpr-8 5000000 255 ns/op
BenchmarkCondExpr-8 5000000 259 ns/op
BenchmarkSimplePattern-8 10000000 169 ns/op
BenchmarkSimplePattern-8 10000000 177 ns/op
BenchmarkSimplePattern-8 10000000 175 ns/op
BenchmarkSimplePattern-8 10000000 171 ns/op
BenchmarkSimplePattern-8 10000000 167 ns/op
BenchmarkGetField-8 3000000 472 ns/op
BenchmarkGetField-8 3000000 468 ns/op
BenchmarkGetField-8 3000000 459 ns/op
BenchmarkGetField-8 3000000 467 ns/op
BenchmarkGetField-8 3000000 472 ns/op
BenchmarkSetField-8 2000000 962 ns/op
BenchmarkSetField-8 2000000 961 ns/op
BenchmarkSetField-8 2000000 963 ns/op
BenchmarkSetField-8 2000000 946 ns/op
BenchmarkSetField-8 2000000 954 ns/op
BenchmarkRegexMatch-8 1000000 1419 ns/op
BenchmarkRegexMatch-8 1000000 1366 ns/op
BenchmarkRegexMatch-8 1000000 1444 ns/op
BenchmarkRegexMatch-8 1000000 1475 ns/op
BenchmarkRegexMatch-8 1000000 1451 ns/op
BenchmarkBinaryOperators-8 2000000 776 ns/op
BenchmarkBinaryOperators-8 2000000 768 ns/op
BenchmarkBinaryOperators-8 2000000 760 ns/op
BenchmarkBinaryOperators-8 2000000 748 ns/op
BenchmarkBinaryOperators-8 2000000 757 ns/op
BenchmarkBinaryOperators-8 2000000 767 ns/op
BenchmarkBinaryOperators-8 2000000 744 ns/op
BenchmarkConcatSmall-8 2000000 813 ns/op
BenchmarkBinaryOperators-8 2000000 775 ns/op
BenchmarkBinaryOperators-8 2000000 791 ns/op
BenchmarkConcatSmall-8 2000000 830 ns/op
BenchmarkConcatSmall-8 2000000 817 ns/op
BenchmarkConcatSmall-8 2000000 821 ns/op
BenchmarkConcatSmall-8 2000000 816 ns/op
BenchmarkConcatSmall-8 2000000 811 ns/op
BenchmarkConcatSmall-8 2000000 816 ns/op
BenchmarkConcatSmall-8 2000000 811 ns/op
BenchmarkConcatLarge-8 200 6835894 ns/op
BenchmarkConcatLarge-8 200 6763500 ns/op
BenchmarkConcatLarge-8 200 6775964 ns/op
BenchmarkConcatLarge-8 200 6871034 ns/op
BenchmarkConcatLarge-8 200 6808726 ns/op
BenchmarkComparisons-8 5000000 366 ns/op
BenchmarkComparisons-8 5000000 373 ns/op
BenchmarkComparisons-8 5000000 364 ns/op
BenchmarkConcatSmall-8 2000000 820 ns/op
BenchmarkConcatLarge-8 200 6846364 ns/op
BenchmarkConcatLarge-8 200 6903931 ns/op
BenchmarkConcatLarge-8 200 6806634 ns/op
BenchmarkConcatLarge-8 200 6818047 ns/op
BenchmarkConcatLarge-8 200 6773694 ns/op
BenchmarkComparisons-8 5000000 374 ns/op
BenchmarkComparisons-8 5000000 377 ns/op
BenchmarkComparisons-8 5000000 375 ns/op
BenchmarkComparisons-8 5000000 375 ns/op
BenchmarkArrayOperations-8 1000000 1001 ns/op
BenchmarkArrayOperations-8 2000000 994 ns/op
BenchmarkArrayOperations-8 2000000 984 ns/op
BenchmarkArrayOperations-8 2000000 981 ns/op
BenchmarkArrayOperations-8 2000000 990 ns/op
BenchmarkAssign-8 3000000 511 ns/op
BenchmarkAssign-8 3000000 509 ns/op
BenchmarkAssign-8 3000000 510 ns/op
BenchmarkAssign-8 3000000 511 ns/op
BenchmarkAssign-8 3000000 518 ns/op
BenchmarkAugAssign-8 1000000 1974 ns/op
BenchmarkComparisons-8 5000000 373 ns/op
BenchmarkComparisons-8 5000000 381 ns/op
BenchmarkArrayOperations-8 2000000 980 ns/op
BenchmarkArrayOperations-8 2000000 989 ns/op
BenchmarkArrayOperations-8 2000000 972 ns/op
BenchmarkArrayOperations-8 2000000 1058 ns/op
BenchmarkArrayOperations-8 2000000 976 ns/op
BenchmarkAssign-8 3000000 535 ns/op
BenchmarkAssign-8 3000000 517 ns/op
BenchmarkAssign-8 3000000 517 ns/op
BenchmarkAssign-8 3000000 521 ns/op
BenchmarkAssign-8 3000000 517 ns/op
BenchmarkAugAssign-8 1000000 1929 ns/op
BenchmarkAugAssign-8 1000000 1953 ns/op
BenchmarkAugAssign-8 1000000 1964 ns/op
BenchmarkAugAssign-8 1000000 1972 ns/op
BenchmarkAugAssign-8 1000000 1939 ns/op
BenchmarkAugAssign-8 1000000 1956 ns/op
BenchmarkAugAssign-8 1000000 1935 ns/op
BenchmarkAugAssign-8 1000000 1945 ns/op
PASS
ok github.com/benhoyt/goawk/interp 341.948s
ok github.com/benhoyt/goawk/interp 340.274s
Oops, something went wrong.

0 comments on commit 5cc26a7

Please sign in to comment.