-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
minifier: milestone 2 #8438
Comments
Had a quick look at https://github.com/tdewolff/minify, it produces slightly better minification due to
|
Enabling the mangler in test262 reveals the need of
|
I'm going to clear #8604 and then overhaul the current architecture for performance, the minifier is running too slow for my likings. |
Latest benchmark shows really promising results https://github.com/privatenumber/minification-benchmarks |
Do you think we could reopen #2646? It was previously closed since the minifier wasn't being worked on, but it looks like perhaps that's no longer the case? |
Also:
|
Moving rest of the todos to milestone 3. Time to stabilize for an alpha version. |
https://github.com/evanw/esbuild/blob/v0.24.2/internal/js_ast/js_ast_helpers.go#L2745
oxc/crates/oxc_minifier/src/ast_passes/peephole_remove_dead_code.rs
Line 76 in 6c7acac
oxc/crates/oxc_minifier/src/ast_passes/statement_fusion.rs
Line 36 in 772b71c
minimize_exit_points
implementation #8349continue
/return
/break
stmts at the end of control flow are droppedoxc/crates/oxc_minifier/src/ast_passes/peephole_substitute_alternate_syntax.rs
Line 191 in 772b71c
Originally posted by @camc314 in #8264 (comment)
The text was updated successfully, but these errors were encountered: