Hi Rob,
I found that when running the application the distribution of the
life-cycle fases: Parsing, Compiling, Evaluating and Printing, is:
What’s the total execution time?
However I had expected/hoped that this code-optimization only occurs at the first run and that the optimized code is kept for following runs.
We may cache compiled expressions in a future version of BaseX.
First of all: am I correct in my analysis? Secondly, can you give me any
advise on improving the parsing-time, not being giving up on my development-paradigm, based on these stats?
Possibly yes. A general recommendation for complex code is to reduce the inline limit [1]. In some cases, your code will even be faster if you disable the feature completely (by assigning 0). You could also reduce the UNROLLLIMIT.
Hope this helps, Christian