@@ -308,41 +308,19 @@ const OXC_SMALLER_BY_REASON = [
308308 "terser compress: typescript/typescript_disabled_interface"
309309 ]
310310 ] ,
311- [
312- "oxc evaluates more built-in methods called on constants, as oxc's `peephole/replace_known_methods.rs` tests show" ,
313- [
314- "oxc minifier: peephole/replace_known_methods.rs:1065" ,
315- "oxc minifier: peephole/replace_known_methods.rs:1067" ,
316- "oxc minifier: peephole/replace_known_methods.rs:203" ,
317- "oxc minifier: peephole/replace_known_methods.rs:48" ,
318- "oxc minifier: peephole/replace_known_methods.rs:49"
319- ]
320- ] ,
321311 [
322312 "oxc knows more expressions have no side effects and drops them when their value is unused, as oxc's `ecmascript/may_have_side_effects.rs` tests show" ,
323313 [
324- "oxc minifier: ecmascript/may_have_side_effects.rs:1036" ,
325- "oxc minifier: ecmascript/may_have_side_effects.rs:1047" ,
326- "oxc minifier: ecmascript/may_have_side_effects.rs:1146" ,
327- "oxc minifier: ecmascript/may_have_side_effects.rs:1293" ,
328314 "oxc minifier: ecmascript/may_have_side_effects.rs:1300" ,
329315 "oxc minifier: ecmascript/may_have_side_effects.rs:1365" ,
330- "oxc minifier: ecmascript/may_have_side_effects.rs:1404" ,
331- "oxc minifier: ecmascript/may_have_side_effects.rs:302" ,
332316 "oxc minifier: ecmascript/may_have_side_effects.rs:783" ,
333- "oxc minifier: ecmascript/may_have_side_effects.rs:825" ,
334317 "oxc minifier: ecmascript/may_have_side_effects.rs:907"
335318 ]
336319 ] ,
337320 [
338321 "oxc writes conditions shorter, as oxc's `peephole/minimize_conditions.rs` tests show" ,
339322 [
340- "oxc minifier: peephole/minimize_conditions.rs:1053" ,
341323 "oxc minifier: peephole/minimize_conditions.rs:1066" ,
342- "oxc minifier: peephole/minimize_conditions.rs:1204" ,
343- "oxc minifier: peephole/minimize_conditions.rs:1224" ,
344- "oxc minifier: peephole/minimize_conditions.rs:1243" ,
345- "oxc minifier: peephole/minimize_conditions.rs:1252" ,
346324 "oxc minifier: peephole/minimize_conditions.rs:223"
347325 ]
348326 ] ,
@@ -370,9 +348,7 @@ const OXC_SMALLER_BY_REASON = [
370348 "oxc drops more unused expressions, as oxc's `peephole/remove_unused_expression.rs` tests show" ,
371349 [
372350 "oxc minifier: peephole/remove_unused_expression.rs:1169" ,
373- "oxc minifier: peephole/remove_unused_expression.rs:160" ,
374- "oxc minifier: peephole/remove_unused_expression.rs:514" ,
375- "oxc minifier: peephole/remove_unused_expression.rs:665"
351+ "oxc minifier: peephole/remove_unused_expression.rs:514"
376352 ]
377353 ] ,
378354 [
@@ -386,17 +362,12 @@ const OXC_SMALLER_BY_REASON = [
386362 "oxc minifier: peephole/dead_code_elimination.rs:716" ,
387363 "oxc minifier: peephole/dead_code_elimination.rs:726" ,
388364 "oxc minifier: peephole/dead_code_elimination.rs:731" ,
389- "oxc minifier: peephole/dead_code_elimination.rs:736" ,
390- "oxc minifier: peephole/dead_code_elimination.rs:860" ,
391- "oxc minifier: peephole/dead_code_elimination.rs:884"
365+ "oxc minifier: peephole/dead_code_elimination.rs:736"
392366 ]
393367 ] ,
394368 [
395369 "oxc drops more unused declarations, as oxc's `peephole/remove_unused_declaration.rs` tests show" ,
396- [
397- "oxc minifier: peephole/remove_unused_declaration.rs:108" ,
398- "oxc minifier: peephole/remove_unused_declaration.rs:181"
399- ]
370+ [ "oxc minifier: peephole/remove_unused_declaration.rs:181" ]
400371 ] ,
401372 [
402373 "oxc's mangler picks shorter or better-compressing names" ,
@@ -440,22 +411,14 @@ const OXC_SMALLER_BY_REASON = [
440411 [
441412 "oxc restructures conditionals: an `if` as `&&` or `?:`, a shared tail factored out, a redundant branch or jump dropped" ,
442413 [
443- "swc minifier: fixture/issues/12299/input.js" ,
444414 "swc minifier: fixture/projects/backbone/5/input.js" ,
445415 "swc minifier: fixture/projects/react/16/input.js" ,
446416 "terser compress: conditionals/issue_1674_false_equivalency_of_props"
447417 ]
448418 ] ,
449419 [
450420 "oxc drops a redundant last `return`, `break` or `continue`, as oxc's `peephole/minimize_exit_points.rs` tests show" ,
451- [
452- "oxc minifier: peephole/minimize_exit_points.rs:101" ,
453- "oxc minifier: peephole/minimize_exit_points.rs:178" ,
454- "oxc minifier: peephole/minimize_exit_points.rs:254" ,
455- "oxc minifier: peephole/minimize_exit_points.rs:362" ,
456- "oxc minifier: peephole/minimize_exit_points.rs:369" ,
457- "oxc minifier: peephole/minimize_exit_points.rs:377"
458- ]
421+ [ "oxc minifier: peephole/minimize_exit_points.rs:178" ]
459422 ] ,
460423 [
461424 "oxc picks shorter spellings for comparisons, coercions and literals" ,
@@ -495,9 +458,7 @@ const OXC_SMALLER_BY_REASON = [
495458 "terser compress: const/issue_1396" ,
496459 "terser compress: destructuring/empty_object_destructuring_misc" ,
497460 "terser compress: drop-unused/issue_t161_top_retain_13" ,
498- "terser compress: drop-unused/issue_t161_top_retain_14" ,
499- "terser compress: issue-368/collapse" ,
500- "terser compress: reduce_vars/issue_3068_2"
461+ "terser compress: drop-unused/issue_t161_top_retain_14"
501462 ]
502463 ] ,
503464 [
@@ -549,10 +510,6 @@ const OXC_SMALLER_BY_REASON = [
549510 "oxc minifier: peephole/minimize_if_statement.rs:82"
550511 ]
551512 ] ,
552- [
553- "oxc folds more constant expressions, as oxc's `peephole/fold_constants.rs` tests show" ,
554- [ "oxc minifier: peephole/fold_constants.rs:521" ]
555- ] ,
556513 [
557514 "oxc aborts: its code generator panics on this source (`crates/oxc_codegen/src/str.rs:712`, a slice out of range)" ,
558515 [ "swc minifier: fixture/issues/string-index-utf16/input.js" ]
@@ -561,10 +518,6 @@ const OXC_SMALLER_BY_REASON = [
561518 "oxc's mangler picks shorter or better-compressing names, as oxc's `mangler/property_mangler.rs` tests show" ,
562519 [ "oxc minifier: mangler/property_mangler.rs:99" ]
563520 ] ,
564- [
565- "oxc drops more unused declarations, as oxc's `peephole/remove_unused_declaration.rs` tests show" ,
566- [ "oxc minifier: peephole/remove_unused_declaration.rs:181" ]
567- ] ,
568521 [
569522 "oxc's output differs: it drops a class whose static member's computed key may be `\"prototype\"`, which throws a TypeError as the class is defined" ,
570523 [
@@ -589,7 +542,14 @@ const OXC_SMALLER_BY_REASON = [
589542 ] ,
590543 [
591544 "oxc drops an unused `Symbol.for`, which webpack keeps: running it at build time would keep its key in the build's own symbol registry" ,
592- [ "oxc minifier: ecmascript/may_have_side_effects.rs:1259" ]
545+ [
546+ "oxc minifier: ecmascript/may_have_side_effects.rs:1259" ,
547+ "oxc minifier: ecmascript/may_have_side_effects.rs:1404"
548+ ]
549+ ] ,
550+ [
551+ "oxc's output is wrong: it renames `slot` inside a `with` body, so a `slot` property on the `with` object is no longer called" ,
552+ [ "oxc minifier: peephole/dead_code_elimination.rs:860" ]
593553 ] ,
594554 [
595555 "oxc's output is wrong: it renames a `#private` name a direct `eval` reads, so the `eval` throws a SyntaxError" ,
@@ -611,6 +571,7 @@ const OXC_SMALLER_BY_REASON = [
611571 [
612572 "oxc's output is wrong: it calls a method read through `(0, o.f)`, `(t = o.f)` or an arrow returning it as a method of `o`, and an `eval` so read as a direct `eval`" ,
613573 [
574+ "oxc minifier: peephole/remove_unused_expression.rs:772" ,
614575 "swc exec: indirect_eval_1" ,
615576 "oxc minifier: peephole/oxc.rs:100" ,
616577 "oxc minifier: peephole/oxc.rs:101" ,
@@ -626,7 +587,6 @@ const OXC_SMALLER_BY_REASON = [
626587 "oxc minifier: peephole/remove_unused_expression.rs:594" ,
627588 "oxc minifier: peephole/remove_unused_expression.rs:595" ,
628589 "oxc minifier: peephole/remove_unused_expression.rs:767" ,
629- "oxc minifier: peephole/remove_unused_expression.rs:772" ,
630590 "oxc minifier: peephole/remove_unused_expression.rs:777" ,
631591 "oxc minifier: peephole/remove_unused_expression.rs:787" ,
632592 "oxc minifier: peephole/remove_unused_expression.rs:792"
@@ -662,9 +622,8 @@ const OXC_SMALLER_BY_REASON = [
662622 ]
663623 ] ,
664624 [
665- " oxc's output is wrong: it folds `parseFloat(\ "1.e2\ ")` to 1, which is 100, and writes a regular expression's `toString()` with its flags in the order written, which reads them sorted" ,
625+ ' oxc\ 's output is wrong: it folds `parseFloat("1.e2")` to 1, which is 100' ,
666626 [
667- "oxc minifier: peephole/esbuild.rs:494" ,
668627 "oxc minifier: peephole/replace_known_methods.rs:796" ,
669628 "oxc minifier: peephole/replace_known_methods.rs:797" ,
670629 "oxc minifier: peephole/replace_known_methods.rs:798" ,
0 commit comments