Skip to content

rustc 1.87.0 and rustc beta performance regression #598

@arichnad

Description

@arichnad

Hello, I saw a performance regression using rustc 1.87.0 and rustc beta.

I'm using the master branch of image-png ( 56fbdc5 ).

for version in 1.86.0 1.87.0 beta nightly; do
  rustup install --profile minimal $version && rustup run $version cargo run --release --example=corpus-bench
done

I'm including a total encoding line of each version here from one computer, but I ran this on multiple hosts, and noticed similar results (similar ratios).

  • 1.86.0 233 mps 0.722 GiB/s
  • 1.87.0 133 mps 0.412 GiB/s
  • beta 132 mps 0.410 GiB/s
  • nightly 215 mps 0.665 GiB/s

The ratio is more visible if you disable png compression.

Let me know if there is any more information I can provide, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions