Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove originalKeywordKind from Identifiers #51497

Closed
wants to merge 6 commits into from

Conversation

DanielRosenwasser
Copy link
Member

Experiment for #51496.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 12, 2022
@DanielRosenwasser
Copy link
Member Author

@typescript-bot perf test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 12, 2022

Heya @DanielRosenwasser, I've started to run the perf test suite on this PR at 0ce5e62. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser
The results of the perf run you requested are in!

Here they are:

Compiler

Comparison Report - main..51497
Metric main 51497 Delta Best Worst
Angular - node (v18.10.0, x64)
Memory used 341,214k (± 0.01%) 338,642k (± 0.02%) -2,572k (- 0.75%) 338,502k 338,777k
Parse Time 1.57s (± 0.88%) 1.58s (± 0.92%) +0.01s (+ 0.70%) 1.55s 1.61s
Bind Time 0.54s (± 0.92%) 0.54s (± 1.07%) +0.00s (+ 0.75%) 0.53s 0.55s
Check Time 4.05s (± 0.79%) 4.04s (± 0.46%) -0.01s (- 0.25%) 3.99s 4.08s
Emit Time 4.27s (± 0.84%) 4.31s (± 0.31%) +0.04s (+ 0.98%) 4.28s 4.34s
Total Time 10.43s (± 0.66%) 10.47s (± 0.23%) +0.04s (+ 0.43%) 10.44s 10.54s
Compiler-Unions - node (v18.10.0, x64)
Memory used 188,819k (± 1.03%) 187,980k (± 0.88%) -839k (- 0.44%) 183,531k 189,230k
Parse Time 0.62s (± 1.07%) 0.62s (± 1.31%) +0.00s (+ 0.48%) 0.60s 0.64s
Bind Time 0.33s (± 0.68%) 0.33s (± 1.21%) +0.00s (+ 0.61%) 0.32s 0.34s
Check Time 5.01s (± 0.57%) 5.04s (± 0.71%) +0.03s (+ 0.54%) 4.97s 5.13s
Emit Time 1.55s (± 2.41%) 1.52s (± 0.59%) -0.03s (- 1.80%) 1.50s 1.54s
Total Time 7.51s (± 0.54%) 7.52s (± 0.60%) +0.00s (+ 0.03%) 7.42s 7.63s
Monaco - node (v18.10.0, x64)
Memory used 320,524k (± 0.01%) 318,307k (± 0.02%) -2,217k (- 0.69%) 318,170k 318,398k
Parse Time 1.18s (± 1.38%) 1.17s (± 0.79%) -0.01s (- 0.68%) 1.16s 1.20s
Bind Time 0.49s (± 1.91%) 0.48s (± 0.92%) -0.01s (- 2.23%) 0.47s 0.49s
Check Time 3.88s (± 0.60%) 3.85s (± 0.42%) -0.03s (- 0.70%) 3.81s 3.89s
Emit Time 2.28s (± 1.00%) 2.28s (± 0.74%) +0.00s (+ 0.13%) 2.25s 2.31s
Total Time 7.83s (± 0.50%) 7.79s (± 0.35%) -0.04s (- 0.54%) 7.72s 7.85s
TFS - node (v18.10.0, x64)
Memory used 283,538k (± 0.24%) 281,081k (± 0.20%) -2,457k (- 0.87%) 280,608k 282,609k
Parse Time 0.97s (± 1.07%) 0.97s (± 1.49%) 0.00s ( 0.00%) 0.92s 0.99s
Bind Time 0.45s (± 6.14%) 0.46s (± 5.01%) +0.01s (+ 1.55%) 0.44s 0.55s
Check Time 3.80s (± 0.59%) 3.80s (± 0.59%) -0.00s (- 0.11%) 3.74s 3.85s
Emit Time 2.22s (± 0.85%) 2.20s (± 1.10%) -0.01s (- 0.68%) 2.13s 2.24s
Total Time 7.44s (± 0.72%) 7.43s (± 0.45%) -0.01s (- 0.16%) 7.34s 7.50s
material-ui - node (v18.10.0, x64)
Memory used 436,031k (± 0.02%) 434,317k (± 0.01%) -1,714k (- 0.39%) 434,228k 434,473k
Parse Time 1.35s (± 0.78%) 1.35s (± 0.44%) -0.00s (- 0.30%) 1.33s 1.36s
Bind Time 0.50s (± 0.73%) 0.48s (± 3.79%) 🟩-0.02s (- 3.23%) 0.45s 0.51s
Check Time 10.40s (± 0.56%) 10.46s (± 0.88%) +0.06s (+ 0.61%) 10.20s 10.65s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 12.25s (± 0.52%) 12.29s (± 0.80%) +0.04s (+ 0.36%) 11.98s 12.45s
xstate - node (v18.10.0, x64)
Memory used 518,685k (± 0.01%) 514,566k (± 0.01%) -4,119k (- 0.79%) 514,495k 514,640k
Parse Time 1.94s (± 0.31%) 1.93s (± 0.35%) -0.01s (- 0.57%) 1.91s 1.94s
Bind Time 0.79s (± 4.16%) 0.72s (± 3.27%) 🟩-0.07s (- 8.62%) 0.68s 0.77s
Check Time 1.06s (± 0.96%) 1.05s (± 0.97%) -0.01s (- 0.57%) 1.03s 1.07s
Emit Time 0.05s (± 0.00%) 0.05s (± 0.00%) 0.00s ( 0.00%) 0.05s 0.05s
Total Time 3.84s (± 0.92%) 3.76s (± 0.73%) -0.08s (- 2.08%) 3.71s 3.82s
Angular - node (v16.17.1, x64)
Memory used 340,522k (± 0.02%) 338,095k (± 0.02%) -2,428k (- 0.71%) 337,877k 338,149k
Parse Time 1.88s (± 0.66%) 1.90s (± 0.61%) +0.01s (+ 0.69%) 1.87s 1.92s
Bind Time 0.65s (± 0.89%) 0.65s (± 0.46%) -0.01s (- 0.77%) 0.64s 0.65s
Check Time 5.16s (± 0.38%) 5.18s (± 0.63%) +0.02s (+ 0.37%) 5.13s 5.28s
Emit Time 5.11s (± 0.76%) 5.09s (± 0.75%) -0.02s (- 0.47%) 5.01s 5.17s
Total Time 12.81s (± 0.46%) 12.81s (± 0.50%) +0.00s (+ 0.03%) 12.68s 12.98s
Compiler-Unions - node (v16.17.1, x64)
Memory used 188,257k (± 0.65%) 185,918k (± 0.52%) -2,339k (- 1.24%) 185,240k 188,527k
Parse Time 0.79s (± 0.75%) 0.80s (± 0.60%) +0.00s (+ 0.25%) 0.79s 0.81s
Bind Time 0.42s (± 0.53%) 0.42s (± 0.79%) -0.00s (- 0.24%) 0.41s 0.43s
Check Time 6.05s (± 0.72%) 6.04s (± 0.55%) -0.01s (- 0.23%) 5.97s 6.14s
Emit Time 1.91s (± 0.72%) 1.90s (± 1.54%) -0.01s (- 0.47%) 1.86s 2.01s
Total Time 9.17s (± 0.47%) 9.15s (± 0.53%) -0.02s (- 0.22%) 9.07s 9.32s
Monaco - node (v16.17.1, x64)
Memory used 319,866k (± 0.01%) 317,666k (± 0.01%) -2,200k (- 0.69%) 317,575k 317,759k
Parse Time 1.43s (± 0.73%) 1.42s (± 0.66%) -0.01s (- 0.35%) 1.40s 1.44s
Bind Time 0.59s (± 1.00%) 0.60s (± 0.61%) +0.00s (+ 0.34%) 0.59s 0.60s
Check Time 4.87s (± 0.39%) 4.89s (± 0.42%) +0.01s (+ 0.29%) 4.85s 4.95s
Emit Time 2.72s (± 0.90%) 2.74s (± 0.83%) +0.02s (+ 0.81%) 2.68s 2.79s
Total Time 9.61s (± 0.40%) 9.64s (± 0.33%) +0.03s (+ 0.32%) 9.58s 9.73s
TFS - node (v16.17.1, x64)
Memory used 282,300k (± 0.01%) 280,060k (± 0.01%) -2,240k (- 0.79%) 280,019k 280,107k
Parse Time 1.17s (± 0.51%) 1.17s (± 1.15%) -0.00s (- 0.09%) 1.14s 1.20s
Bind Time 0.65s (± 3.63%) 0.66s (± 3.40%) +0.01s (+ 1.38%) 0.61s 0.69s
Check Time 4.76s (± 0.39%) 4.75s (± 0.43%) -0.01s (- 0.27%) 4.71s 4.80s
Emit Time 2.76s (± 2.01%) 2.74s (± 2.06%) -0.02s (- 0.87%) 2.66s 2.92s
Total Time 9.35s (± 0.72%) 9.32s (± 0.73%) -0.03s (- 0.37%) 9.19s 9.49s
material-ui - node (v16.17.1, x64)
Memory used 435,297k (± 0.01%) 433,636k (± 0.00%) -1,661k (- 0.38%) 433,596k 433,662k
Parse Time 1.65s (± 0.50%) 1.64s (± 0.32%) -0.01s (- 0.79%) 1.63s 1.65s
Bind Time 0.50s (± 0.98%) 0.51s (± 0.71%) +0.01s (+ 1.98%) 0.51s 0.52s
Check Time 11.96s (± 0.42%) 11.94s (± 0.30%) -0.03s (- 0.23%) 11.83s 12.01s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 14.13s (± 0.36%) 14.09s (± 0.26%) -0.03s (- 0.23%) 13.98s 14.16s
xstate - node (v16.17.1, x64)
Memory used 516,263k (± 0.01%) 512,183k (± 0.01%) -4,080k (- 0.79%) 512,081k 512,377k
Parse Time 2.33s (± 0.45%) 2.32s (± 0.45%) -0.01s (- 0.56%) 2.29s 2.34s
Bind Time 0.84s (± 1.90%) 0.84s (± 0.87%) -0.01s (- 0.71%) 0.82s 0.85s
Check Time 1.36s (± 0.50%) 1.35s (± 0.59%) -0.00s (- 0.29%) 1.33s 1.37s
Emit Time 0.06s (± 0.00%) 0.06s (± 0.00%) 0.00s ( 0.00%) 0.06s 0.06s
Total Time 4.60s (± 0.44%) 4.57s (± 0.43%) -0.02s (- 0.52%) 4.51s 4.61s
Angular - node (v14.15.1, x64)
Memory used 334,041k (± 0.01%) 331,598k (± 0.00%) -2,443k (- 0.73%) 331,563k 331,627k
Parse Time 2.08s (± 0.55%) 2.07s (± 0.40%) -0.01s (- 0.58%) 2.05s 2.08s
Bind Time 0.70s (± 0.53%) 0.71s (± 0.95%) +0.00s (+ 0.28%) 0.69s 0.72s
Check Time 5.52s (± 0.33%) 5.56s (± 0.32%) +0.03s (+ 0.62%) 5.53s 5.61s
Emit Time 5.22s (± 0.68%) 5.23s (± 0.54%) +0.01s (+ 0.17%) 5.17s 5.28s
Total Time 13.53s (± 0.38%) 13.56s (± 0.37%) +0.04s (+ 0.27%) 13.45s 13.64s
Compiler-Unions - node (v14.15.1, x64)
Memory used 181,579k (± 0.01%) 180,610k (± 0.42%) -969k (- 0.53%) 180,201k 183,696k
Parse Time 0.90s (± 0.62%) 0.89s (± 0.38%) -0.01s (- 0.56%) 0.89s 0.90s
Bind Time 0.46s (± 0.48%) 0.46s (± 0.78%) +0.00s (+ 0.65%) 0.46s 0.47s
Check Time 6.36s (± 0.45%) 6.35s (± 0.54%) -0.02s (- 0.28%) 6.25s 6.40s
Emit Time 2.04s (± 0.71%) 2.04s (± 1.19%) -0.00s (- 0.10%) 2.01s 2.12s
Total Time 9.77s (± 0.35%) 9.74s (± 0.45%) -0.03s (- 0.30%) 9.62s 9.82s
Monaco - node (v14.15.1, x64)
Memory used 314,689k (± 0.05%) 312,425k (± 0.01%) -2,265k (- 0.72%) 312,365k 312,502k
Parse Time 1.58s (± 0.66%) 1.57s (± 0.54%) -0.01s (- 0.70%) 1.56s 1.60s
Bind Time 0.64s (± 0.78%) 0.64s (± 0.81%) +0.01s (+ 0.94%) 0.63s 0.65s
Check Time 5.21s (± 0.52%) 5.22s (± 0.43%) +0.01s (+ 0.19%) 5.17s 5.26s
Emit Time 2.92s (± 0.69%) 2.91s (± 0.95%) -0.02s (- 0.58%) 2.84s 2.98s
Total Time 10.34s (± 0.41%) 10.33s (± 0.45%) -0.01s (- 0.11%) 10.22s 10.44s
TFS - node (v14.15.1, x64)
Memory used 279,310k (± 0.01%) 277,128k (± 0.01%) -2,182k (- 0.78%) 277,091k 277,186k
Parse Time 1.34s (± 0.62%) 1.32s (± 0.52%) -0.03s (- 2.16%) 1.30s 1.33s
Bind Time 0.59s (± 0.80%) 0.59s (± 0.62%) +0.01s (+ 0.85%) 0.59s 0.60s
Check Time 5.10s (± 0.36%) 5.14s (± 0.44%) +0.04s (+ 0.71%) 5.09s 5.18s
Emit Time 3.08s (± 0.92%) 3.10s (± 0.94%) +0.01s (+ 0.36%) 3.03s 3.16s
Total Time 10.12s (± 0.34%) 10.14s (± 0.39%) +0.02s (+ 0.22%) 10.06s 10.23s
material-ui - node (v14.15.1, x64)
Memory used 430,756k (± 0.01%) 429,046k (± 0.01%) -1,711k (- 0.40%) 428,997k 429,117k
Parse Time 1.88s (± 0.46%) 1.89s (± 0.39%) +0.01s (+ 0.32%) 1.87s 1.90s
Bind Time 0.54s (± 0.69%) 0.54s (± 0.83%) +0.00s (+ 0.56%) 0.53s 0.55s
Check Time 12.38s (± 0.70%) 12.44s (± 0.61%) +0.07s (+ 0.54%) 12.20s 12.57s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 14.79s (± 0.60%) 14.87s (± 0.53%) +0.07s (+ 0.50%) 14.61s 15.01s
xstate - node (v14.15.1, x64)
Memory used 504,439k (± 0.00%) 500,372k (± 0.00%) -4,067k (- 0.81%) 500,326k 500,427k
Parse Time 2.65s (± 0.70%) 2.64s (± 1.01%) -0.01s (- 0.53%) 2.60s 2.71s
Bind Time 0.86s (± 0.97%) 0.88s (± 2.15%) +0.02s (+ 2.46%) 0.84s 0.91s
Check Time 1.49s (± 0.35%) 1.49s (± 0.30%) +0.00s (+ 0.20%) 1.48s 1.50s
Emit Time 0.07s (± 0.00%) 0.07s (± 0.00%) 0.00s ( 0.00%) 0.07s 0.07s
Total Time 5.07s (± 0.30%) 5.08s (± 0.33%) +0.01s (+ 0.28%) 5.05s 5.12s
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-131-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v18.10.0, x64)
  • node (v16.17.1, x64)
  • node (v14.15.1, x64)
