Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Doug C. / ()
Created: 02/13/2020
Components: General Server, Performance
Versions: 2018
Failure Type: Performance Issue
Found In Build/Fixed In Build: 2018 update 6 and above /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2016
Vote Count: 2
Problem Description:
It looks like u6 has introduced a significant overhead to the compiler, I would guess with the new fat arrow parsing (props to John Whish for that thought).
2018 u6 – 550,000 + ms startup
2018 u4 – 130,000 ms startup
2016 u13 – 110,000 ms startup
2011 u19 – 115,000 ms startup
U6 has nearly a 5x slowdown!
Image is a stack trace of an initial request being processed on startup
Steps to Reproduce:
John Whish has helpfully created a test suite that highlights the issue. He has added it git hub here:
https://github.com/aliaspooryorik/cf_compiler_test
If you grab the source and follow the instructions in the README.md it will use command box to grab test box and run a simple set of tests – these are purely for this exercise and simply create a lot of cfc’s with functions that don’t really do anything.
We suspect this is a compiler issue related to the introduction of fat arrow syntax in update 6
Actual Result:
If I run this on my setup I see cf2018 u6 takes around 80,000ms on its first run
Expected Result:
On cf2018 u4 it takes 40,000ms on first run.
Any Workarounds:
Use cf2018 u4 - but this is unacceptable as u6+ includes several security fixes
Attachments:
Comments: