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

Avoid debug serialization of PropertyDeclaration & co in release builds #19779

Merged
merged 1 commit into from Jan 16, 2018

Commits on Jan 16, 2018

  1. Avoid debug serialization of PropertyDeclaration & co in release builds.

    In total, this PR saves ~60k.
    
    The conditional compilation on the _Debug FFI function eliminates one
    of the ToCss variants, eliminating 54.4k, as well as a bunch of other
    <1k functions. Removing the public trait implementation of Debug for the
    font metrics provider eliminates the last Debug impl from stylo.
    
    MozReview-Commit-ID: nIfQ3sy4OW
    bholley committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    9a8821a View commit details
    Browse the repository at this point in the history