Scenarios
  • Angular - node (v18.10.0, x64)
  • Angular - node (v16.17.1, x64)
  • Angular - node (v14.15.1, x64)
  • Compiler-Unions - node (v18.10.0, x64)
  • Compiler-Unions - node (v16.17.1, x64)
  • Compiler-Unions - node (v14.15.1, x64)
  • Monaco - node (v18.10.0, x64)
  • Monaco - node (v16.17.1, x64)
  • Monaco - node (v14.15.1, x64)
  • TFS - node (v18.10.0, x64)
  • TFS - node (v16.17.1, x64)
  • TFS - node (v14.15.1, x64)
  • material-ui - node (v18.10.0, x64)
  • material-ui - node (v16.17.1, x64)
  • material-ui - node (v14.15.1, x64)
  • xstate - node (v18.10.0, x64)
  • xstate - node (v16.17.1, x64)
  • xstate - node (v14.15.1, x64)
Benchmark Name Iterations
Current 51497 10
Baseline main 10

TSServer

Comparison Report - main..51497
Metric main 51497 Delta Best Worst
Compiler-UnionsTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 1,047ms (± 0.50%) 1,062ms (± 0.61%) +15ms (+ 1.45%) 1,050ms 1,082ms
Req 2 - geterr 2,568ms (± 0.75%) 2,574ms (± 0.44%) +6ms (+ 0.24%) 2,555ms 2,601ms
Req 3 - references 166ms (± 0.99%) 166ms (± 0.56%) +1ms (+ 0.42%) 164ms 168ms
Req 4 - navto 138ms (± 0.94%) 139ms (± 0.60%) +1ms (+ 0.73%) 137ms 141ms
Req 5 - completionInfo count 1,356 (± 0.00%) 1,356 (± 0.00%) 0 ( 0.00%) 1,356 1,356
Req 5 - completionInfo 62ms (± 2.71%) 61ms (± 2.43%) -0ms (- 0.49%) 57ms 63ms
CompilerTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 1,102ms (± 0.50%) 1,116ms (± 0.65%) +14ms (+ 1.27%) 1,097ms 1,137ms
Req 2 - geterr 1,573ms (± 0.39%) 1,553ms (± 0.22%) -20ms (- 1.27%) 1,544ms 1,559ms
Req 3 - references 171ms (± 0.98%) 174ms (± 3.21%) +3ms (+ 1.52%) 167ms 195ms
Req 4 - navto 151ms (± 0.88%) 197ms (± 5.59%) 🔻+46ms (+30.70%) 153ms 205ms
Req 5 - completionInfo count 1,518 (± 0.00%) 1,518 (± 0.00%) 0 ( 0.00%) 1,518 1,518
Req 5 - completionInfo 53ms (± 1.46%) 51ms (± 2.73%) 🟩-2ms (- 4.14%) 49ms 54ms
xstateTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 1,518ms (± 0.76%) 1,527ms (± 0.59%) +9ms (+ 0.61%) 1,513ms 1,556ms
Req 2 - geterr 562ms (± 0.53%) 569ms (± 0.64%) +7ms (+ 1.23%) 562ms 578ms
Req 3 - references 59ms (± 2.01%) 60ms (± 2.69%) +1ms (+ 1.18%) 58ms 64ms
Req 4 - navto 197ms (± 1.03%) 198ms (± 0.59%) +1ms (+ 0.25%) 195ms 200ms
Req 5 - completionInfo count 3,151 (± 0.00%) 3,151 (± 0.00%) 0 ( 0.00%) 3,151 3,151
Req 5 - completionInfo 212ms (± 1.32%) 216ms (± 1.85%) +4ms (+ 1.89%) 207ms 227ms
Compiler-UnionsTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 1,303ms (± 0.79%) 1,308ms (± 0.43%) +5ms (+ 0.38%) 1,291ms 1,317ms
Req 2 - geterr 3,153ms (± 0.65%) 3,172ms (± 0.57%) +18ms (+ 0.58%) 3,129ms 3,209ms
Req 3 - references 193ms (± 1.37%) 193ms (± 1.18%) -0ms (- 0.10%) 190ms 200ms
Req 4 - navto 151ms (± 0.70%) 150ms (± 1.15%) -1ms (- 0.86%) 147ms 155ms
Req 5 - completionInfo count 1,356 (± 0.00%) 1,356 (± 0.00%) 0 ( 0.00%) 1,356 1,356
Req 5 - completionInfo 59ms (± 2.55%) 59ms (± 1.53%) 0ms ( 0.00%) 58ms 62ms
CompilerTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 1,394ms (± 0.70%) 1,392ms (± 0.77%) -2ms (- 0.17%) 1,369ms 1,421ms
Req 2 - geterr 2,072ms (± 0.44%) 2,069ms (± 0.46%) -3ms (- 0.13%) 2,047ms 2,093ms
Req 3 - references 199ms (± 0.56%) 200ms (± 0.73%) +1ms (+ 0.35%) 197ms 203ms
Req 4 - navto 165ms (± 0.62%) 165ms (± 0.76%) -0ms (- 0.12%) 163ms 168ms
Req 5 - completionInfo count 1,518 (± 0.00%) 1,518 (± 0.00%) 0 ( 0.00%) 1,518 1,518
Req 5 - completionInfo 58ms (± 2.78%) 59ms (± 3.01%) +1ms (+ 1.74%) 56ms 63ms
xstateTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 1,819ms (± 0.36%) 1,846ms (± 0.79%) +27ms (+ 1.47%) 1,818ms 1,877ms
Req 2 - geterr 713ms (± 0.54%) 715ms (± 0.88%) +2ms (+ 0.25%) 700ms 727ms
Req 3 - references 69ms (± 1.39%) 68ms (± 1.12%) -1ms (- 1.31%) 66ms 69ms
Req 4 - navto 197ms (± 1.11%) 200ms (± 0.53%) +3ms (+ 1.27%) 197ms 202ms
Req 5 - completionInfo count 3,151 (± 0.00%) 3,151 (± 0.00%) 0 ( 0.00%) 3,151 3,151
Req 5 - completionInfo 251ms (± 0.95%) 256ms (± 0.65%) +5ms (+ 1.95%) 253ms 259ms
Compiler-UnionsTSServer - node (v14.15.1, x64)
Req 1 - updateOpen 1,461ms (± 0.44%) 1,455ms (± 0.34%) -7ms (- 0.45%) 1,444ms 1,465ms
Req 2 - geterr 3,426ms (± 0.65%) 3,432ms (± 0.78%) +6ms (+ 0.17%) 3,385ms 3,490ms
Req 3 - references 206ms (± 0.55%) 208ms (± 0.86%) +2ms (+ 0.97%) 205ms 212ms
Req 4 - navto 162ms (± 0.90%) 162ms (± 0.29%) -1ms (- 0.43%) 161ms 163ms
Req 5 - completionInfo count 1,356 (± 0.00%) 1,356 (± 0.00%) 0 ( 0.00%) 1,356 1,356
Req 5 - completionInfo 66ms (± 6.92%) 62ms (± 6.96%) 🟩-4ms (- 6.68%) 58ms 73ms
CompilerTSServer - node (v14.15.1, x64)
Req 1 - updateOpen 1,530ms (± 0.58%) 1,544ms (± 0.41%) +14ms (+ 0.91%) 1,531ms 1,560ms
Req 2 - geterr 2,262ms (± 0.29%) 2,257ms (± 0.52%) -5ms (- 0.22%) 2,241ms 2,289ms
Req 3 - references 213ms (± 1.28%) 215ms (± 1.38%) +1ms (+ 0.66%) 210ms 222ms
Req 4 - navto 174ms (± 0.77%) 173ms (± 0.79%) -1ms (- 0.69%) 170ms 176ms
Req 5 - completionInfo count 1,518 (± 0.00%) 1,518 (± 0.00%) 0 ( 0.00%) 1,518 1,518
Req 5 - completionInfo 61ms (± 7.63%) 60ms (± 7.75%) -2ms (- 2.61%) 56ms 72ms
xstateTSServer - node (v14.15.1, x64)
Req 1 - updateOpen 2,037ms (± 0.62%) 2,031ms (± 0.60%) -6ms (- 0.30%) 2,007ms 2,053ms
Req 2 - geterr 751ms (± 0.58%) 750ms (± 0.58%) -2ms (- 0.20%) 735ms 758ms
Req 3 - references 73ms (± 1.16%) 74ms (± 1.76%) +1ms (+ 0.96%) 71ms 76ms
Req 4 - navto 222ms (± 0.64%) 221ms (± 0.54%) -1ms (- 0.41%) 219ms 224ms
Req 5 - completionInfo count 3,151 (± 0.00%) 3,151 (± 0.00%) 0 ( 0.00%) 3,151 3,151
Req 5 - completionInfo 270ms (± 0.57%) 275ms (± 1.47%) +6ms (+ 2.04%) 269ms 286ms
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-131-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v18.10.0, x64)
  • node (v16.17.1, x64)
  • node (v14.15.1, x64)
