-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(es/minifier): Implement more evaluation rules (#4030)
- Loading branch information
Showing
73 changed files
with
291 additions
and
196 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/additionOperatorWithAnyAndEveryType_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/additionOperatorWithNumberAndEnum_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
var E, F; | ||
(function(E) { | ||
!function(E) { | ||
E[E.a = 0] = "a", E[E.b = 1] = "b"; | ||
})(E || (E = {})), function(F) { | ||
}(E || (E = {})), function(F) { | ||
F[F.c = 0] = "c", F[F.d = 1] = "d"; | ||
}(F || (F = {})), E.a, E.a + E.b, E.a + E.b, E.a + F.c; |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/additionOperatorWithNumberAndEnum_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
var E, F; | ||
(function(E) { | ||
!function(E) { | ||
E[E.a = 0] = "a", E[E.b = 1] = "b"; | ||
})(E || (E = {})), function(F) { | ||
}(E || (E = {})), function(F) { | ||
F[F.c = 0] = "c", F[F.d = 1] = "d"; | ||
}(F || (F = {})), E.a, E.a + E.b, E.a + E.b, E.a + F.c; |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/arithmeticOperatorWithEnumUnion_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
var E, F; | ||
(function(E) { | ||
!function(E) { | ||
E[E.a = 0] = "a", E[E.b = 1] = "b"; | ||
})(E || (E = {})), function(F) { | ||
}(E || (E = {})), function(F) { | ||
F[F.c = 0] = "c", F[F.d = 1] = "d"; | ||
}(F || (F = {})), E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b; |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/arithmeticOperatorWithEnumUnion_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
var E, F; | ||
(function(E) { | ||
!function(E) { | ||
E[E.a = 0] = "a", E[E.b = 1] = "b"; | ||
})(E || (E = {})), function(F) { | ||
}(E || (E = {})), function(F) { | ||
F[F.c = 0] = "c", F[F.d = 1] = "d"; | ||
}(F || (F = {})), E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b; |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/constEnumPropertyAccess2_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
var G; | ||
(function(G) { | ||
!function(G) { | ||
G[G.A = 1] = "A", G[G.B = 2] = "B", G[G.C = 3] = "C", G[G.D = 2] = "D"; | ||
})(G || (G = {})), G[1], G.B = 3; | ||
}(G || (G = {})), G[1], G.B = 3; |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/constEnumPropertyAccess2_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
var G; | ||
(function(G) { | ||
!function(G) { | ||
G[G.A = 1] = "A", G[G.B = 2] = "B", G[G.C = 3] = "C", G[G.D = 2] = "D"; | ||
})(G || (G = {})), G[1], G.B = 3; | ||
}(G || (G = {})), G[1], G.B = 3; |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/contextuallyTypedIifeStrict_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/contextuallyTypedIife_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/enumAssignabilityInInheritance_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/enumAssignability_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
var E, F; | ||
(function(E) { | ||
!function(E) { | ||
E[E.A = 0] = "A"; | ||
})(E || (E = {})), function(F) { | ||
}(E || (E = {})), function(F) { | ||
F[F.B = 0] = "B"; | ||
}(F || (F = {})), E.A, F.B; |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/enumAssignability_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/enumClassification_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/enumClassification_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/exponentiationOperatorWithEnumUnion_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
var E, F, a, b; | ||
(function(E) { | ||
!function(E) { | ||
E[E.a = 0] = "a", E[E.b = 1] = "b"; | ||
})(E || (E = {})), function(F) { | ||
}(E || (E = {})), function(F) { | ||
F[F.c = 0] = "c", F[F.d = 1] = "d"; | ||
}(F || (F = {})), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b); |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/exponentiationOperatorWithEnumUnion_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
var E, F, a, b; | ||
(function(E) { | ||
!function(E) { | ||
E[E.a = 0] = "a", E[E.b = 1] = "b"; | ||
})(E || (E = {})), function(F) { | ||
}(E || (E = {})), function(F) { | ||
F[F.c = 0] = "c", F[F.d = 1] = "d"; | ||
}(F || (F = {})), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b); |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/invalidUndefinedAssignments_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
var x, E, M; | ||
(function(E) { | ||
!function(E) { | ||
E[E.A = 0] = "A"; | ||
})(E || (E = {})), (E = x).A = x, I = x, (M || (M = {})).x = 1, M = x; | ||
}(E || (E = {})), (E = x).A = x, I = x, (M || (M = {})).x = 1, M = x; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/tsc-references/newTargetNarrowing_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
(function() { | ||
!0 === new.target.marked; | ||
new.target.marked; | ||
}).marked = !0; |
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/tsc-references/newTargetNarrowing_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import * as swcHelpers from "@swc/helpers"; | ||
function f() { | ||
!0 === (swcHelpers._instanceof(this, f) ? this.constructor : void 0).marked; | ||
(swcHelpers._instanceof(this, f) ? this.constructor : void 0).marked; | ||
} | ||
f.marked = !0; |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/noUncheckedIndexedAccess_es2015.2.minified.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/noUncheckedIndexedAccess_es5.2.minified.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/tsc-references/nonPrimitiveStrictNull_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
var a; | ||
a.toString, a = void 0, a = null, a = b, a = c, a = a = d, "object" != typeof b && b.toString(), "object" == typeof b && (a = b), "object" == typeof d && (b = d), d.toString(), d, d.toString(), d, d.toString(), d, d.toString(); | ||
a.toString, a = void 0, a = null, a = b, a = c, a = a = d, "object" != typeof b && b.toString(), "object" == typeof b && (a = b), "object" == typeof d && (b = d), d.toString(), d, d.toString(), d, d.toString(), d.toString(); |
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/tsc-references/nonPrimitiveStrictNull_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
var a; | ||
a.toString, a = void 0, a = null, a = b, a = c, a = a = d, "object" != typeof b && b.toString(), "object" == typeof b && (a = b), "object" == typeof d && (b = d), d.toString(), d, d.toString(), d, d.toString(), d, d.toString(); | ||
a.toString, a = void 0, a = null, a = b, a = c, a = a = d, "object" != typeof b && b.toString(), "object" == typeof b && (a = b), "object" == typeof d && (b = d), d.toString(), d, d.toString(), d, d.toString(), d.toString(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/tsc-references/parserRealSource8_es2015.2.minified.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/tsc-references/parserRealSource8_es5.2.minified.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/tsc-references/tsxExternalModuleEmit2_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import * as swcHelpers from "@swc/helpers"; | ||
import Main from "mod"; | ||
Foo, swcHelpers.extends({}, Main); | ||
Foo, Foo, swcHelpers.extends({}, Main); |
2 changes: 1 addition & 1 deletion
2
crates/swc/tests/tsc-references/tsxExternalModuleEmit2_es5.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import * as swcHelpers from "@swc/helpers"; | ||
import Main from "mod"; | ||
Foo, swcHelpers.extends({}, Main); | ||
Foo, Foo, swcHelpers.extends({}, Main); |
4 changes: 2 additions & 2 deletions
4
crates/swc/tests/tsc-references/validNullAssignments_es2015.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
var E, M; | ||
(function(E) { | ||
!function(E) { | ||
E[E.A = 0] = "A"; | ||
})(E || (E = {})), E.A = null, I = null, (M || (M = {})).x = 1, M = null; | ||
}(E || (E = {})), E.A = null, I = null, (M || (M = {})).x = 1, M = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
c6f8742
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
base_tr_fixer
27698
ns/iter (± 567
)22992
ns/iter (± 349
)1.20
base_tr_resolver_and_hygiene
114516
ns/iter (± 10926
)93055
ns/iter (± 27218
)1.23
codegen_es2015
35905
ns/iter (± 697
)30467
ns/iter (± 244
)1.18
codegen_es2016
35868
ns/iter (± 1771
)30398
ns/iter (± 205
)1.18
codegen_es2017
36005
ns/iter (± 741
)30341
ns/iter (± 208
)1.19
codegen_es2018
36072
ns/iter (± 1147
)30384
ns/iter (± 171
)1.19
codegen_es2019
35966
ns/iter (± 4722
)30543
ns/iter (± 243
)1.18
codegen_es2020
35886
ns/iter (± 535
)30488
ns/iter (± 184
)1.18
codegen_es3
35949
ns/iter (± 513
)30430
ns/iter (± 234
)1.18
codegen_es5
35984
ns/iter (± 5057
)30384
ns/iter (± 185
)1.18
full_es2015
160267667
ns/iter (± 28731335
)137760772
ns/iter (± 13651208
)1.16
full_es2016
158737242
ns/iter (± 5981787
)137186677
ns/iter (± 8218002
)1.16
full_es2017
157030114
ns/iter (± 4198235
)136489065
ns/iter (± 11585787
)1.15
full_es2018
155765100
ns/iter (± 5328270
)136186578
ns/iter (± 10434510
)1.14
full_es2019
154642258
ns/iter (± 10908742
)134904679
ns/iter (± 12551137
)1.15
full_es2020
149760421
ns/iter (± 4035459
)126108380
ns/iter (± 8641300
)1.19
full_es3
212541156
ns/iter (± 6107142
)184130325
ns/iter (± 11098656
)1.15
full_es5
200493038
ns/iter (± 9600430
)174411204
ns/iter (± 12953297
)1.15
parser
662412
ns/iter (± 15273
)573845
ns/iter (± 13337
)1.15
ser_ast_node
175
ns/iter (± 4
)147
ns/iter (± 2
)1.19
ser_serde
173
ns/iter (± 1
)147
ns/iter (± 0
)1.18
emit_colors
11808055
ns/iter (± 8554188
)15326889
ns/iter (± 11994750
)0.77
emit_large
60687171
ns/iter (± 82280261
)77165251
ns/iter (± 98572449
)0.79
base_clone
2687188
ns/iter (± 151890
)2384471
ns/iter (± 1240390
)1.13
fold_span
4493084
ns/iter (± 194146
)3861026
ns/iter (± 452844
)1.16
fold_span_panic
4873936
ns/iter (± 368509
)4124225
ns/iter (± 423909
)1.18
visit_mut_span
3226047
ns/iter (± 103192
)2745511
ns/iter (± 91512
)1.18
visit_mut_span_panic
3276176
ns/iter (± 129629
)2798129
ns/iter (± 163191
)1.17
usage_builtin_type
19353766
ns/iter (± 11731035
)15917733
ns/iter (± 9882055
)1.22
usage_property
473214
ns/iter (± 14935
)401770
ns/iter (± 1398
)1.18
boxing_boxed
164
ns/iter (± 0
)134
ns/iter (± 1
)1.22
boxing_boxed_clone
84
ns/iter (± 0
)69
ns/iter (± 2
)1.22
boxing_unboxed
143
ns/iter (± 0
)126
ns/iter (± 0
)1.13
boxing_unboxed_clone
76
ns/iter (± 0
)63
ns/iter (± 0
)1.21
time_10
367
ns/iter (± 11
)310
ns/iter (± 8
)1.18
time_15
769
ns/iter (± 11
)705
ns/iter (± 5
)1.09
time_20
1555
ns/iter (± 56
)1390
ns/iter (± 12
)1.12
time_40
4907
ns/iter (± 294
)7102
ns/iter (± 31
)0.69
time_5
119
ns/iter (± 3
)103
ns/iter (± 1
)1.16
time_60
10536
ns/iter (± 349
)16321
ns/iter (± 48
)0.65
total
0
ns/iter (± 0
)0
ns/iter (± 0
)NaN
This comment was automatically generated by workflow using github-action-benchmark.