Skip to content

Commit

Permalink
fix readme (+4 squashed commits)
Browse files Browse the repository at this point in the history
Squashed commits:
[85677f9] fix error
[f44ebb1] update results for unrolled implementation
[83968c3] fix #4
[cd73c51] update link
  • Loading branch information
homm committed Jul 2, 2016
1 parent 81496ef commit 0073842
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ and AVX2 support.
## Status

Pillow-SIMD can be used in production. Pillow-SIMD has been operating on
[Uploadcare](https://uploadcare.com/) servers for more than 1 year.
[Uploadcare][uploadcare.com] servers for more than 1 year.
Uploadcare is SAAS for image storing and processing in the cloud
and the main sponsor of Pillow-SIMD project.

Expand All @@ -46,35 +46,35 @@ Currently, following operations are accelerated:

The numbers in the table represent processed megapixels of source image
per second. For example, if resize of 7712×4352 image is done in 0.5 seconds,
the result will be 61.7 Mpx/s.
the result will be 67.1 Mpx/s.

- ImageMagick 6.9.3-8 Q8 x86_64
- Pillow 3.2.0
- Pillow-SIMD 3.2.0.post1
- Pillow-SIMD 3.2.0.post2

Source | Operation | Filter | IM | Pillow | SIMD SSE4 | SIMD AVX2
----------|-------------------------|---------|------|--------|-----------|-----------
7712×4352 | **Resize to 16x16** | Bilinear| 27.0 | 217 | 456 | 545
| | Bicubic | 10.9 | 115 | 240 | 278
| | Lanczos | 6.6 | 76.1 | 162 | 194
| **Resize to 320x180** | Bilinear| 32.0 | 166 | 354 | 410
| | Bicubic | 16.5 | 92.3 | 198 | 204
| | Lanczos | 11.0 | 63.2 | 133 | 147
| **Resize to 2048x1155** | Bilinear| 20.7 | 87.6 | 202 | 217
| | Bicubic | 12.2 | 65.7 | 126 | 130
| | Lanczos | 8.7 | 41.3 | 88.2 | 95.6
7712×4352 | **Resize to 16x16** | Bilinear| 27.0 | 217 | 437 | 710
| | Bicubic | 10.9 | 115 | 232 | 391
| | Lanczos | 6.6 | 76.1 | 157 | 265
| **Resize to 320x180** | Bilinear| 32.0 | 166 | 410 | 612
| | Bicubic | 16.5 | 92.3 | 211 | 344
| | Lanczos | 11.0 | 63.2 | 136 | 223
| **Resize to 2048x1155** | Bilinear| 20.7 | 87.6 | 229 | 265
| | Bicubic | 12.2 | 65.7 | 140 | 171
| | Lanczos | 8.7 | 41.3 | 100 | 126
| **Blur** | 1px | 8.1 | 17.1 | 37.8
| | 10px | 2.6 | 17.4 | 39.0
| | 100px | 0.3 | 17.2 | 39.0
1920×1280 | **Resize to 16x16** | Bilinear| 41.6 | 196 | 422 | 489
| | Bicubic | 18.9 | 102 | 225 | 263
| | Lanczos | 13.7 | 68.6 | 118 | 167
| **Resize to 320x180** | Bilinear| 27.6 | 111 | 196 | 197
| | Bicubic | 14.5 | 66.3 | 154 | 162
| | Lanczos | 9.8 | 44.3 | 102 | 107
| **Resize to 2048x1155** | Bilinear| 9.1 | 20.7 | 71.3 | 72.6
| | Bicubic | 6.3 | 16.9 | 49.3 | 54.3
| | Lanczos | 4.7 | 14.6 | 36.8 | 40.6
1920×1280 | **Resize to 16x16** | Bilinear| 41.6 | 196 | 426 | 750
| | Bicubic | 18.9 | 102 | 221 | 379
| | Lanczos | 13.7 | 68.6 | 140 | 227
| **Resize to 320x180** | Bilinear| 27.6 | 111 | 303 | 346
| | Bicubic | 14.5 | 66.3 | 164 | 230
| | Lanczos | 9.8 | 44.3 | 108 | 143
| **Resize to 2048x1155** | Bilinear| 9.1 | 20.7 | 71.1 | 69.6
| | Bicubic | 6.3 | 16.9 | 53.8 | 53.1
| | Lanczos | 4.7 | 14.6 | 40.7 | 41.7
| **Blur** | 1px | 8.7 | 16.2 | 35.7
| | 10px | 2.8 | 16.7 | 35.4
| | 100px | 0.4 | 16.4 | 36.2
Expand All @@ -84,7 +84,7 @@ Source | Operation | Filter | IM | Pillow | SIMD SSE4 | SIMD

Pillow is always faster than ImageMagick. And Pillow-SIMD is faster
than Pillow in 2—2.5 times. In general, Pillow-SIMD with AVX2 almost always
**10 times faster** than ImageMagick.
**10-15 times faster** than ImageMagick.

### Methodology

Expand Down Expand Up @@ -179,3 +179,4 @@ will appear in next Pillow-SIMD version automatically.
[original-changelog]: https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst
[original-contribute]: https://github.com/python-pillow/Pillow/blob/master/.github/CONTRIBUTING.md
[gaussian-blur-changes]: http://pillow.readthedocs.io/en/3.2.x/releasenotes/2.7.0.html#gaussian-blur-and-unsharp-mask
[uploadcare.com]: https://uploadcare.com/?utm_source=github&utm_medium=description&utm_campaign=pillow-simd

0 comments on commit 0073842

Please sign in to comment.