Scenarios
  • Compiler-UnionsTSServer - node (v18.10.0, x64)
  • Compiler-UnionsTSServer - node (v16.17.1, x64)
  • Compiler-UnionsTSServer - node (v14.15.1, x64)
  • CompilerTSServer - node (v18.10.0, x64)
  • CompilerTSServer - node (v16.17.1, x64)
  • CompilerTSServer - node (v14.15.1, x64)
  • xstateTSServer - node (v18.10.0, x64)
  • xstateTSServer - node (v16.17.1, x64)
  • xstateTSServer - node (v14.15.1, x64)
Benchmark Name Iterations
Current 51497 10
Baseline main 10

Startup

Comparison Report - main..51497
Metric main 51497 Delta Best Worst
tsc-startup - node (v16.17.1, x64)
Execution time 120.22ms (± 0.53%) 118.46ms (± 0.55%) -1.76ms (- 1.47%) 115.39ms 128.76ms
tsserver-startup - node (v16.17.1, x64)
Execution time 201.76ms (± 0.47%) 202.47ms (± 0.44%) +0.71ms (+ 0.35%) 195.97ms 210.10ms
tsserverlibrary-startup - node (v16.17.1, x64)
Execution time 194.36ms (± 0.46%) 195.70ms (± 0.35%) +1.33ms (+ 0.69%) 190.37ms 204.12ms
typescript-startup - node (v16.17.1, x64)
Execution time 178.93ms (± 0.45%) 180.99ms (± 0.37%) +2.06ms (+ 1.15%) 176.42ms 188.16ms
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-131-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v16.17.1, x64)
Scenarios
  • tsc-startup - node (v16.17.1, x64)
  • tsserver-startup - node (v16.17.1, x64)
  • tsserverlibrary-startup - node (v16.17.1, x64)
  • typescript-startup - node (v16.17.1, x64)
