test/data: add ridiculously-fast.png

This commit is contained in:
Nigel Tao committed 2023-06-17 19:50:47 +10:00
1 parent 5b84fb54d8
commit 2ca61b521f
4 files changed
+16 -5

No files matched your search

+11 -5
View File
@@ -1,12 +1,15 @@
![WUFFS Logo](./doc/logo/wuffs-acronym-logo-1536x1024.png)
Wuffs is a **memory-safe programming language** (and a **standard library** Wuffs is a **memory-safe programming language** (and a **standard library**
written in that language) for **Wrangling Untrusted File Formats Safely**. written in that language) for **Wrangling Untrusted File Formats Safely**.
Wrangling includes parsing, decoding and encoding. Example file formats include Wrangling includes parsing, decoding and encoding. Example file formats include
images, audio, video, fonts and compressed archives. images, audio, video, fonts and compressed archives.
It is **fast**. Per its [benchmarks](/doc/benchmarks.md) and other linked-to It is [**"ridiculously
blog posts: fast"**](https://twitter.com/richgel999/status/1481027198530248714).
![Screenshot of a tweet saying "ridiculously
fast"](./test/data/ridiculously-fast.png)
Per its [benchmarks](/doc/benchmarks.md) and other linked-to blog posts:
- It can decode bzip2 **[1.3x faster than `/usr/bin/bzcat` - It can decode bzip2 **[1.3x faster than `/usr/bin/bzcat`
(C)](https://nigeltao.github.io/blog/2022/wuffs-bzip2-decoder.html)**. (C)](https://nigeltao.github.io/blog/2022/wuffs-bzip2-decoder.html)**.
@@ -214,7 +217,10 @@ there.
Nonetheless, Wuffs' GIF decoder has shipped in the Google Chrome web browser Nonetheless, Wuffs' GIF decoder has shipped in the Google Chrome web browser
[since June [since June
2021](https://chromium-review.googlesource.com/c/chromium/src/+/2940044). 2021](https://chromium-review.googlesource.com/c/chromium/src/+/2940044). See
also the ["ridiculously
fast"](https://twitter.com/richgel999/status/1481027198530248714) tweet already
mentioned above.
# Discussion # Discussion
+4
View File
@@ -156,6 +156,10 @@ Pointer"](https://tools.ietf.org/rfc/rfc6901.txt) specification.
`rgb24png.bmp` comes from [BMP Suite](https://github.com/jsummers/bmpsuite), `rgb24png.bmp` comes from [BMP Suite](https://github.com/jsummers/bmpsuite),
which states that its generated images "are in the public domain". which states that its generated images "are in the public domain".
`ridiculously-fast.png` is a screenshot of a [Richard Geldreich
tweet](https://twitter.com/richgel999/status/1481027198530248714) from January
2022. It was lightly edited to darken the non-text areas.
`romeo.txt` is an excerpt of Shakespeare's "Romeo and Juliet", copied from `romeo.txt` is an excerpt of Shakespeare's "Romeo and Juliet", copied from
[shakespeare.mit.edu](http://shakespeare.mit.edu/romeo_juliet/romeo_juliet.2.2.html). [shakespeare.mit.edu](http://shakespeare.mit.edu/romeo_juliet/romeo_juliet.2.2.html).
Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

+1
View File
@@ -115,3 +115,4 @@ bf7e8c96 test/data/pjw-thumbnail.png
38cb4cbf test/data/red-blue-gradient.gamma2dot2.png 38cb4cbf test/data/red-blue-gradient.gamma2dot2.png
38cb4cbf test/data/red-blue-gradient.vanilla.png 38cb4cbf test/data/red-blue-gradient.vanilla.png
75060601 test/data/rgb24png.bmp 75060601 test/data/rgb24png.bmp
79ab18b6 test/data/ridiculously-fast.png