Hello,
We just started looking into Coldbox and have worked through the
samples and trying to build a simple application to start. Right now
it's just a simple Hello World. We noticed using the samples it takes
about 1-2 seconds for each page request. Our simple Hello World takes
the same amount of time. We refreshed a few times and see the same
time.
We code our non-Coldbox Applications with an MVC pattern, but no
framework. We have a highly database driven website and the average
load time for these pages is about 500ms.
We were wondering if this 1-2 second overhead from Coldbox is normal?
I looked through some threads here and saw the mention of setting
these variables to false, but this had no effect:
<Setting name="DebugMode" value="false"/>
<Setting name="HandlersIndexAutoReload" value="false"/>
<Setting name="ConfigAutoReload" value="false"/>
We are running Coldfusion v9 on Redhat ES5.
The top execution times we are seeing are below:
1856 ms 1856 ms 1 CFC[ /XXX/sitemap_advanced/Application.cfc |
onRequestStart(/sitemap_advanced/index.cfm) ] from /XXX/
sitemap_advanced/Application.cfc
647 ms 324 ms 2 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/
services/HandlerService.cfc | getHandler(CFC:
coldbox.system.beans.EventHandlerBean, CFC:
coldbox.system.web.context.RequestContext) ] from /XXX/coldbox/
coldbox_3.0.0.RC1/system/web/services/HandlerService.cfc
416 ms 416 ms 1 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/
Controller.cfc | runEvent(default = true) ] from /XXX/coldbox/
coldbox_3.0.0.RC1/system/web/Controller.cfc
400 ms 400 ms 1 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/
services/ModuleService.cfc | reloadAll() ] from /XXX/coldbox/
coldbox_3.0.0.RC1/system/web/services/ModuleService.cfc
395 ms 395 ms 1 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/
Controller.cfc | runEvent(Main.onRequestStart, true) ] from /XXX/
coldbox/coldbox_3.0.0.RC1/system/web/Controller.cfc
290 ms 145 ms 2 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/core/util/
Util.cfc | convertToColdBox(argumentCollection = [complex value]) ]
from /XXX/coldbox/coldbox_3.0.0.RC1/system/core/util/Util.cfc
169 ms 169 ms 1 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/
Controller.cfc | getPlugin(Renderer) ] from /XXX/coldbox/
coldbox_3.0.0.RC1/system/web/Controller.cfc
167 ms 167 ms 1 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/
services/PluginService.cfc | get(Renderer, false, , true) ] from /XXX/
coldbox/coldbox_3.0.0.RC1/system/web/services/PluginService.cfc
160 ms 53 ms 3 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/
Controller.cfc | getPlugin(BeanFactory) ] from /XXX/coldbox/
coldbox_3.0.0.RC1/system/web/Controller.cfc
150 ms 50 ms 3 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/services/
PluginService.cfc | get(BeanFactory, false, , true) ] from /XXX/
coldbox/coldbox_3.0.0.RC1/system/web/services/PluginService.cfc
117 ms 117 ms 1 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/plugins/
Renderer.cfc | renderLayout() ] from /XXX/coldbox/coldbox_3.0.0.RC1/
system/plugins/Renderer.cfc
112 ms 112 ms 1 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/
services/RequestService.cfc | requestCapture() ] from /XXX/coldbox/
coldbox_3.0.0.RC1/system/web/services/RequestService.cfc
110 ms 28 ms 4 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/beans/
InterceptorState.cfc | process(CFC:
coldbox.system.web.context.RequestContext, [complex value]) ] from /
XXX/coldbox/coldbox_3.0.0.RC1/system/beans/InterceptorState.cfc
108 ms 54 ms 2 CFC[ /XXX/coldbox/coldbox_3.0.0.RC1/system/web/services/
InterceptorService.cfc | processState(afterHandlerCreation, [complex
value]) ] from /XXX/coldbox/coldbox_3.0.0.RC1/system/web/services/
InterceptorService.cfc
Thanks,
Carlos