[
https://jira.jboss.org/jira/browse/ISPN-276?page=com.atlassian.jira.plugi...
]
Sanne Grinovero commented on ISPN-276:
--------------------------------------
Thanks for the patch Davide, it's going in the good direction but I've just
committed some additional tests you should look into.
It's a stresstest so it's disabled in default build by Maven, you'll have to
start it manually: org.infinispan.lucene.profiling.PerformanceCompareStressTest
To be meaningful this test requires a fix for Lucene:
https://issues.apache.org/jira/browse/LUCENE-2095
I'm attaching a fixed Lucene snapshot build, please add it to your local repo as
2.9.2-SNAPSHOT and cheat your pom.xml: unfurtunately Lucene doesn't release currently
snapshots.
Expensive to read a single byte in Lucene Directory
---------------------------------------------------
Key: ISPN-276
URL:
https://jira.jboss.org/jira/browse/ISPN-276
Project: Infinispan
Issue Type: Bug
Components: Lucene Directory
Affects Versions: 4.0.0.CR1, 4.0.0.CR2
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.0.0.GA
Attachments: readByte.diff
public byte readByte() in org.infinispan.lucene.InfinispanIndexIO is doing some expensive
operations, while this is a very hot spot.
Spotted by Earwin Burrfoot on Lucene's developer list.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira