Skip to content

Conversation

@kdy1
Copy link
Member

@kdy1 kdy1 commented Nov 23, 2019

Fixes #3.
Fixes #458.

test angular          ... bench:  31,612,004 ns/iter (+/- 601,832) = 22 MB/s
test angular_ts       ... bench:  33,168,604 ns/iter (+/- 483,394) = 21 MB/s
test backbone         ... bench:   4,463,825 ns/iter (+/- 216,895) = 13 MB/s
test backbone_ts      ... bench:   4,718,108 ns/iter (+/- 96,289) = 12 MB/s
test colors           ... bench:      56,156 ns/iter (+/- 6,190) = 20 MB/s
test colors_ts        ... bench:      58,322 ns/iter (+/- 7,543) = 19 MB/s
test jquery           ... bench:  25,452,922 ns/iter (+/- 562,472) = 10 MB/s
test jquery_mobile    ... bench:  40,899,168 ns/iter (+/- 838,919) = 11 MB/s
test jquery_mobile_ts ... bench:  44,040,351 ns/iter (+/- 14,766,527) = 10 MB/s
test jquery_ts        ... bench:  26,953,415 ns/iter (+/- 809,036) = 9 MB/s
test mootools         ... bench:  20,687,642 ns/iter (+/- 730,233) = 7 MB/s
test mootools_ts      ... bench:  21,741,575 ns/iter (+/- 534,243) = 7 MB/s
test underscore       ... bench:   3,848,639 ns/iter (+/- 268,541) = 11 MB/s
test underscore_ts    ... bench:   4,124,005 ns/iter (+/- 246,357) = 10 MB/s
test yui              ... bench:  18,678,015 ns/iter (+/- 616,555) = 18 MB/s
test yui_ts           ... bench:  19,841,452 ns/iter (+/- 862,464) = 17 MB/s

kdy1 added 25 commits November 22, 2019 21:17
I guess it's okay as we have large test suite.
test angular          ... bench:  32,521,200 ns/iter (+/- 941,112) = 22 MB/s
test angular_ts       ... bench:  77,224,996 ns/iter (+/- 4,062,325) = 9 MB/s
test backbone         ... bench:   4,564,993 ns/iter (+/- 210,260) = 13 MB/s
test backbone_ts      ... bench:  12,735,845 ns/iter (+/- 17,380,732) = 4 MB/s
test colors           ... bench:      55,789 ns/iter (+/- 14,469) = 20 MB/s
test colors_ts        ... bench:      70,425 ns/iter (+/- 5,066) = 16 MB/s
test jquery           ... bench:  25,979,315 ns/iter (+/- 1,134,674) = 10 MB/s
test jquery_mobile    ... bench:  40,865,339 ns/iter (+/- 928,368) = 11 MB/s
test jquery_mobile_ts ... bench: 142,813,095 ns/iter (+/- 3,241,545) = 3 MB/s
test jquery_ts        ... bench:  69,447,154 ns/iter (+/- 2,707,442) = 3 MB/s
test mootools         ... bench:  20,878,164 ns/iter (+/- 3,190,015) = 7 MB/s
test mootools_ts      ... bench:  47,892,973 ns/iter (+/- 53,436,878) = 3 MB/s
test underscore       ... bench:   3,874,248 ns/iter (+/- 256,373) = 11 MB/s
test underscore_ts    ... bench:   9,655,233 ns/iter (+/- 4,328,703) = 4 MB/s
test yui              ... bench:  20,127,821 ns/iter (+/- 8,337,476) = 16 MB/s
test yui_ts           ... bench:  41,155,967 ns/iter (+/- 1,225,291) = 8 MB/s
test angular          ... bench:  32,617,438 ns/iter (+/- 656,264) = 22 MB/s
test angular_ts       ... bench:  77,988,865 ns/iter (+/- 1,744,213) = 9 MB/s
test backbone         ... bench:   4,588,351 ns/iter (+/- 172,572) = 13 MB/s
test backbone_ts      ... bench:  12,473,307 ns/iter (+/- 409,612) = 4 MB/s
test colors           ... bench:      56,423 ns/iter (+/- 5,275) = 20 MB/s
test colors_ts        ... bench:      70,242 ns/iter (+/- 5,894) = 16 MB/s
test jquery           ... bench:  26,333,062 ns/iter (+/- 620,424) = 10 MB/s
test jquery_mobile    ... bench:  40,806,881 ns/iter (+/- 1,160,492) = 11 MB/s
test jquery_mobile_ts ... bench: 143,328,805 ns/iter (+/- 1,814,411) = 3 MB/s
test jquery_ts        ... bench:  69,693,053 ns/iter (+/- 2,155,469) = 3 MB/s
test mootools         ... bench:  20,909,252 ns/iter (+/- 677,388) = 7 MB/s
test mootools_ts      ... bench:  47,272,991 ns/iter (+/- 594,322) = 3 MB/s
test underscore       ... bench:   3,913,114 ns/iter (+/- 79,017) = 11 MB/s
test underscore_ts    ... bench:   9,349,669 ns/iter (+/- 312,565) = 4 MB/s
test yui              ... bench:  18,899,387 ns/iter (+/- 620,896) = 17 MB/s
test yui_ts           ... bench:  43,472,297 ns/iter (+/- 13,599,316) = 7 MB/s
test angular          ... bench:  31,612,004 ns/iter (+/- 601,832) = 22 MB/s
test angular_ts       ... bench:  33,168,604 ns/iter (+/- 483,394) = 21 MB/s
test backbone         ... bench:   4,463,825 ns/iter (+/- 216,895) = 13 MB/s
test backbone_ts      ... bench:   4,718,108 ns/iter (+/- 96,289) = 12 MB/s
test colors           ... bench:      56,156 ns/iter (+/- 6,190) = 20 MB/s
test colors_ts        ... bench:      58,322 ns/iter (+/- 7,543) = 19 MB/s
test jquery           ... bench:  25,452,922 ns/iter (+/- 562,472) = 10 MB/s
test jquery_mobile    ... bench:  40,899,168 ns/iter (+/- 838,919) = 11 MB/s
test jquery_mobile_ts ... bench:  44,040,351 ns/iter (+/- 14,766,527) = 10 MB/s
test jquery_ts        ... bench:  26,953,415 ns/iter (+/- 809,036) = 9 MB/s
test mootools         ... bench:  20,687,642 ns/iter (+/- 730,233) = 7 MB/s
test mootools_ts      ... bench:  21,741,575 ns/iter (+/- 534,243) = 7 MB/s
test underscore       ... bench:   3,848,639 ns/iter (+/- 268,541) = 11 MB/s
test underscore_ts    ... bench:   4,124,005 ns/iter (+/- 246,357) = 10 MB/s
test yui              ... bench:  18,678,015 ns/iter (+/- 616,555) = 18 MB/s
test yui_ts           ... bench:  19,841,452 ns/iter (+/- 862,464) = 17 MB/s
@kdy1 kdy1 self-assigned this Nov 23, 2019
@kdy1 kdy1 added this to the v1.0.53 milestone Nov 23, 2019
@kdy1 kdy1 merged commit 8ec7a69 into swc-project:master Nov 23, 2019
@kdy1 kdy1 deleted the parser-perf branch November 23, 2019 04:06
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Typescript parser is slow EcmaScript lexer is inefficient

1 participant