Benchmark Name Iterations
Current 51497 10
Baseline main 10

Developer Information:

Download Benchmark

@DanielRosenwasser DanielRosenwasser marked this pull request as ready for review December 9, 2022 22:31
@DanielRosenwasser DanielRosenwasser added the Breaking Change Would introduce errors in existing code label Dec 9, 2022
src/compiler/binder.ts Show resolved Hide resolved
src/compiler/checker.ts Show resolved Hide resolved
@DanielRosenwasser
Copy link
Member Author

@typescript-bot perf test this faster

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 14, 2022

Heya @DanielRosenwasser, I've started to run the abridged perf test suite on this PR at b9a4758. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser
The results of the perf run you requested are in!

Here they are:

Comparison Report - main..51497

Metric main 51497 Delta Best Worst
Angular - node (v16.17.1, x64)
Memory used 363,903k (± 0.01%) 361,539k (± 0.01%) -2,363k (- 0.65%) 361,481k 361,571k
Parse Time 1.93s (± 0.65%) 1.91s (± 0.65%) -0.02s (- 0.78%) 1.89s 1.94s
Bind Time 0.66s (± 0.75%) 0.67s (± 0.60%) +0.01s (+ 0.90%) 0.66s 0.68s
Check Time 5.01s (± 0.41%) 4.99s (± 0.49%) -0.03s (- 0.50%) 4.94s 5.04s
Emit Time 4.68s (± 0.63%) 4.66s (± 0.80%) -0.02s (- 0.45%) 4.59s 4.75s
Total Time 12.29s (± 0.30%) 12.23s (± 0.47%) -0.05s (- 0.43%) 12.15s 12.38s
Compiler-Unions - node (v16.17.1, x64)
Memory used 200,204k (± 0.63%) 199,558k (± 0.57%) -647k (- 0.32%) 197,193k 200,795k
Parse Time 0.80s (± 0.62%) 0.79s (± 1.17%) -0.00s (- 0.50%) 0.78s 0.82s
Bind Time 0.44s (± 0.77%) 0.44s (± 0.83%) -0.01s (- 1.58%) 0.43s 0.44s
Check Time 5.93s (± 0.62%) 5.86s (± 0.74%) -0.07s (- 1.25%) 5.74s 5.95s
Emit Time 1.80s (± 0.91%) 1.81s (± 0.76%) +0.01s (+ 0.78%) 1.78s 1.85s
Total Time 8.97s (± 0.54%) 8.90s (± 0.54%) -0.07s (- 0.80%) 8.75s 9.00s
Monaco - node (v16.17.1, x64)
Memory used 346,567k (± 0.01%) 344,407k (± 0.01%) -2,160k (- 0.62%) 344,321k 344,471k
Parse Time 1.43s (± 0.56%) 1.42s (± 0.74%) -0.01s (- 0.56%) 1.40s 1.44s
Bind Time 0.61s (± 0.91%) 0.61s (± 0.94%) +0.00s (+ 0.33%) 0.60s 0.62s
Check Time 4.62s (± 0.33%) 4.60s (± 0.43%) -0.02s (- 0.41%) 4.57s 4.67s
Emit Time 2.48s (± 0.88%) 2.47s (± 1.00%) -0.02s (- 0.68%) 2.42s 2.53s
Total Time 9.15s (± 0.33%) 9.10s (± 0.38%) -0.04s (- 0.48%) 9.04s 9.19s
TFS - node (v16.17.1, x64)
Memory used 304,219k (± 0.02%) 302,062k (± 0.03%) -2,157k (- 0.71%) 301,836k 302,346k
Parse Time 1.19s (± 1.26%) 1.19s (± 1.65%) +0.01s (+ 0.42%) 1.14s 1.24s
Bind Time 0.58s (± 1.34%) 0.57s (± 1.18%) -0.01s (- 2.07%) 0.55s 0.58s
Check Time 4.33s (± 0.27%) 4.33s (± 0.45%) -0.00s (- 0.05%) 4.29s 4.37s
Emit Time 2.49s (± 1.06%) 2.50s (± 1.87%) +0.01s (+ 0.40%) 2.44s 2.65s
Total Time 8.60s (± 0.52%) 8.60s (± 0.75%) 0.00s ( 0.00%) 8.48s 8.77s
material-ui - node (v16.17.1, x64)
Memory used 451,078k (± 0.01%) 449,422k (± 0.01%) -1,656k (- 0.37%) 449,367k 449,497k
Parse Time 1.68s (± 0.79%) 1.66s (± 0.41%) -0.02s (- 1.31%) 1.64s 1.67s
Bind Time 0.50s (± 1.12%) 0.50s (± 1.04%) +0.00s (+ 0.20%) 0.49s 0.51s
Check Time 11.73s (± 0.79%) 11.69s (± 0.89%) -0.04s (- 0.32%) 11.52s 11.99s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 13.91s (± 0.70%) 13.85s (± 0.76%) -0.06s (- 0.43%) 13.66s 14.14s
xstate - node (v16.17.1, x64)
Memory used 551,130k (± 0.01%) 547,181k (± 0.01%) -3,949k (- 0.72%) 547,103k 547,414k
Parse Time 2.32s (± 0.56%) 2.30s (± 0.48%) -0.03s (- 1.16%) 2.28s 2.33s
Bind Time 0.82s (± 1.50%) 0.84s (± 1.67%) +0.02s (+ 2.55%) 0.81s 0.87s
Check Time 1.35s (± 0.37%) 1.33s (± 0.62%) -0.01s (- 0.82%) 1.32s 1.35s
Emit Time 0.06s (± 0.00%) 0.06s (± 0.00%) 0.00s ( 0.00%) 0.06s 0.06s
Total Time 4.56s (± 0.46%) 4.54s (± 0.43%) -0.02s (- 0.44%) 4.48s 4.57s
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-131-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v16.17.1, x64)
Scenarios
  • Angular - node (v16.17.1, x64)
  • Compiler-Unions - node (v16.17.1, x64)
  • Monaco - node (v16.17.1, x64)
  • TFS - node (v16.17.1, x64)
  • material-ui - node (v16.17.1, x64)
  • xstate - node (v16.17.1, x64)
