Skip to content
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

perf: reduce the number of debug impls in release builds #28417

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nathanwhit
Copy link
Member

Mostly an experiment, not sure it's worth the noise.

❯ bloaty --domain file target/release/deno -- ./deno-baseline
    FILE SIZE   
 -------------- 
  +200%      +8    [__LINKEDIT]
  -0.4%    -280    Rebase Info
  -0.0%    -368    __TEXT,__unwind_info
  -1.0%    -688    __TEXT,__literals
  -0.2%    -704    Function Start Addresses
  -0.1% -1.06Ki    Code Signature
  -0.1% -2.31Ki    __TEXT,__eh_frame
  -0.0% -4.00Ki    __TEXT,__const
 -23.0% -4.23Ki    [__TEXT]
  -0.2% -4.43Ki    __TEXT,__gcc_except_tab
 -79.5% -7.92Ki    [__DATA_CONST]
  -0.3% -8.08Ki    __DATA_CONST,__const
  -0.2% -10.1Ki    Symbol Table
  -0.2% -43.7Ki    String Table
  -0.1% -48.0Ki    __TEXT,__text
  -0.1%  -135Ki    TOTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant