getFileInfo() is really slow

Description

this takes 188ms on an empty file with 5.3.5

ACF and Lucee 4.5 take 1ms

https://trycf.com/gist/f720c23b3fa9fd87dedf2f654025549a/lucee?theme=monokai

FileInfo() performs as expected

Environment

1.8.0_221 (Oracle Corporation) 64bit
Windows 10 (10.0) 64bit

Assignee

Michael Offner

Reporter

Zac Spitzer

Priority

New

Fix versions

Sprint

None

Affects versions

Configure