Benchmark Name Iterations
Current 51497 10
Baseline main 10

Developer Information:

Download Benchmark

src/compiler/checker.ts Outdated Show resolved Hide resolved
src/harness/harnessUtils.ts Outdated Show resolved Hide resolved
@@ -1677,7 +1677,6 @@ export interface Identifier extends PrimaryExpression, Declaration, JSDocContain
* Text of identifier, but if the identifier begins with two underscores, this will begin with three.
*/
readonly escapedText: __String;
readonly originalKeywordKind?: SyntaxKind; // Original syntaxKind which get set so that we can report an error later
Copy link
Member

Choose a reason for hiding this comment

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

My only concern with this is that it is a public API breaking change. Do we expose any other way to get this information? stringToToken is currently marked /** @internal */.

If we find that there are consumers in the field that need this information, we could potentially expose it via a getter in the src/deprecatedCompat project with a @deprecated comment and the caveat that repeated access would be slower since it would be recalculated each time.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Is there a best practice to add deprecated accessors to prototypes right now?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

There's no prototype to add it to, since everything inherits from Node. You would have to add it to the instance. There's an addNodeFactoryPatcher function that lets you hook into the creation of a NodeFactory to patch in a deprecation, but it doesn't affect factories that already exist (i.e., parseNodeFactory in parser.ts, the internal factory inside of the Parser namespace in parser.ts, or factory in nodeFactory.ts).

