Bug 382528 - PERF: Performance regressions in 2.4.0 from 2.3.0
Summary: PERF: Performance regressions in 2.4.0 from 2.3.0
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2012-06-13 13:41 EDT by Edwin Tang CLA
Modified: 2022-06-09 10:21 EDT (History)
1 user (show)

See Also:


Attachments
some micro optimizations (49.75 KB, patch)
2012-06-13 14:20 EDT, James Sutherland CLA
no flags Details | Diff
a few more optimizations (58.70 KB, patch)
2012-06-19 11:32 EDT, James Sutherland CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Tang CLA 2012-06-13 13:41:41 EDT
There was a performance regression in 2.4 from 2.3 in reading tests from 4-10% in the emulated database run.
There was no significant regression in the Oracle database run, other than the dynamic JPQL test of ~10% which was expected due to Hermes (dynamic JPQL is quite rare because of our parse cache).
Comment 1 Edwin Tang CLA 2012-06-13 13:44:37 EDT
Compared EclipseLink versions: 2.3.0.v20110604-r9504 and 2.4.0.v20120601-r11584
Comment 2 James Sutherland CLA 2012-06-13 14:20:10 EDT
Created attachment 217307 [details]
some micro optimizations
Comment 3 James Sutherland CLA 2012-06-13 14:44:19 EDT
SVN trunk commit: bug#382528 - isolated performance

https://bugs.eclipse.org/bugs/show_bug.cgi?id=382528

A few micro optimizations.

Code review: Gord (pending)

Changes:
-	Cache if null values require conversion in direct mapping
-	Data optimize BigDecimal in accessor
-	Avoid locks for isolated cache keys
-	Avoid reflection for creation of standard collection types in container policy
-	Inline index in DatabaseField
-	Avoid creating wrapper aggregate cache key if not protected
Comment 4 James Sutherland CLA 2012-06-19 11:32:33 EDT
Created attachment 217551 [details]
a few more optimizations
Comment 5 Tom Ware CLA 2012-10-10 10:51:12 EDT
Changing target - missed 2.4.1 release.
Comment 6 James Sutherland CLA 2013-03-19 11:33:37 EDT
Deferring to 2.5
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:21:32 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink