-
-
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/parser): Enable ergonomic brand checks for TypeScript (#2562)
- Loading branch information
Showing
5 changed files
with
103 additions
and
9 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,8 @@ class MyClass { | |
constructor() { | ||
this.#b = "test"; | ||
} | ||
|
||
method() { | ||
return #a in this; | ||
} | ||
} |
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
7b4af43
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
35100
ns/iter (± 3734
)43554
ns/iter (± 8152
)0.81
base_tr_resolver_and_hygiene
194784
ns/iter (± 38360
)257312
ns/iter (± 76314
)0.76
codegen_es2015
71218
ns/iter (± 8579
)86658
ns/iter (± 20852
)0.82
codegen_es2016
70323
ns/iter (± 9763
)86551
ns/iter (± 14508
)0.81
codegen_es2017
70639
ns/iter (± 8747
)81721
ns/iter (± 15011
)0.86
codegen_es2018
71410
ns/iter (± 7352
)86015
ns/iter (± 14978
)0.83
codegen_es2019
70733
ns/iter (± 6674
)86975
ns/iter (± 25715
)0.81
codegen_es2020
70334
ns/iter (± 4786
)84965
ns/iter (± 13748
)0.83
codegen_es3
74237
ns/iter (± 15630
)82907
ns/iter (± 19385
)0.90
codegen_es5
71998
ns/iter (± 17746
)85133
ns/iter (± 18894
)0.85
config_for_file
21142
ns/iter (± 6978
)24419
ns/iter (± 6948
)0.87
full_es2015
242484914
ns/iter (± 18911972
)286247027
ns/iter (± 46980065
)0.85
full_es2016
183601713
ns/iter (± 18834565
)211192710
ns/iter (± 42424028
)0.87
full_es2017
202973134
ns/iter (± 10171341
)238404870
ns/iter (± 38650461
)0.85
full_es2018
201353927
ns/iter (± 14774474
)230844364
ns/iter (± 53504452
)0.87
full_es2019
200952997
ns/iter (± 16495066
)220016441
ns/iter (± 18330541
)0.91
full_es2020
197900993
ns/iter (± 13087860
)225810908
ns/iter (± 32030736
)0.88
full_es3
319661510
ns/iter (± 36131705
)327971826
ns/iter (± 64329570
)0.97
full_es5
282108856
ns/iter (± 18709783
)305519339
ns/iter (± 52444340
)0.92
parser
880537
ns/iter (± 77882
)1074953
ns/iter (± 218701
)0.82
transforms_es2015
1697727
ns/iter (± 267469
)1692922
ns/iter (± 355048
)1.00
transforms_es2016
994329
ns/iter (± 148766
)1067705
ns/iter (± 297795
)0.93
transforms_es2017
959469
ns/iter (± 149776
)1130780
ns/iter (± 343205
)0.85
transforms_es2018
967215
ns/iter (± 218061
)1131820
ns/iter (± 367233
)0.85
transforms_es2019
947522
ns/iter (± 158478
)1061806
ns/iter (± 422905
)0.89
transforms_es2020
943794
ns/iter (± 173012
)1100439
ns/iter (± 404328
)0.86
transforms_es3
1944874
ns/iter (± 310723
)1958781
ns/iter (± 455848
)0.99
transforms_es5
1680377
ns/iter (± 383901
)1698294
ns/iter (± 451102
)0.99
ser_ast_node
203
ns/iter (± 18
)229
ns/iter (± 38
)0.89
ser_serde
206
ns/iter (± 14
)242
ns/iter (± 36
)0.85
emit_colors
19683349
ns/iter (± 25198916
)5914080
ns/iter (± 3772914
)3.33
emit_large
40097318
ns/iter (± 54476194
)124925023
ns/iter (± 194877657
)0.32
base_clone
3223653
ns/iter (± 717149
)3769327
ns/iter (± 3489460
)0.86
fold_span
5670201
ns/iter (± 1336944
)7035963
ns/iter (± 2525886
)0.81
fold_span_panic
5826986
ns/iter (± 1149098
)7774076
ns/iter (± 3257852
)0.75
visit_mut_span
3738613
ns/iter (± 618256
)4524281
ns/iter (± 2142394
)0.83
visit_mut_span_panic
3713744
ns/iter (± 577773
)5765586
ns/iter (± 2987761
)0.64
boxing_boxed
210
ns/iter (± 22
)209
ns/iter (± 36
)1.00
boxing_boxed_clone
84
ns/iter (± 19
)96
ns/iter (± 22
)0.88
boxing_unboxed
180
ns/iter (± 15
)193
ns/iter (± 34
)0.93
boxing_unboxed_clone
129
ns/iter (± 16
)92
ns/iter (± 24
)1.40
This comment was automatically generated by workflow using github-action-benchmark.
7b4af43
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.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.emit_colors
19683349
ns/iter (± 25198916
)5914080
ns/iter (± 3772914
)3.33
This comment was automatically generated by workflow using github-action-benchmark.
CC: @kdy1