-
-
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.
perf(es/hygiene): Fix performance bug (#3090)
swc_ecma_transforms_base: - `hygiene`: Skip checking a symbol if we are sure that it will be discarded. swc_ecma_laoder: - Optimize `NodeModulesResolver` by trying `.js` first.
- Loading branch information
Showing
12 changed files
with
819 additions
and
801 deletions.
There are no files selected for viewing
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
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.
a81661c
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
full_es2015
206207432
ns/iter (± 13589130
)216390385
ns/iter (± 14649968
)0.95
full_es2016
168746280
ns/iter (± 8221170
)185160047
ns/iter (± 13503985
)0.91
full_es2017
179735890
ns/iter (± 11667023
)187724716
ns/iter (± 19813565
)0.96
full_es2018
170482993
ns/iter (± 9776961
)172649718
ns/iter (± 13651751
)0.99
full_es2019
169737906
ns/iter (± 6648302
)171821453
ns/iter (± 15037310
)0.99
full_es2020
171396015
ns/iter (± 16562833
)172426342
ns/iter (± 14886998
)0.99
full_es3
236805957
ns/iter (± 16611377
)237646080
ns/iter (± 20946292
)1.00
full_es5
221380258
ns/iter (± 15490601
)217306388
ns/iter (± 16446117
)1.02
parser
759486
ns/iter (± 48945
)791618
ns/iter (± 118346
)0.96
This comment was automatically generated by workflow using github-action-benchmark.