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

flate: Improve level 1 speed by ~10% #482

Merged
merged 1 commit into from Jan 31, 2022
Merged

Commits on Jan 31, 2022

  1. flate: Improve level 1 speed

    Mainly through manual inlining.
    
    ```
    BenchmarkEncodeDigitsSpeed1e4-32     53121         47995         -9.65%
    BenchmarkEncodeDigitsSpeed1e5-32     686799        630834        -8.15%
    BenchmarkEncodeDigitsSpeed1e6-32     6636421       6054570       -8.77%
    BenchmarkEncodeTwainSpeed1e4-32      77016         69146         -10.22%
    BenchmarkEncodeTwainSpeed1e5-32      690640        634364        -8.15%
    BenchmarkEncodeTwainSpeed1e6-32      6915519       6367504       -7.92%
    
    BenchmarkEncodeDigitsSpeed1e4-32     188.25       208.35       1.11x
    BenchmarkEncodeDigitsSpeed1e5-32     145.60       158.52       1.09x
    BenchmarkEncodeDigitsSpeed1e6-32     150.68       165.16       1.10x
    BenchmarkEncodeTwainSpeed1e4-32      129.84       144.62       1.11x
    BenchmarkEncodeTwainSpeed1e5-32      144.79       157.64       1.09x
    BenchmarkEncodeTwainSpeed1e6-32      144.60       157.05       1.09x
    ```
    klauspost committed Jan 31, 2022
    Copy the full SHA
    4a278e7 View commit details
    Browse the repository at this point in the history