jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolay Georgiev <georgiev.niko...@gmail.com>
Subject XPath vs JR API Performance
Date Thu, 01 Sep 2011 08:03:54 GMT
I am wondering which would be faster,

XPath access or API Code for searching for data in the JackRabbit nodes?

Do you have experience with performance tests?

My logic is that API Code would be faster because I know what I am
searching, I have already references to it and with less or a little
bit more Java Code I can access it.
In contrast an XPath query should be first parsed, then the nodes
should be found, then the data queried and returned in objects which
wrap the data.

What do you think?


View raw message