Skip to content

Commit

Permalink
feat(bindings): Reduce size (#5708)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Sep 1, 2022
1 parent 3a0b749 commit b7da692
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ members = [

[profile.bench]
debug = true
lto = true
lto = true

# Without this, printing diff consumes more than a minute.

Expand Down
3 changes: 3 additions & 0 deletions bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ members = [

# debug = true
# opt-level = 'z'

# Strip debug symbols
strip = "symbols"

1 comment on commit b7da692

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: b7da692 Previous: 1085667 Ratio
es/full/minify/libraries/antd 1686708458 ns/iter (± 19795032) 1747558553 ns/iter (± 41649715) 0.97
es/full/minify/libraries/d3 391120834 ns/iter (± 11029808) 407117889 ns/iter (± 9469048) 0.96
es/full/minify/libraries/echarts 1512534123 ns/iter (± 29933503) 1539246737 ns/iter (± 53411823) 0.98
es/full/minify/libraries/jquery 97642104 ns/iter (± 2167917) 98626740 ns/iter (± 8807941) 0.99
es/full/minify/libraries/lodash 124923917 ns/iter (± 2566064) 122918014 ns/iter (± 4675462) 1.02
es/full/minify/libraries/moment 57459196 ns/iter (± 2956213) 56939920 ns/iter (± 1549134) 1.01
es/full/minify/libraries/react 18776285 ns/iter (± 285424) 18967907 ns/iter (± 272647) 0.99
es/full/minify/libraries/terser 316730673 ns/iter (± 12194786) 342919383 ns/iter (± 35235389) 0.92
es/full/minify/libraries/three 590741549 ns/iter (± 26072500) 570910816 ns/iter (± 13261110) 1.03
es/full/minify/libraries/typescript 3567311812 ns/iter (± 33257133) 3732965326 ns/iter (± 151045109) 0.96
es/full/minify/libraries/victory 767019602 ns/iter (± 11717214) 775194181 ns/iter (± 18554918) 0.99
es/full/minify/libraries/vue 134941433 ns/iter (± 6829146) 148726108 ns/iter (± 11874290) 0.91
es/full/codegen/es3 32343 ns/iter (± 1690) 33127 ns/iter (± 1150) 0.98
es/full/codegen/es5 32446 ns/iter (± 577) 33277 ns/iter (± 533) 0.98
es/full/codegen/es2015 32492 ns/iter (± 362) 33366 ns/iter (± 502) 0.97
es/full/codegen/es2016 32409 ns/iter (± 711) 33370 ns/iter (± 883) 0.97
es/full/codegen/es2017 32694 ns/iter (± 964) 33276 ns/iter (± 821) 0.98
es/full/codegen/es2018 32476 ns/iter (± 789) 33349 ns/iter (± 1441) 0.97
es/full/codegen/es2019 32496 ns/iter (± 1538) 33365 ns/iter (± 1224) 0.97
es/full/codegen/es2020 32412 ns/iter (± 538) 33283 ns/iter (± 713) 0.97
es/full/all/es3 189788852 ns/iter (± 16660248) 199366844 ns/iter (± 20584637) 0.95
es/full/all/es5 185821961 ns/iter (± 5736440) 180882806 ns/iter (± 10896730) 1.03
es/full/all/es2015 146936722 ns/iter (± 4218244) 147236643 ns/iter (± 13077542) 1.00
es/full/all/es2016 145214616 ns/iter (± 8062190) 144378135 ns/iter (± 5020768) 1.01
es/full/all/es2017 145342609 ns/iter (± 7109877) 144370078 ns/iter (± 6184292) 1.01
es/full/all/es2018 142782247 ns/iter (± 5079933) 142329809 ns/iter (± 9750717) 1.00
es/full/all/es2019 146175787 ns/iter (± 13472971) 142917872 ns/iter (± 7677842) 1.02
es/full/all/es2020 140256909 ns/iter (± 4453414) 141290239 ns/iter (± 8154817) 0.99
es/full/parser 748129 ns/iter (± 30040) 761666 ns/iter (± 54094) 0.98
es/full/base/fixer 29240 ns/iter (± 1175) 29162 ns/iter (± 457) 1.00
es/full/base/resolver_and_hygiene 87245 ns/iter (± 2344) 88130 ns/iter (± 1537) 0.99
serialization of ast node 212 ns/iter (± 7) 213 ns/iter (± 6) 1.00
serialization of serde 230 ns/iter (± 4) 228 ns/iter (± 6) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.