Anyone noticed slower application start up speeds ...
# adobe
d
Anyone noticed slower application start up speeds with CF2023? We are seeing CF2023 take 15 minutes longer to run the same test suite as CF2018 (using testbox on the same infrastructure) - All seems to be the coldfusion.compiler taking the time - I mentioned this the other day @Mark Takata (Adobe) but it seems CF 2023 has gone backwards a bit - it looks like getComponentMetadata may be one of the slow bits
m
I asked the team to take a look at this, because it has been an issue that's come up a few times. Doug would you be willing to hop on a call w/ some engineers at some point and just kind of repro this and have them do a little debugging? I think there's a complexity level at which this tends to occur (vs just spinning up more basic sites) and it might be useful to see more deeply into where the speed issues are showing up
d
Yup be happy to, I think @bdw429s has had a good dig at this in the past too. My best guess is CF is being very slow with things like getComponentMetadata which are used a lot in frameworks like coldbox and testbox.
m
Yes, I think that has been something that was identified as an issue, primarily with how we implement it in our compiler (but I think there's a reason we're doing it that way, possibly for security or backward compat) but in any case, let me reach out and see what I can do.
d
Nice one, i’m just thinking of the environment and the extra cpu cycles being used for no reason 🙂
m
Let me ping on some folks and see when we can get a call up for you. Is the email you have listed here a good one?
d
DM’d you
❤️ 1
m
Perfect. Thank you.
b
@dougcain FWIW, here are the times from the last run of the ColdBox platform test suiteLucee 5 - 3 min 38 sec • Lucee 6 (JDK 11) - 3 min 59 sec • Lucee 6 (JDK 17) - 3 min 31 sec • ACF 2018 - 4 min 23 sec • ACF 2021 - 4 min 5 sec • ACF 2023 (JDK 11) - 4 min 2 sec • ACF 2023 (JDK 17) - 3 min 48 sec
While Adobe's compiler hit is still slower than Lucee's, it's actually nice to see Java 17 seems a little faster on both CF engines!
Overall, I've not noticed ACF 2023 being any "slower" than previous versions.
d
Thanks @bdw429s overall speed seems similar just the pesky initial compile times have gone up for us - ACF 2023 - 2249s Vs ACF 2018 - 1375s for the same testbox suite on the same infrastructure (3000 ish tests)
l
initial compile times slow downs were introduced in a patch for 2021, 2018 and now 2023. I know @aliaspooryorik reported this initially and we reported it. I honestly can say that it has improved. but not enough. @bdw429s I remember pin pointed the issue to getCOmponentMetadata.
👍 2
a
Yes - from my investigation (with FusionReactor) then
getComponentMetadata
is the cause.
l
it's just such a horrible first hit. Reported ages ago
a
yes - reported long ago - with code to demonstrate it.
For reference for those reading along at home 🙂 https://tracker.adobe.com/#/view/CF-4207069
👏 1
@lmajano don't suppose you happen to have a standalone example of what is slow. I can't seen to nail it down. I'm pretty sure
getComponentMetadata
is the culprit but what specifically it is - is it with inheritance / interfaces / arrow functions etc.
l
I don't remember, it was pretty much anything when I tested
a
Not to worry 🙂