Any ideas why turning on Event Handling within Coldbox (latest update a few minutes ago) running on Railo would cause huge amounts of execution time on postLoad? My eventHandler is empty so its either coldbox or coldfusion causing the problem. I tried rolling back to latest stable of Railo & ColdBox and same problem happens.
With event handling turned on - page execution time is around 800ms & without event handling turned on page load is around 120ms.
Jeremy R. DeYoung
615.261.8201 • jeremy.deyoung@lunarfly.com • LunarFly.com
sorry I meant eventHandler
this.ormSettings = {
cfclocation = [“model”],
dialect = “MySQLwithInnoDB”,
dbcreate = “update”,
secondarycacheenabled = false,
cacheprovider = “ehCache”,
logSQL = false,
flushAtRequestEnd = false,
autoManageSession = false,
eventHandling = true,
eventHandler = “model.EventHandler”,
skipCFCWithError = false
};

Do you mean this in coldbox.cfc?
orm = {
injection = {
// enable entity injection
enabled = true,
// a list of entity names to include in the injections
include = “”,
// a list of entity names to exclude from injection
exclude = “audit”
}
};


Getting better. It is about 500ms with EventHandler enabled verse without it.



Are you doing entity injections?
Not sure why it would slow it down so much. It should read the metadata once forever, so the first hit to entities is slow then it remembers.
Have you tried in Adobe?
I have not committed changes to event handling in a long time.

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
Social: twitter.com/lmajano facebook.com/lmajano



have not tested adobe - will do so this afternoon.
and I’m not doing entity injection yet - I want to use the validation stuff so I believe I have to use that in order for it to work…?




tried 3.6 however apparently using a new feature dealing with messageBox so it just breaks. I’m going to try ACF10





i narrowed it down to Query of Query issue. Looks like EventHandler PostLoad is firing everytime I do a QoQ which is over 1200 times
Is there a quick fix for this or should I switch to a Structured/Array instead of doing a QoQ?





Weird. Why would a qofqdo that
Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions
i suspect a weird railo bug. I’ll open a ticket and see what they say.