php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #81127 New test for AVIF is too long
Submitted: 2021-06-10 21:27 UTC Modified: 2021-07-03 09:55 UTC
From: morss at google dot com Assigned: cmb (profile)
Status: Closed Package: GD related
PHP Version: Next Minor Version OS: all
Private report: No CVE-ID: None
 [2021-06-10 21:27 UTC] morss at google dot com
Description:
------------
AVIF lossless conversion can be slow, but I didn't know it would be _this_ slow.
I will replace the test AVIF image with something even smaller and faster to convert.

(26.451 s) avif decoding/encoding tests [ext/gd/tests/avif_decode_encode.phpt]


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-03 01:28 UTC] pajoye@php.net
Also one thing that will help a little bit is to expose gdImageCompare and use it in tests instead of the PHP compare version.
 [2021-07-03 02:27 UTC] morss at google dot com
The following pull request has been associated:

Patch Name: Speed up slow AVIF test
On GitHub:  https://github.com/php/php-src/pull/7211
Patch:      https://github.com/php/php-src/pull/7211.patch
 [2021-07-03 09:55 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC