Re: [basex-talk] Same XQuery faster 2nd+ time

2015-08-21 Thread Philipp Steiner
Hi Christian, thank you, good to know, that's exactly the answer i was looking for. I will change my benchmarks accordingly... All the best, Philipp On 18.08.2015 17:43, Christian Grün wrote: Hi Philipp, 1st FLOWR query on collection: ~700ms 2nd+ identical query same collection: just

[basex-talk] Same XQuery faster 2nd+ time

2015-08-18 Thread Philipp Steiner
Hi, i'm a student learning XPath/XQuery/BaseX and currently experiment with XQueries on large xml files in BaseX, hope i didn't miss something obvious :) Test: 1st FLOWR query on collection: ~700ms 2nd+ identical query same collection: just ~200ms ! ? My XML-files are OPTIMIZE'd on import,

Re: [basex-talk] Same XQuery faster 2nd+ time

2015-08-18 Thread Christian Grün
Hi Philipp, 1st FLOWR query on collection: ~700ms 2nd+ identical query same collection: just ~200ms ! If I get it right, you ran the same query, and the second run was faster than the first run? This will mostly be the case, no matter which database you are testing. Once a query has been run,