On 2009-11-14 09.30, Niclas Hedhman wrote:
On Sat, Nov 14, 2009 at 4:14 PM, Niclas Hedhman<[email protected]>  wrote:

I made the change suggested above and suddenly things are 'faster'. I
wouldn't say "fast", because we are still in the 200-300ms range for
the first 'find', then drops to ~20-40ms, on my machine.

A bit more extensive tests.
Populating 100,000 entities as given by Jacek.

Then I query for 5 different entities via name(), without DISTINCT and
without FILTER (literal on the ns1:name predicate )

The times are;
Retrival time of Lead64532 by name: 220
Retrival time of Lead98276 by name: 24
Retrival time of Lead2 by name: 5
Retrival time of Lead14332 by name: 4
Retrival time of Lead632 by name: 3

Is this without warmup? Sounds like it. Do you get the same if you repeat the queries a couple of times? 3ms would be ok.

A first step would seem to be to just skip the FILTER clause.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to