[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-327?pag...
]
Sanne Grinovero commented on HSEARCH-327:
-----------------------------------------
Getting impressive results with a micro-benchmark (not very reliable):
FS, new IndexWriter per Transaction:
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 15453ms.
(100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 15960ms.
(100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 14787ms.
(100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 38502ms.
(100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 14450ms.
(100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 14397ms.
(100 searches, 10 insertions, 20 updates)
FS, IndexWriter shared across each Transaction:
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 1395ms. (100
searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 305ms. (100
searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 266ms. (100
searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 274ms. (100
searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 267ms. (100
searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 173ms. (100
searches, 10 insertions, 20 updates)
Capability to reuse IndexWriter instances across transactions
-------------------------------------------------------------
Key: HSEARCH-327
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-327
Project: Hibernate Search
Issue Type: Improvement
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 3.2.0
don't close the IndexWriter but reuse it for the work on the next transaction.
It is needed that this can be disabled for some configurations: create a new
configuration parameter.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira