ImageInfo and ImageRead performs way slower than ACF

Description

https://trycf.com/gist/591e51c2575086dc558c2881cb6033e8/lucee5?theme=monokai

ACF is running is 0-1ms on trycf
Lucee 53.3.62 on TryCF is 80ms
Lucee 5.3.5.13 running locally is roughly 400ms??

I was originally seeing this reading a local png file, the gist is adapted to work with ACF and trycf

Environment

Image Extension 1.0.0.28-SNAPSHOT
1.8.0_181 (Oracle Corporation) 64bit

Activity

Zac Spitzer 
19 July 2023 at 12:40

checking the code, ImageInfo isn’t just reading the metadata, it’s reading in a buffered image, so that needs more memory and is slower

Zac Spitzer 
1 October 2019 at 11:21

Pothys - MitrahSoft 
1 October 2019 at 06:22

I've checked this ticket & confirmed the issue happened on lucee latest version 5.3.5.14 also. ACF is running around 0-1 MS. But, lucee has taken above 300ms for running.

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 30 September 2019 at 14:39
Updated 6 March 2025 at 11:33