Commit Graph
12 Commits
Author SHA1 Message Date
Michael Mc Donnell d17fc6e6eb Fix Rust GIF benchmark
The Rust GIF benchmark no longer compiles. The Cargo.toml file uses a
star to specify the gif crate version. That means a clean compile will
use the latest version even if it has breaking changes. Version 0.11 has
breaking changes which means the benchmark can no longer be compiled
from a clean start.

I fixed the benchmark by pinning the version to 0.11 and updating the
code to use the new API.
2022-01-14 11:01:11 -08:00
Nigel Tao 425eefeb35 Replace "go get" advice with "go install"
Fixes #62
2021-12-30 22:58:12 +11:00
Nigel Tao ee62582609 Tweak some mimic bench names for benchstat-ratio 2021-03-13 13:31:41 +11:00
Nigel Tao e442d4593c Add num_want_bytes to script/bench-rust-gif 2019-10-20 12:10:09 +11:00
Nigel Tao 29c23cd505 Add a warm-up rep to script/bench-rust-gif 2019-10-20 12:03:14 +11:00
Nigel Tao d2b0e1c203 Refine script/bench-rust-gif crates.io URL 2019-10-20 10:35:51 +11:00
Nigel Tao 078d8a6b9c Have script/bench-rust-gif print the rustc version 2019-10-20 10:30:29 +11:00
Nigel Tao ffdce5ef18 Have bench-rust-gif process animated / RGBA images 2019-10-16 16:42:51 +11:00
Nigel Tao df66093473 Have bench-rust-gif process multiple images 2019-10-16 15:56:11 +11:00
Nigel Tao 670b45be53 Add some "horizontal rule" comment lines 2019-02-02 08:10:08 +11:00
Nigel Tao d1399fac19 Rename test/testdata to test/data 2018-03-16 10:48:33 +11:00
Nigel Tao 9a463d4675 Add some more Go and Rust GIF benchmarks
On my machine (Debian Testing as of November 2017, Intel x86_64
Broadwell):

Rust    28.0  rustc 1.14  github.com/Geal/gif.rs
Rust    29.1  rustc 1.14  github.com/PistonDevelopers/image-gif
Go      62.7  go 1.9      standard library's image/gif
C       97.3  giflib 5.1  from Debian Testing's /usr/lib
Wuffs  123    clang 5.0
Wuffs  136    gcc 7.2

Numbers are megabytes per second, equivalent to megapixels per second
for GIF images.
2018-02-02 12:09:22 +11:00