Skip to content

Commit

Permalink
Version 2.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
shssoichiro committed Nov 28, 2018
1 parent 1305b5c commit 565d08e
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 29 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Version 2.1.7
- 80x faster palette reduction ([#150](https://github.com/shssoichiro/oxipng/pull/150))
- Optimize RGB to palette conversion ([#148](https://github.com/shssoichiro/oxipng/pull/148))
- Various microoptimizations ([#146](https://github.com/shssoichiro/oxipng/pull/146))
- Introduce third-party safe wrapper around cloudflare-zlib ([#149](https://github.com/shssoichiro/oxipng/pull/149))

### Version 2.1.6
- Identify and drop useless sRGB profiles ([#143](https://github.com/shssoichiro/oxipng/pull/143))
- Alpha heuristic improvements ([#144](https://github.com/shssoichiro/oxipng/pull/144))
Expand Down
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ homepage = "https://github.com/shssoichiro/oxipng"
license = "MIT"
name = "oxipng"
repository = "https://github.com/shssoichiro/oxipng"
version = "2.1.6"
version = "2.1.7"

[badges]
travis-ci = { repository = "shssoichiro/oxipng", branch = "master" }
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,29 +94,29 @@ Oxipng is open-source software, distributed under the MIT license.

## Benchmarks

Tested oxipng 2.1.6 (compiled on rustc 1.30.1 (1433507eb 2018-11-07)) against OptiPNG version 0.7.7 on Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz with 8 logical cores
Tested oxipng 2.1.7 (compiled on rustc 1.30.1 (1433507eb 2018-11-07)) against OptiPNG version 0.7.7 on Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz with 8 logical cores



Benchmark #1: ./target/release/oxipng -P ./tests/files/rgb_16_should_be_grayscale_8.png
Time (mean ± σ): 103.7 ms ± 1.9 ms [User: 178.2 ms, System: 24.1 ms]
Range (min … max): 99.7 ms … 107.2 ms
Time (mean ± σ): 104.5 ms ± 2.0 ms [User: 169.4 ms, System: 23.9 ms]
Range (min … max): 101.3 ms … 108.9 ms

Benchmark #2: optipng -simulate ./tests/files/rgb_16_should_be_grayscale_8.png
Time (mean ± σ): 275.4 ms ± 4.2 ms [User: 274.8 ms, System: 0.6 ms]
Range (min … max): 268.7 ms … 284.2 ms
Time (mean ± σ): 272.3 ms ± 3.1 ms [User: 271.3 ms, System: 1.1 ms]
Range (min … max): 269.1 ms … 278.6 ms

Summary
'./target/release/oxipng -P ./tests/files/rgb_16_should_be_grayscale_8.png' ran
2.66 ± 0.06 times faster than 'optipng -simulate ./tests/files/rgb_16_should_be_grayscale_8.png'
2.60 ± 0.06 times faster than 'optipng -simulate ./tests/files/rgb_16_should_be_grayscale_8.png'
Benchmark #1: ./target/release/oxipng -o4 -P ./tests/files/rgb_16_should_be_grayscale_8.png
Time (mean ± σ): 128.4 ms ± 4.7 ms [User: 415.7 ms, System: 26.0 ms]
Range (min … max): 121.0 ms … 138.5 ms
Time (mean ± σ): 128.1 ms ± 4.1 ms [User: 404.8 ms, System: 27.3 ms]
Range (min … max): 123.1 ms … 140.4 ms

Benchmark #2: optipng -o 4 -simulate ./tests/files/rgb_16_should_be_grayscale_8.png
Time (mean ± σ): 923.1 ms ± 6.0 ms [User: 919.4 ms, System: 3.1 ms]
Range (min … max): 914.7 ms … 930.2 ms
Time (mean ± σ): 914.8 ms ± 3.7 ms [User: 913.2 ms, System: 1.2 ms]
Range (min … max): 910.5 ms … 923.7 ms

Summary
'./target/release/oxipng -o4 -P ./tests/files/rgb_16_should_be_grayscale_8.png' ran
7.19 ± 0.26 times faster than 'optipng -o 4 -simulate ./tests/files/rgb_16_should_be_grayscale_8.png'
7.14 ± 0.23 times faster than 'optipng -o 4 -simulate ./tests/files/rgb_16_should_be_grayscale_8.png'

0 comments on commit 565d08e

Please sign in to comment.