The current patching mechanism was primarily to handle patching the factory API itself, and only the one that is reachable during transformations. As a result, the current patching mechanism doesn't touch the factory used internally by the parser, which is the one you'd want most if you want to patch node instances returned by the API.

Copy link
Member Author

@DanielRosenwasser DanielRosenwasser Dec 14, 2022

Choose a reason for hiding this comment

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

It does seem like a win in terms of memory usage. If we really want to avoid the break, #51498 gives us both.

We should still deprecate it either way.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, I didn't notice the memory improvement.

Copy link
Member

Choose a reason for hiding this comment

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

Actually, I misspoke. we could potentially add it to the prototype of the Identifier constructor we return from objectAllocator, although this is overridden in services so you'd need to do that in two places.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, honestly, maybe it won't be that slow and sticking it on Identifier is enough. (I was hoping caching it somehow would help but that might be slower in general...)

Copy link
Member

Choose a reason for hiding this comment

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

We'd have to test whether defining an accessor on Identifier actually improves memory usage. If it's a wash I'd leave originalSyntaxKind alone, or just deprecate it and remove it later.

@DanielRosenwasser
Copy link
Member Author

@typescript-bot perf test faster

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 14, 2022

Heya @DanielRosenwasser, I've started to run the abridged perf test suite on this PR at 716e136. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser
The results of the perf run you requested are in!

Here they are:

Comparison Report - main..51497

