getFileInfo() is really slow

Description

1 2 3 4 5 6 7 <cfscript> s= gettickcount(); f = getTempFile(getTempDirectory(),'zzz'); echo(gettickcount()-s & "<br>"); GetFileInfo(f); echo(gettickcount()-s & "<br>"); </cfscript>

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

Status

Assignee

Michael Offner

Reporter

Zac Spitzer

Affects versions

5.3.5.13

Priority

New
Configure