-
Notifications
You must be signed in to change notification settings - Fork 46
Conversation
9cee70a
to
fe915af
Compare
This looks fine. What does the perf improvement look like? |
Fixes #1841 |
Hmm, I don't see that on the startup benchmark for RunWhatsApp on desktop:
Is there anything special about your build configuration? I'm building with |
What version of typescript are you running? |
I was running 1.4.1, but I just upgraded to 1.5.3, which is the latest stable version available via npm, and I'm seeing the same results. What version are you using? |
I'm using 1.5.3, 1.4 would inline the results everywhere so I wouldn't expect you to see a difference there. I'm not sure why you're not seeing a difference on 1.5.3 though. |
Oh did you build your baseline with 1.4 or 1.5? |
Ah, I built it with 1.4. When I build it with 1.5, then this branch shows an improvement:
Which mostly claws back the perf regression from TypeScript 1.5:
Presumably the regression is mostly (entirely?) the enum reference in-lining changes, so exactly what you're addressing. It's unclear why my numbers don't show this branch clawing back all of the regression, though. Perhaps that's just a fluke, or maybe there's another perf regression in 1.5. In any case, this is obviously a worthy win, even though I may stick with TypeScript 1.4 locally for a bit longer. |
No description provided.