Metric main 51497 Delta Best Worst
Angular - node (v16.17.1, x64)
Memory used 363,951k (± 0.02%) 361,455k (± 0.02%) -2,496k (- 0.69%) 361,308k 361,597k
Parse Time 1.91s (± 0.29%) 1.92s (± 0.59%) +0.01s (+ 0.58%) 1.88s 1.93s
Bind Time 0.66s (± 0.50%) 0.67s (± 0.66%) +0.01s (+ 1.82%) 0.66s 0.68s
Check Time 5.02s (± 0.53%) 4.99s (± 0.50%) -0.02s (- 0.44%) 4.94s 5.06s
Emit Time 4.68s (± 0.97%) 4.71s (± 0.73%) +0.03s (+ 0.64%) 4.60s 4.76s
Total Time 12.26s (± 0.56%) 12.29s (± 0.50%) +0.03s (+ 0.24%) 12.10s 12.41s
Compiler-Unions - node (v16.17.1, x64)
Memory used 200,877k (± 0.57%) 198,242k (± 0.59%) -2,634k (- 1.31%) 197,183k 200,804k
Parse Time 0.80s (± 0.77%) 0.80s (± 1.00%) +0.00s (+ 0.38%) 0.79s 0.83s
Bind Time 0.44s (± 0.91%) 0.44s (± 0.91%) -0.00s (- 0.45%) 0.43s 0.45s
Check Time 5.92s (± 0.70%) 5.94s (± 0.53%) +0.02s (+ 0.30%) 5.85s 6.00s
Emit Time 1.79s (± 0.87%) 1.81s (± 0.71%) +0.02s (+ 0.95%) 1.78s 1.84s
Total Time 8.96s (± 0.47%) 8.99s (± 0.41%) +0.03s (+ 0.39%) 8.90s 9.07s
Monaco - node (v16.17.1, x64)
Memory used 346,553k (± 0.01%) 344,364k (± 0.01%) -2,189k (- 0.63%) 344,212k 344,451k
Parse Time 1.43s (± 0.71%) 1.44s (± 1.03%) +0.01s (+ 0.56%) 1.40s 1.48s
Bind Time 0.61s (± 0.85%) 0.60s (± 0.61%) -0.00s (- 0.66%) 0.60s 0.61s
Check Time 4.63s (± 0.37%) 4.64s (± 0.60%) +0.01s (+ 0.24%) 4.56s 4.69s
Emit Time 2.49s (± 0.79%) 2.50s (± 0.95%) +0.01s (+ 0.28%) 2.43s 2.54s
Total Time 9.16s (± 0.22%) 9.18s (± 0.62%) +0.02s (+ 0.25%) 8.99s 9.26s
TFS - node (v16.17.1, x64)
Memory used 304,201k (± 0.03%) 302,033k (± 0.01%) -2,168k (- 0.71%) 301,976k 302,070k
Parse Time 1.19s (± 1.61%) 1.21s (± 2.39%) +0.02s (+ 2.02%) 1.15s 1.28s
Bind Time 0.57s (± 0.86%) 0.56s (± 1.47%) -0.01s (- 1.74%) 0.55s 0.58s
Check Time 4.34s (± 0.23%) 4.36s (± 0.45%) +0.03s (+ 0.60%) 4.32s 4.39s
Emit Time 2.52s (± 1.48%) 2.50s (± 0.57%) -0.01s (- 0.48%) 2.47s 2.55s
Total Time 8.62s (± 0.49%) 8.64s (± 0.25%) +0.03s (+ 0.35%) 8.59s 8.69s
material-ui - node (v16.17.1, x64)
Memory used 451,094k (± 0.01%) 449,486k (± 0.01%) -1,608k (- 0.36%) 449,384k 449,626k
Parse Time 1.67s (± 0.74%) 1.68s (± 0.59%) +0.01s (+ 0.48%) 1.65s 1.69s
Bind Time 0.50s (± 1.29%) 0.51s (± 0.88%) +0.01s (+ 1.20%) 0.50s 0.52s
Check Time 11.71s (± 0.73%) 11.81s (± 0.50%) +0.10s (+ 0.87%) 11.65s 11.93s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 13.88s (± 0.67%) 14.00s (± 0.45%) +0.12s (+ 0.87%) 13.84s 14.12s
xstate - node (v16.17.1, x64)
Memory used 551,092k (± 0.00%) 547,196k (± 0.01%) -3,896k (- 0.71%) 547,116k 547,412k
Parse Time 2.31s (± 0.70%) 2.31s (± 0.48%) +0.01s (+ 0.26%) 2.29s 2.34s
Bind Time 0.85s (± 2.30%) 0.84s (± 2.23%) -0.01s (- 0.59%) 0.80s 0.88s
Check Time 1.35s (± 0.45%) 1.34s (± 0.78%) -0.01s (- 0.52%) 1.32s 1.36s
Emit Time 0.06s (± 0.00%) 0.06s (± 0.00%) 0.00s ( 0.00%) 0.06s 0.06s
Total Time 4.57s (± 0.48%) 4.55s (± 0.51%) -0.01s (- 0.31%) 4.49s 4.60s
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-131-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v16.17.1, x64)
Scenarios
  • Angular - node (v16.17.1, x64)
  • Compiler-Unions - node (v16.17.1, x64)
  • Monaco - node (v16.17.1, x64)
  • TFS - node (v16.17.1, x64)
  • material-ui - node (v16.17.1, x64)
  • xstate - node (v16.17.1, x64)
Benchmark Name Iterations
Current 51497 10
Baseline main 10

Developer Information:

Download Benchmark

@DanielRosenwasser
Copy link
Member Author

Let's just see how a prototype property (doesn't?) affect the compiler.

@typescript-bot perf test this faster

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 6, 2023

Heya @DanielRosenwasser, I've started to run the abridged perf test suite on this PR at 952715c. You can monitor the build here.

Update: The results are in!

@jakebailey
Copy link
Member

I'm not sure the benchmarker is going to work when there are merge conflicts (not sure what if the merge base or something else is tested).

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser
The results of the perf run you requested are in!

Here they are:

Comparison Report - main..51497

