swc/crates/swc_ecma_minifier/tests/terser/compress/functions
Donny/강동윤 aacf7aaf80
feat(es/minifier): Drop function identifier in a single pass (#5901)
**Description:**

We only inline function declarations if `ref_count` is 1, so we don't need to preserve the name of the function.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5682.
2022-09-19 15:07:56 +00:00
..
avoid_generating_duplicate_functions_compared_together feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
avoid_generating_duplicate_functions_compared_together_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
avoid_generating_duplicate_functions_compared_together_3 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
avoid_generating_duplicate_functions_compared_together_4 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
deduplicate_parenthesis perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
drop_lone_use_strict feat(es/minifier): Improve gzipped size (#5631) 2022-08-26 05:23:01 +00:00
drop_lone_use_strict_arrows_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_lone_use_strict_arrows_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
duplicate_arg_var perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
duplicate_argnames perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
empty_body feat(es/minifier): Drop function identifier in a single pass (#5901) 2022-09-19 15:07:56 +00:00
function_returning_constant_literal feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
hoist_funs perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
hoist_funs_strict perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
iifes_returning_constants_keep_fargs_false perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
iifes_returning_constants_keep_fargs_true perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
inline_0 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
inline_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
inline_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
inline_3 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
inline_false perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
inline_function_expressions feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
inline_loop_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
inline_loop_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
inline_loop_3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
inline_loop_4 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
inline_true perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
inner_ref perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_203 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_485_crashing_1530 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_1841_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_1841_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2084 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2097 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2101 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2107 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2114_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2114_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2428 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2476 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2531_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2531_2 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_2531_3 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_2601_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2601_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2604_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2604_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2616 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2620_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2620_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2620_3 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2620_4 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2630_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2630_2 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_2630_3 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2630_4 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2630_5 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_2647_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2647_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2647_3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2657 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2663_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2663_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2663_3 perf(html): Reduce memory usage (#5867) 2022-09-15 04:17:05 +00:00
issue_2737_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2737_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2783 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2842 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_2898 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3016_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3016_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3016_2_ie8 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3016_3 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3016_3_ie8 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3018 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3054 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3076 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
issue_3125 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_3166 feat(es/minifier): Improve gzipped size (#5631) 2022-08-26 05:23:01 +00:00
issue_t131a feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_t131b feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
loop_init_arg perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
no_webkit feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
non_ascii_function_identifier_name feat(es/minifier): Consider char frequencies (#5375) 2022-08-03 10:20:17 +00:00
recursive_inline_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
recursive_inline_2 feat(es/minifier): Ignore recursive usage for function calls and pure calls (#5526) 2022-08-17 23:24:10 +00:00
unsafe_apply_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
unsafe_apply_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
unsafe_apply_expansion_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
unsafe_apply_expansion_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
unsafe_call_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
unsafe_call_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
unsafe_call_3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
unsafe_call_expansion_1 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
unsafe_call_expansion_2 perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
use_before_init_in_loop perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
webkit feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00