-
-
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/transforms/react): Improve development more (#2542)
swc_ecma_transforms_react: - `jsx_src`: Add column to `__source`. - `jsx`: Support `jsxDEV`. - `jsx`: Handle `__source` and `__self` specially.
- Loading branch information
Showing
7 changed files
with
209 additions
and
71 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
Oops, something went wrong.
70f5583
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
24007
ns/iter (± 373
)23882
ns/iter (± 456
)1.01
base_tr_resolver_and_hygiene
132209
ns/iter (± 25832
)131945
ns/iter (± 14615
)1.00
codegen_es2015
51814
ns/iter (± 370
)51075
ns/iter (± 318
)1.01
codegen_es2016
51812
ns/iter (± 384
)51433
ns/iter (± 339
)1.01
codegen_es2017
51711
ns/iter (± 436
)51369
ns/iter (± 412
)1.01
codegen_es2018
51532
ns/iter (± 358
)51415
ns/iter (± 361
)1.00
codegen_es2019
51713
ns/iter (± 465
)51334
ns/iter (± 371
)1.01
codegen_es2020
51852
ns/iter (± 393
)51067
ns/iter (± 389
)1.02
codegen_es3
51688
ns/iter (± 383
)51294
ns/iter (± 439
)1.01
codegen_es5
52232
ns/iter (± 388
)51489
ns/iter (± 374
)1.01
config_for_file
14093
ns/iter (± 1641
)12890
ns/iter (± 4234
)1.09
full_es2015
191367142
ns/iter (± 14453907
)180580162
ns/iter (± 4768157
)1.06
full_es2016
147458176
ns/iter (± 10398241
)143015153
ns/iter (± 6259457
)1.03
full_es2017
159979802
ns/iter (± 8902336
)151079240
ns/iter (± 9468129
)1.06
full_es2018
158889199
ns/iter (± 14290962
)148789283
ns/iter (± 6888370
)1.07
full_es2019
157043498
ns/iter (± 10988502
)149521074
ns/iter (± 6169306
)1.05
full_es2020
158191641
ns/iter (± 17805437
)149029362
ns/iter (± 7792294
)1.06
full_es3
245769471
ns/iter (± 27496104
)217580139
ns/iter (± 19460829
)1.13
full_es5
222661476
ns/iter (± 18236583
)203851472
ns/iter (± 13214868
)1.09
parser
667874
ns/iter (± 15884
)658442
ns/iter (± 18789
)1.01
transforms_es2015
1153235
ns/iter (± 137900
)1000631
ns/iter (± 73957
)1.15
transforms_es2016
671208
ns/iter (± 50829
)591812
ns/iter (± 68531
)1.13
transforms_es2017
650588
ns/iter (± 46710
)568536
ns/iter (± 19364
)1.14
transforms_es2018
617308
ns/iter (± 50595
)562701
ns/iter (± 50204
)1.10
transforms_es2019
596335
ns/iter (± 51040
)548841
ns/iter (± 23558
)1.09
transforms_es2020
633514
ns/iter (± 37130
)538311
ns/iter (± 32579
)1.18
transforms_es3
1500632
ns/iter (± 111765
)1127953
ns/iter (± 56706
)1.33
transforms_es5
1230975
ns/iter (± 172687
)985705
ns/iter (± 28368
)1.25
ser_ast_node
150
ns/iter (± 2
)149
ns/iter (± 4
)1.01
ser_serde
158
ns/iter (± 2
)158
ns/iter (± 0
)1
emit_colors
12297831
ns/iter (± 10270197
)15695609
ns/iter (± 21418291
)0.78
emit_large
102128183
ns/iter (± 157261503
)80212289
ns/iter (± 132039808
)1.27
base_clone
2583539
ns/iter (± 911225
)2383554
ns/iter (± 65281
)1.08
fold_span
4697669
ns/iter (± 754076
)3914825
ns/iter (± 189458
)1.20
fold_span_panic
4853933
ns/iter (± 874839
)4160214
ns/iter (± 141117
)1.17
visit_mut_span
3359419
ns/iter (± 929524
)2815834
ns/iter (± 161120
)1.19
visit_mut_span_panic
3041017
ns/iter (± 430633
)2883020
ns/iter (± 90721
)1.05
boxing_boxed
144
ns/iter (± 0
)156
ns/iter (± 1
)0.92
boxing_boxed_clone
76
ns/iter (± 11
)68
ns/iter (± 0
)1.12
boxing_unboxed
136
ns/iter (± 0
)147
ns/iter (± 1
)0.93
boxing_unboxed_clone
64
ns/iter (± 0
)63
ns/iter (± 0
)1.02
This comment was automatically generated by workflow using github-action-benchmark.