-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Proposal to update ecma in terser #4895
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
Conversation
📊 Tachometer Benchmark ResultsSummaryduration
usedJSHeapSize
Resultscreate10kduration
usedJSHeapSize
filter-listduration
usedJSHeapSize
hydrate1kduration
usedJSHeapSize
many-updatesduration
usedJSHeapSize
replace1kduration
usedJSHeapSize
run-warmup-0
run-warmup-1
run-warmup-2
run-warmup-3
run-warmup-4
run-final
text-updateduration
usedJSHeapSize
tododuration
usedJSHeapSize
update10th1kduration
usedJSHeapSize
|
Size Change: -14 B (-0.03%) Total Size: 47.5 kB
ℹ️ View Unchanged
|
Size benefits would likely be much greater if we made more adjustments to the source too, depending on perf characteristics. ES2020 means ES6 classes, which might save some bytes for A 7 year jump in minimum browser versions probably isn't too unreasonable given the 6 year lifespan of X, though that is a big jump. |
Did a lot of the work in #4883 however it's really hard to make ESBuild work well with CJS/UMD, maybe I should try rolldown 😅 |
I mean, we could just add a more minimal Rollup config? Speed is great, but if the newer tools can't produce output worth a damn, we can keep using older tools? That being said, Vitest is still pretty much unusable on my system so Microbundle might only seem acceptably slow to me. I wouldn't be surprised if Microbundle is considerably slower than a more modern & purpose-built Rollup/Babel config too, maybe I'll take a look after work. |
Size changes are quite nice