forked from swc-project/swc
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
53 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
[package] | ||
authors = ["강동윤 <[email protected]>"] | ||
authors = ["강동윤 <[email protected]>"] | ||
description = "wasm module for swc" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
name = "binding_core_wasm" | ||
publish = false | ||
repository = "https://github.com/swc-project/swc.git" | ||
version = "1.3.16" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
name = "binding_core_wasm" | ||
publish = false | ||
repository = "https://github.com/swc-project/swc.git" | ||
version = "1.3.17" | ||
|
||
[lib] | ||
bench = false | ||
bench = false | ||
crate-type = ["cdylib"] | ||
|
||
[features] | ||
default = ["swc_v1"] | ||
swc_v1 = [] | ||
swc_v2 = [] | ||
swc_v1 = [] | ||
swc_v2 = [] | ||
# This feature exists to allow cargo operations | ||
plugin = ["swc_core/plugin_transform_host_js"] | ||
|
||
[dependencies] | ||
anyhow = "1.0.66" | ||
swc_core = { version = "0.43.3", features = [ | ||
serde = {version = "1", features = ["derive"]} | ||
serde-wasm-bindgen = "0.4.5" | ||
swc_core = { version = "0.43.11", features = [ | ||
"common_perf", | ||
"binding_macro_wasm", | ||
"ecma_transforms", | ||
"ecma_visit", | ||
] } | ||
tracing = { version = "0.1.37", features = ["max_level_off"] } | ||
wasm-bindgen = { version = "0.2.82", features = [ | ||
wasm-bindgen = {version = "0.2.82", features = [ | ||
"enable-interning", | ||
] } | ||
serde = { version = "1", features = ["derive"] } | ||
serde-wasm-bindgen = "0.4.5" | ||
]} | ||
|
||
[package.metadata.wasm-pack.profile.release] | ||
wasm-opt = false |
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
b8bb849
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
es/full/bugs-1
353055
ns/iter (± 44217
)353937
ns/iter (± 15478
)1.00
es/full/minify/libraries/antd
1988505266
ns/iter (± 563125181
)1868891374
ns/iter (± 34639916
)1.06
es/full/minify/libraries/d3
419251484
ns/iter (± 17313894
)421790779
ns/iter (± 8879696
)0.99
es/full/minify/libraries/echarts
1650120291
ns/iter (± 69075926
)1607486654
ns/iter (± 22612941
)1.03
es/full/minify/libraries/jquery
113164761
ns/iter (± 7701143
)112252600
ns/iter (± 5703459
)1.01
es/full/minify/libraries/lodash
130023091
ns/iter (± 6049995
)121615034
ns/iter (± 3380778
)1.07
es/full/minify/libraries/moment
64076962
ns/iter (± 880473
)61102830
ns/iter (± 2091024
)1.05
es/full/minify/libraries/react
21917407
ns/iter (± 1198778
)20960742
ns/iter (± 607548
)1.05
es/full/minify/libraries/terser
379819112
ns/iter (± 29494874
)323519854
ns/iter (± 42117752
)1.17
es/full/minify/libraries/three
628740824
ns/iter (± 25533520
)569456979
ns/iter (± 42207651
)1.10
es/full/minify/libraries/typescript
3841620423
ns/iter (± 141946489
)3461879651
ns/iter (± 132493402
)1.11
es/full/minify/libraries/victory
901124176
ns/iter (± 34929158
)885543151
ns/iter (± 20195024
)1.02
es/full/minify/libraries/vue
178745223
ns/iter (± 10025453
)188916760
ns/iter (± 9096546
)0.95
es/full/codegen/es3
35442
ns/iter (± 3171
)34554
ns/iter (± 1230
)1.03
es/full/codegen/es5
35295
ns/iter (± 1569
)34282
ns/iter (± 1448
)1.03
es/full/codegen/es2015
34826
ns/iter (± 2049
)34593
ns/iter (± 1267
)1.01
es/full/codegen/es2016
35583
ns/iter (± 2295
)34499
ns/iter (± 1368
)1.03
es/full/codegen/es2017
36072
ns/iter (± 3378
)34845
ns/iter (± 1992
)1.04
es/full/codegen/es2018
35164
ns/iter (± 1426
)34526
ns/iter (± 2356
)1.02
es/full/codegen/es2019
35416
ns/iter (± 1878
)34348
ns/iter (± 1842
)1.03
es/full/codegen/es2020
36064
ns/iter (± 4690
)34195
ns/iter (± 1428
)1.05
es/full/all/es3
203073023
ns/iter (± 17543230
)229084131
ns/iter (± 14912080
)0.89
es/full/all/es5
192440593
ns/iter (± 22588329
)180403040
ns/iter (± 11310020
)1.07
es/full/all/es2015
171551235
ns/iter (± 15322240
)148853027
ns/iter (± 7310353
)1.15
es/full/all/es2016
170863570
ns/iter (± 15352030
)149398134
ns/iter (± 16523408
)1.14
es/full/all/es2017
184069906
ns/iter (± 10597967
)163861520
ns/iter (± 14451991
)1.12
es/full/all/es2018
183605028
ns/iter (± 17257384
)156390161
ns/iter (± 15223961
)1.17
es/full/all/es2019
157555522
ns/iter (± 17224144
)149809909
ns/iter (± 12657867
)1.05
es/full/all/es2020
143430213
ns/iter (± 7728595
)139469119
ns/iter (± 10011078
)1.03
es/full/parser
754753
ns/iter (± 60178
)728932
ns/iter (± 28397
)1.04
es/full/base/fixer
28778
ns/iter (± 2770
)26728
ns/iter (± 1184
)1.08
es/full/base/resolver_and_hygiene
96839
ns/iter (± 6119
)92334
ns/iter (± 4845
)1.05
serialization of ast node
218
ns/iter (± 5
)226
ns/iter (± 9
)0.96
serialization of serde
231
ns/iter (± 15
)233
ns/iter (± 4
)0.99
This comment was automatically generated by workflow using github-action-benchmark.
b8bb849
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
es/full/bugs-1
437121
ns/iter (± 41597
)343550
ns/iter (± 20307
)1.27
es/full/minify/libraries/antd
1948527069
ns/iter (± 54921955
)1918613605
ns/iter (± 27788602
)1.02
es/full/minify/libraries/d3
435887561
ns/iter (± 8935703
)411847176
ns/iter (± 9000097
)1.06
es/full/minify/libraries/echarts
1680049376
ns/iter (± 58923142
)1602234114
ns/iter (± 45659768
)1.05
es/full/minify/libraries/jquery
119311434
ns/iter (± 7758660
)99042557
ns/iter (± 5193040
)1.20
es/full/minify/libraries/lodash
141730492
ns/iter (± 4404185
)117907487
ns/iter (± 5810567
)1.20
es/full/minify/libraries/moment
71914255
ns/iter (± 4393962
)59190908
ns/iter (± 2466949
)1.21
es/full/minify/libraries/react
24048024
ns/iter (± 1815103
)20728014
ns/iter (± 1778732
)1.16
es/full/minify/libraries/terser
360104858
ns/iter (± 14685191
)297951302
ns/iter (± 7917389
)1.21
es/full/minify/libraries/three
617090121
ns/iter (± 14229377
)587759274
ns/iter (± 13857055
)1.05
es/full/minify/libraries/typescript
3549887909
ns/iter (± 100365089
)3519955127
ns/iter (± 104605921
)1.01
es/full/minify/libraries/victory
842465922
ns/iter (± 8864373
)852374252
ns/iter (± 24390741
)0.99
es/full/minify/libraries/vue
158414152
ns/iter (± 5003899
)160770327
ns/iter (± 7981538
)0.99
es/full/codegen/es3
35004
ns/iter (± 899
)34925
ns/iter (± 1627
)1.00
es/full/codegen/es5
34676
ns/iter (± 1291
)34319
ns/iter (± 1683
)1.01
es/full/codegen/es2015
35139
ns/iter (± 1181
)35211
ns/iter (± 2154
)1.00
es/full/codegen/es2016
34633
ns/iter (± 1328
)34683
ns/iter (± 2157
)1.00
es/full/codegen/es2017
34632
ns/iter (± 655
)34512
ns/iter (± 815
)1.00
es/full/codegen/es2018
34607
ns/iter (± 462
)34392
ns/iter (± 905
)1.01
es/full/codegen/es2019
34695
ns/iter (± 678
)34312
ns/iter (± 818
)1.01
es/full/codegen/es2020
34829
ns/iter (± 1199
)34279
ns/iter (± 1151
)1.02
es/full/all/es3
191408441
ns/iter (± 7868394
)194127133
ns/iter (± 11726037
)0.99
es/full/all/es5
181119832
ns/iter (± 6731295
)182127686
ns/iter (± 16083062
)0.99
es/full/all/es2015
144650055
ns/iter (± 3596304
)147043997
ns/iter (± 11211648
)0.98
es/full/all/es2016
143136339
ns/iter (± 4569972
)146351168
ns/iter (± 8371993
)0.98
es/full/all/es2017
143306902
ns/iter (± 6860900
)145674489
ns/iter (± 8588438
)0.98
es/full/all/es2018
141574941
ns/iter (± 5677493
)143979878
ns/iter (± 6720903
)0.98
es/full/all/es2019
140293263
ns/iter (± 3803316
)142589262
ns/iter (± 9629843
)0.98
es/full/all/es2020
135947724
ns/iter (± 6759204
)137907789
ns/iter (± 7413935
)0.99
es/full/parser
708978
ns/iter (± 31938
)715916
ns/iter (± 20625
)0.99
es/full/base/fixer
26357
ns/iter (± 533
)26126
ns/iter (± 994
)1.01
es/full/base/resolver_and_hygiene
92903
ns/iter (± 2090
)91329
ns/iter (± 2580
)1.02
serialization of ast node
218
ns/iter (± 5
)216
ns/iter (± 4
)1.01
serialization of serde
225
ns/iter (± 5
)222
ns/iter (± 2
)1.01
This comment was automatically generated by workflow using github-action-benchmark.