Skip to content

Commit

Permalink
doc: Use @swc/counter for 3rd-party download count
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jul 2, 2024
1 parent 360c525 commit 026ff7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<a href="https://www.npmjs.com/package/@swc/core">
<img alt="downloads (@swc/core)" src="https://img.shields.io/npm/dm/@swc/core?label=downloads%20%28%40swc%2Fcore%29">
</a>
<a href="https://www.npmjs.com/package/@swc/helpers">
<img alt="downloads (3rd party)" src="https://img.shields.io/npm/dm/@swc/helpers?label=downloads%20%283rd%20party%29">
<a href="https://www.npmjs.com/package/@swc/counter?activeTab=dependents">
<img alt="downloads (3rd party)" src="https://img.shields.io/npm/dm/@swc/counter?label=downloads%20%283rd%20party%29">
</a>
</p>
<p align="center">
Expand Down

1 comment on commit 026ff7e

@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: 026ff7e Previous: 07c3054 Ratio
es/full/bugs-1 289886 ns/iter (± 12294) 294079 ns/iter (± 8538) 0.99
es/full/minify/libraries/antd 1859560991 ns/iter (± 112973168) 1971059432 ns/iter (± 50533735) 0.94
es/full/minify/libraries/d3 342723411 ns/iter (± 2675950) 362265360 ns/iter (± 4420577) 0.95
es/full/minify/libraries/echarts 1533113557 ns/iter (± 44210078) 1640348635 ns/iter (± 13471980) 0.93
es/full/minify/libraries/jquery 103038525 ns/iter (± 366458) 104096245 ns/iter (± 957288) 0.99
es/full/minify/libraries/lodash 115235517 ns/iter (± 748888) 115851252 ns/iter (± 548005) 0.99
es/full/minify/libraries/moment 59702838 ns/iter (± 134184) 60321746 ns/iter (± 145052) 0.99
es/full/minify/libraries/react 18410272 ns/iter (± 518890) 18518700 ns/iter (± 62526) 0.99
es/full/minify/libraries/terser 288539211 ns/iter (± 7905308) 287142857 ns/iter (± 3941136) 1.00
es/full/minify/libraries/three 509879882 ns/iter (± 17601076) 507699367 ns/iter (± 8581484) 1.00
es/full/minify/libraries/typescript 3279551572 ns/iter (± 45393622) 3356901389 ns/iter (± 30497155) 0.98
es/full/minify/libraries/victory 744273120 ns/iter (± 16120565) 848253609 ns/iter (± 17690144) 0.88
es/full/minify/libraries/vue 145748656 ns/iter (± 450268) 147723687 ns/iter (± 524829) 0.99
es/full/codegen/es3 58498 ns/iter (± 208) 58459 ns/iter (± 222) 1.00
es/full/codegen/es5 58842 ns/iter (± 371) 58515 ns/iter (± 238) 1.01
es/full/codegen/es2015 58583 ns/iter (± 557) 58569 ns/iter (± 1234) 1.00
es/full/codegen/es2016 58497 ns/iter (± 96) 58275 ns/iter (± 179) 1.00
es/full/codegen/es2017 58609 ns/iter (± 154) 58580 ns/iter (± 258) 1.00
es/full/codegen/es2018 58542 ns/iter (± 284) 58455 ns/iter (± 169) 1.00
es/full/codegen/es2019 58568 ns/iter (± 99) 58335 ns/iter (± 153) 1.00
es/full/codegen/es2020 58721 ns/iter (± 158) 58488 ns/iter (± 109) 1.00
es/full/all/es3 162922997 ns/iter (± 1254414) 163618582 ns/iter (± 1289117) 1.00
es/full/all/es5 158096046 ns/iter (± 3796798) 157839284 ns/iter (± 712502) 1.00
es/full/all/es2015 116915695 ns/iter (± 1027195) 117486698 ns/iter (± 907036) 1.00
es/full/all/es2016 116397150 ns/iter (± 432473) 116012372 ns/iter (± 783043) 1.00
es/full/all/es2017 115261922 ns/iter (± 848059) 115604999 ns/iter (± 514041) 1.00
es/full/all/es2018 113255917 ns/iter (± 629242) 114132472 ns/iter (± 1188613) 0.99
es/full/all/es2019 113079870 ns/iter (± 910388) 113171426 ns/iter (± 1173944) 1.00
es/full/all/es2020 108291781 ns/iter (± 720034) 109216776 ns/iter (± 1110286) 0.99
es/full/parser 475759 ns/iter (± 2482) 477107 ns/iter (± 3713) 1.00
es/full/base/fixer 16365 ns/iter (± 55) 15468 ns/iter (± 85) 1.06
es/full/base/resolver_and_hygiene 80734 ns/iter (± 550) 80848 ns/iter (± 305) 1.00
serialization of serde 276 ns/iter (± 2) 277 ns/iter (± 1) 1.00
css/minify/libraries/bootstrap 22001257 ns/iter (± 31249) 22192606 ns/iter (± 143903) 0.99
css/visitor/compare/clone 1371317 ns/iter (± 14753) 1352154 ns/iter (± 5577) 1.01
css/visitor/compare/visit_mut_span 1482298 ns/iter (± 5926) 1471606 ns/iter (± 13504) 1.01
css/visitor/compare/visit_mut_span_panic 1504031 ns/iter (± 35796) 1483243 ns/iter (± 45296) 1.01
css/visitor/compare/fold_span 1995948 ns/iter (± 8099) 1973140 ns/iter (± 3645) 1.01
css/visitor/compare/fold_span_panic 2129802 ns/iter (± 5748) 2112570 ns/iter (± 6149) 1.01
css/lexer/bootstrap_5_1_3 3455302 ns/iter (± 85447) 3476091 ns/iter (± 4499) 0.99
css/lexer/foundation_6_7_4 2781711 ns/iter (± 3014) 2818895 ns/iter (± 1322) 0.99
css/lexer/tailwind_3_1_1 535454 ns/iter (± 190) 540258 ns/iter (± 301) 0.99
css/parser/bootstrap_5_1_3 16325385 ns/iter (± 45918) 15981307 ns/iter (± 173676) 1.02
css/parser/foundation_6_7_4 13104512 ns/iter (± 61348) 12810005 ns/iter (± 65876) 1.02
css/parser/tailwind_3_1_1 2589993 ns/iter (± 17947) 2509040 ns/iter (± 8842) 1.03
es/codegen/colors 729250 ns/iter (± 398410) 730821 ns/iter (± 395390) 1.00
es/codegen/large 3029891 ns/iter (± 1603238) 2974399 ns/iter (± 1577655) 1.02
es/codegen/with-parser/colors 40196 ns/iter (± 156) 40440 ns/iter (± 245) 0.99
es/codegen/with-parser/large 450082 ns/iter (± 1828) 451153 ns/iter (± 1267) 1.00
es/minify/libraries/antd 1560140206 ns/iter (± 26728486) 1451524718 ns/iter (± 54080886) 1.07
es/minify/libraries/d3 301983350 ns/iter (± 5858312) 283121218 ns/iter (± 3367389) 1.07
es/minify/libraries/echarts 1295038227 ns/iter (± 13470316) 1172421376 ns/iter (± 49666217) 1.10
es/minify/libraries/jquery 84231286 ns/iter (± 492836) 82850660 ns/iter (± 392264) 1.02
es/minify/libraries/lodash 105537249 ns/iter (± 455399) 104329140 ns/iter (± 194401) 1.01
es/minify/libraries/moment 49067010 ns/iter (± 296606) 48479307 ns/iter (± 51027) 1.01
es/minify/libraries/react 16372134 ns/iter (± 44897) 16294399 ns/iter (± 22621) 1.00
es/minify/libraries/terser 227480694 ns/iter (± 2087222) 217302369 ns/iter (± 747295) 1.05
es/minify/libraries/three 404841473 ns/iter (± 6755582) 373427970 ns/iter (± 8318425) 1.08
es/minify/libraries/typescript 2861201047 ns/iter (± 28786694) 2765737400 ns/iter (± 25079674) 1.03
es/minify/libraries/victory 676733147 ns/iter (± 11694955) 613371479 ns/iter (± 67520596) 1.10
es/minify/libraries/vue 124005943 ns/iter (± 736756) 121442063 ns/iter (± 387453) 1.02
es/visitor/compare/clone 1718442 ns/iter (± 12248) 1713559 ns/iter (± 4832) 1.00
es/visitor/compare/visit_mut_span 2055571 ns/iter (± 6667) 2069165 ns/iter (± 15601) 0.99
es/visitor/compare/visit_mut_span_panic 2076730 ns/iter (± 29859) 2048164 ns/iter (± 25418) 1.01
es/visitor/compare/fold_span 2806083 ns/iter (± 11414) 2800125 ns/iter (± 26311) 1.00
es/visitor/compare/fold_span_panic 2837815 ns/iter (± 9490) 2813542 ns/iter (± 12025) 1.01
es/lexer/colors 9964 ns/iter (± 71) 9846 ns/iter (± 82) 1.01
es/lexer/angular 5114218 ns/iter (± 50193) 4996359 ns/iter (± 14701) 1.02
es/lexer/backbone 669912 ns/iter (± 849) 671582 ns/iter (± 6606) 1.00
es/lexer/jquery 3829004 ns/iter (± 5321) 3808269 ns/iter (± 28897) 1.01
es/lexer/jquery mobile 5657141 ns/iter (± 13073) 5629284 ns/iter (± 43193) 1.00
es/lexer/mootools 2932071 ns/iter (± 3826) 2830542 ns/iter (± 3661) 1.04
es/lexer/underscore 589167 ns/iter (± 2270) 526253 ns/iter (± 4718) 1.12
es/lexer/three 17393757 ns/iter (± 119864) 16339721 ns/iter (± 937361) 1.06
es/lexer/yui 3044091 ns/iter (± 6723) 2959937 ns/iter (± 9618) 1.03
es/lexer/cal-com 13593923 ns/iter (± 92937) 13437405 ns/iter (± 88728) 1.01
es/lexer/typescript 95785997 ns/iter (± 456665) 94800716 ns/iter (± 451531) 1.01
es/parser/colors 23877 ns/iter (± 161) 23472 ns/iter (± 130) 1.02
es/parser/angular 12689114 ns/iter (± 143296) 13231623 ns/iter (± 264591) 0.96
es/parser/backbone 1842336 ns/iter (± 4416) 1819798 ns/iter (± 14282) 1.01
es/parser/jquery 10381838 ns/iter (± 149545) 10216990 ns/iter (± 102441) 1.02
es/parser/jquery mobile 15584720 ns/iter (± 206433) 15602435 ns/iter (± 362989) 1.00
es/parser/mootools 7973991 ns/iter (± 44350) 7868935 ns/iter (± 49440) 1.01
es/parser/underscore 1614765 ns/iter (± 4823) 1574612 ns/iter (± 5567) 1.03
es/parser/three 45968967 ns/iter (± 723350) 46021784 ns/iter (± 267727) 1.00
es/parser/yui 7567655 ns/iter (± 41126) 7474468 ns/iter (± 38124) 1.01
es/parser/cal-com 42610258 ns/iter (± 541838) 42148795 ns/iter (± 426204) 1.01
es/parser/typescript 278753391 ns/iter (± 3853739) 272521430 ns/iter (± 1327475) 1.02
es/preset-env/usage/builtin_type 135964 ns/iter (± 34001) 136332 ns/iter (± 32932) 1.00
es/preset-env/usage/property 15719 ns/iter (± 93) 16008 ns/iter (± 96) 0.98
es/resolver/typescript 100578247 ns/iter (± 3147014) 104176017 ns/iter (± 2100965) 0.97
es/fixer/typescript 82242350 ns/iter (± 2170640) 80048753 ns/iter (± 3609845) 1.03
es/hygiene/typescript 174580922 ns/iter (± 2900992) 175014581 ns/iter (± 2066118) 1.00
es/resolver_with_hygiene/typescript 307567120 ns/iter (± 7043212) 295845534 ns/iter (± 3530641) 1.04
es/visitor/base-perf/module_clone 57874 ns/iter (± 3626) 56856 ns/iter (± 582) 1.02
es/visitor/base-perf/fold_empty 60548 ns/iter (± 487) 60441 ns/iter (± 1098) 1.00
es/visitor/base-perf/fold_noop_impl_all 60706 ns/iter (± 1115) 60374 ns/iter (± 1002) 1.01
es/visitor/base-perf/fold_noop_impl_vec 60672 ns/iter (± 796) 60325 ns/iter (± 639) 1.01
es/visitor/base-perf/boxing_boxed_clone 61 ns/iter (± 0) 58 ns/iter (± 0) 1.05
es/visitor/base-perf/boxing_unboxed_clone 47 ns/iter (± 0) 47 ns/iter (± 0) 1
es/visitor/base-perf/boxing_boxed 106 ns/iter (± 0) 105 ns/iter (± 0) 1.01
es/visitor/base-perf/boxing_unboxed 79 ns/iter (± 0) 80 ns/iter (± 0) 0.99
es/visitor/base-perf/visit_contains_this 2647 ns/iter (± 25) 2570 ns/iter (± 29) 1.03
es/base/parallel/resolver/typescript 2483188664 ns/iter (± 120399890) 2462324440 ns/iter (± 146633740) 1.01
es/base/parallel/hygiene/typescript 3249440678 ns/iter (± 91926304) 3237541955 ns/iter (± 54292797) 1.00
babelify-only 489241 ns/iter (± 10572) 506623 ns/iter (± 12492) 0.97
parse_and_babelify_angular 39841392 ns/iter (± 2516314) 42041992 ns/iter (± 2352099) 0.95
parse_and_babelify_backbone 4407504 ns/iter (± 124330) 4518709 ns/iter (± 163081) 0.98
parse_and_babelify_jquery 29276177 ns/iter (± 732037) 29303139 ns/iter (± 309891) 1.00
parse_and_babelify_jquery_mobile 50786452 ns/iter (± 866112) 51144849 ns/iter (± 752155) 0.99
parse_and_babelify_mootools 26695904 ns/iter (± 619230) 25829286 ns/iter (± 392093) 1.03
parse_and_babelify_underscore 3707891 ns/iter (± 18992) 3737879 ns/iter (± 38271) 0.99
parse_and_babelify_yui 27539288 ns/iter (± 2212349) 24780922 ns/iter (± 571945) 1.11
html/minify/document/css_spec 46319230 ns/iter (± 1050178) 45479670 ns/iter (± 263941) 1.02
html/minify/document/github 18412353 ns/iter (± 181885) 18165268 ns/iter (± 69222) 1.01
html/minify/document/stackoverflow 16743124 ns/iter (± 566578) 16660774 ns/iter (± 389142) 1.00
html/minify/document_fragment/css_spec 45012627 ns/iter (± 390755) 44250203 ns/iter (± 644378) 1.02
html/minify/document_fragment/github 18137251 ns/iter (± 175072) 17832593 ns/iter (± 149137) 1.02
html/minify/document_fragment/stackoverflow 16386123 ns/iter (± 150628) 16224704 ns/iter (± 159590) 1.01
html/document/visitor/compare/clone 168284 ns/iter (± 1360) 164313 ns/iter (± 2164) 1.02
html/document/visitor/compare/visit_mut_span 184502 ns/iter (± 1312) 181572 ns/iter (± 1439) 1.02
html/document/visitor/compare/visit_mut_span_panic 190309 ns/iter (± 860) 187629 ns/iter (± 3766) 1.01
html/document/visitor/compare/fold_span 231129 ns/iter (± 1553) 229125 ns/iter (± 944) 1.01
html/document/visitor/compare/fold_span_panic 282290 ns/iter (± 589) 282008 ns/iter (± 1274) 1.00
html/document_fragment/visitor/compare/clone 169056 ns/iter (± 988) 165549 ns/iter (± 992) 1.02
html/document_fragment/visitor/compare/visit_mut_span 184676 ns/iter (± 791) 181290 ns/iter (± 1215) 1.02
html/document_fragment/visitor/compare/visit_mut_span_panic 190255 ns/iter (± 1174) 186808 ns/iter (± 1091) 1.02
html/document_fragment/visitor/compare/fold_span 231362 ns/iter (± 1863) 230593 ns/iter (± 1251) 1.00
html/document_fragment/visitor/compare/fold_span_panic 282406 ns/iter (± 12605) 281502 ns/iter (± 890) 1.00
html/lexer/css_2021_spec 12879729 ns/iter (± 204373) 12813879 ns/iter (± 14471) 1.01
html/lexer/github_com_17_05_2022 4943951 ns/iter (± 6642) 4909354 ns/iter (± 25617) 1.01
html/lexer/stackoverflow_com_17_05_2022 4679886 ns/iter (± 9224) 4652139 ns/iter (± 7752) 1.01
html/parser/parser_document/css_2021_spec 25312165 ns/iter (± 174433) 25148931 ns/iter (± 81171) 1.01
html/parser/parser_document/github_com_17_05_2022 8406845 ns/iter (± 53175) 8396627 ns/iter (± 28923) 1.00
html/parser/parser_document/stackoverflow_com_17_05_2022 7318257 ns/iter (± 11762) 7324155 ns/iter (± 10391) 1.00
html/parser/parser_document_fragment/css_2021_spec 25031265 ns/iter (± 89925) 24741169 ns/iter (± 163281) 1.01
html/parser/parser_document_fragment/github_com_17_05_2022 8375192 ns/iter (± 15186) 8362083 ns/iter (± 33004) 1.00
html/parser/parser_document_fragment/stackoverflow_com_17_05_2022 7292847 ns/iter (± 16375) 7268080 ns/iter (± 22816) 1.00

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

Please sign in to comment.