Improve performance of cfdump by removing file system exists check

Description

I don't know if it's possible to remove these checks, but when I'm debugging with a lot of cfdumps, I've noticed they are quite slow and the same stack trace that comes up over and over is the resource.exists() checks which are part of the callStackGet() function that gets the current template path. These really add quite a lot of overhead and shouldn't be necessary just to call cfdump.

This excerpt is from the FusionReactor profiler:

relates to

Activity

Show:

Details

Assignee

Reporter

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

Priority

Created 1 September 2021 at 15:16
Updated 8 June 2023 at 20:35