Metric main 51497 Delta Best Worst
Angular - node (v16.17.1, x64)
Memory used 372,009k (± 0.01%) 371,258k (± 0.01%) -752k (- 0.20%) 371,209k 371,309k
Parse Time 4.17s (± 0.37%) 4.14s (± 0.13%) -0.03s (- 0.80%) 4.13s 4.14s
Bind Time 1.27s (± 0.67%) 1.26s (± 0.72%) -0.01s (- 1.01%) 1.25s 1.27s
Check Time 9.30s (± 0.48%) 9.31s (± 0.47%) +0.00s (+ 0.04%) 9.25s 9.36s
Emit Time 7.97s (± 0.66%) 8.01s (± 0.48%) +0.04s (+ 0.50%) 7.97s 8.07s
Total Time 22.71s (± 0.43%) 22.71s (± 0.08%) +0.00s (+ 0.01%) 22.70s 22.74s
Compiler-Unions - node (v16.17.1, x64)
Memory used 199,966k (± 0.03%) 200,843k (± 0.66%) +877k (+ 0.44%) 200,247k 203,547k
Parse Time 1.81s (± 0.42%) 1.82s (± 0.62%) +0.01s (+ 0.34%) 1.81s 1.84s
Bind Time 0.84s (± 1.06%) 0.85s (± 0.96%) +0.01s (+ 0.86%) 0.84s 0.86s
Check Time 10.10s (± 0.87%) 10.27s (± 0.56%) +0.16s (+ 1.61%) 10.21s 10.33s
Emit Time 2.99s (± 1.03%) 3.02s (± 0.43%) +0.02s (+ 0.74%) 3.00s 3.03s
Total Time 15.76s (± 0.63%) 15.95s (± 0.39%) +0.20s (+ 1.25%) 15.88s 16.03s
Monaco - node (v16.17.1, x64)
Memory used 353,439k (± 0.01%) 353,459k (± 0.01%) +21k (+ 0.01%) 353,436k 353,493k
Parse Time 3.19s (± 1.47%) 3.16s (± 0.59%) -0.03s (- 0.91%) 3.13s 3.18s
Bind Time 1.13s (± 1.36%) 1.11s (± 0.67%) -0.02s (- 1.44%) 1.10s 1.12s
Check Time 7.87s (± 0.53%) 7.92s (± 0.20%) +0.05s (+ 0.67%) 7.90s 7.94s
Emit Time 4.47s (± 0.82%) 4.51s (± 0.75%) +0.04s (+ 0.93%) 4.47s 4.56s
Total Time 16.65s (± 0.55%) 16.70s (± 0.17%) +0.05s (+ 0.27%) 16.66s 16.74s
TFS - node (v16.17.1, x64)
Memory used 309,375k (± 0.00%) 309,729k (± 0.00%) +354k (+ 0.11%) 309,718k 309,756k
Parse Time 2.61s (± 1.76%) 2.56s (± 1.32%) -0.05s (- 2.06%) 2.52s 2.60s
Bind Time 1.06s (± 2.13%) 1.10s (± 4.47%) +0.04s (+ 3.86%) 1.04s 1.14s
Check Time 7.42s (± 0.72%) 7.41s (± 0.61%) -0.01s (- 0.17%) 7.37s 7.49s
Emit Time 4.22s (± 0.80%) 4.24s (± 0.80%) +0.02s (+ 0.53%) 4.18s 4.28s
Total Time 15.32s (± 0.55%) 15.31s (± 0.33%) -0.00s (- 0.03%) 15.26s 15.40s
material-ui - node (v16.17.1, x64)
Memory used 484,517k (± 0.01%) 483,285k (± 0.00%) -1,232k (- 0.25%) 483,268k 483,299k
Parse Time 3.68s (± 0.43%) 3.68s (± 0.45%) +0.00s (+ 0.09%) 3.67s 3.71s
Bind Time 1.01s (± 0.76%) 1.02s (± 0.50%) +0.01s (+ 0.65%) 1.02s 1.03s
Check Time 18.08s (± 1.31%) 17.72s (± 0.39%) -0.35s (- 1.96%) 17.65s 17.81s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 22.77s (± 1.09%) 22.43s (± 0.30%) -0.34s (- 1.51%) 22.36s 22.51s
xstate - node (v16.17.1, x64)
Memory used 567,830k (± 0.02%) 563,308k (± 0.02%) -4,523k (- 0.80%) 563,202k 563,403k
Parse Time 4.76s (± 0.20%) 4.65s (± 1.28%) -0.12s (- 2.45%) 4.59s 4.76s
Bind Time 1.66s (± 0.41%) 1.69s (± 2.73%) +0.03s (+ 1.97%) 1.61s 1.75s
Check Time 2.83s (± 0.24%) 2.83s (± 0.27%) +0.00s (+ 0.12%) 2.82s 2.84s
Emit Time 0.09s (± 4.59%) 0.09s (± 0.13%) +0.00s (+ 1.96%) 0.09s 0.09s
Total Time 9.34s (± 0.20%) 9.26s (± 0.32%) -0.09s (- 0.93%) 9.22s 9.30s
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-135-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v16.17.1, x64)
Scenarios
  • Angular - node (v16.17.1, x64)
  • Compiler-Unions - node (v16.17.1, x64)
  • Monaco - node (v16.17.1, x64)
  • TFS - node (v16.17.1, x64)
  • material-ui - node (v16.17.1, x64)
  • xstate - node (v16.17.1, x64)
Benchmark Name Iterations
Current 51497 6
Baseline main 6

Developer Information:

Download Benchmark

@jakebailey
Copy link
Member

Seems like the memory changes are a wash? Maybe better once we get a bunch more props removed too.

(If we want this, probably need to stick it onto the deprecationCompat project instead so tsc isn't affected.)

@DanielRosenwasser
Copy link
Member Author

Closed in favor of #52170.

@DanielRosenwasser DanielRosenwasser deleted the removeOriginalKeywordKind branch February 4, 2023 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team Breaking Change Would introduce errors in existing code For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants