Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Luis Majano / Luis Majano (Luis Majano)
Created: 06/13/2014
Components: ORM Support
Versions: 11.0
Failure Type: Performance Issue
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: ALL / Platforms All
Vote Count: 2
Problem Description:
We have discovered that ORMExecuteQuery() is very bad on performance in comparison to normal cfquery and also ORM hibernate criteria queries (ColdBox). Here is a little report we did:
h1.15 records with ColdFusion
* cfquery: 3ms
* ORMExecuteQuery: 36ms
* ColdBox Criteria Queries: 8ms
h1. 200 records with ColdFusion
* cfquery: 33ms
* ORMExecuteQuery: 443ms
* ColdBox Criteria: 17ms
The ColdBox criteria queries leverages the internal Hibernate Criteria interface. However, also entityload is very fast as well, sometimes faster than cfquery. So the only culprit is ORMExecuteQuery().
To test this we did a ContentBox install up with a SQL Server 2008 R2 database. I populated 500 blog entries and 3,000 comments (6 per blog entry).
Thoughts?
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3775860
External Customer Info:
External Company:
External Customer Name: LuisMajano
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: