update benchmark result

This commit is contained in:
John Cupitt 2020-05-13 16:38:35 +01:00
parent d78480c846
commit c2165671e2
2 changed files with 11 additions and 12 deletions

View File

@ -31,11 +31,11 @@ libspng benchmark:
``` ```
$ time vips avg wtc.png $ time vips avg wtc.png
151.549325 117.065766
real 0m3.167s real 0m2.972s
user 0m3.714s user 0m3.376s
sys 0m0.194s sys 0m0.197s
``` ```
And for libpng: And for libpng:
@ -49,8 +49,6 @@ user 0m4.177s
sys 0m0.221s sys 0m0.221s
``` ```
The avg is different since libspng is generating alpha 255.
# Introduction # Introduction
libvips is a [demand-driven, horizontally libvips is a [demand-driven, horizontally

View File

@ -31,18 +31,19 @@
*/ */
/* Notes: /* TODO
*
* an enum for interlace_method would be nice ... ADAM7 == 1, no interlace == 0
* *
* an enum for interlace_method would be nice ... ADAM7 == 1,
* no interlace == 0.
* an equivalent of png_sig_cmp() from libpng (is_a_png on a memory area) * an equivalent of png_sig_cmp() from libpng (is_a_png on a memory area)
* *
* test indexed decode * test indexed decode
* *
* Most metadata support (eg. XMP, ICC, etc. etc.) is missing. We will need * most metadata support (eg. XMP, ICC, etc. etc.) is missing ... we will need
* to set a chunk size limit with spng_set_chunks_limits(). * to set a chunk size limit with spng_set_chunks_limits()
*
* load only, there's no save support for now
* *
* Load only, there's no save support for now.
*/ */
/* /*