Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Ben NadelBen NadelLabels
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
NoneFix versions
Priority
New
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Ben Nadel
Ben NadelLabels
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
None
Fix versions
Priority
Created 23 September 2021 at 14:52
Updated 3 August 2022 at 11:21
Resolved 7 July 2022 at 14:08
The
ElapsedTime
metadata property on a CFThread has different behavior in Lucee vs. Adobe ColdFusion. In ACF, theElapsedTime
property is a snapshot of how long the thread took to execute. In Lucee, however, the value continues to increase even after the thread as completed execution.ACF: ElapsedTime = ( EndTime - StartTime )
Lucee: ElapsedTime = ( Now() - StartTime )
I demonstrated the difference here: https://www.bennadel.com/blog/4121-cfthread-elapsedtime-is-not-processor-time-in-lucee-cfml-5-3-8-201.htm
To reproduce, all you have to do is start a few threads with some
sleep()
commands and then dump out thecfthread
scope when they have joined - theElapsedTime
values will basically all be the same (within a few ms).