|
From: <leg...@at...> - 2003-06-25 17:37:21
|
The following comment has been added to this issue:
Author: John Kristian
Created: Wed, 25 Jun 2003 12:36 PM
Body:
See http://sourceforge.net/forum/forum.php?thread_id=883135&forum_id=128638
When I used Hibernate 1.2.5 to load a few thousand objects into a cold cache by calling Session.find("FROM entity IN CLASS X"), it took a few seconds to execute. But it took about 7 minutes after I switched to Hibernate 2.0. It takes about 2 seconds to execute the same test (loading the same entities) if there are no <jcs-cache> elements in the Hibernate mapping files. Hibernate 2.0 performs much better using the version of lib/jcs.jar that was released with Hibernate 1.2.5, instead of the lib/jcs.jar that was released with Hibernate 2.0. This combination of software can load entries into a cold cache approximately as fast as Hibernate 1.2.5.
I'm willing to test a better version of JCS, but I have been unable to build it.
- John Kristian <jkr...@do...>
P.S. I also filed JIRA report HB-156, but it seems JIRA has lost my report and also my identity (I just enrolled myself again, with the same username).
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-148
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-148
Summary: Old JCS jar is faster than new one (?)
Type: Task
Status: Assigned
Priority: Major
Project: Hibernate2
Versions:
2.0.1
Assignee: Gavin King
Reporter: Gavin King
Created: Fri, 20 Jun 2003 10:30 PM
Updated: Fri, 20 Jun 2003 10:30 PM
Description:
A user reported that the build of JCS that ships with Hibernate2 is MUCH slower than the earlier build that we were using.
We need to verify this and find out why....
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|