Skip to content

Why is the first query time slower than subsequent queries? #488

Answered by fh-ms
nhthong2001 asked this question in Q&A
Discussion options

You must be logged in to vote

The executed Java code gets faster at runtime because of optimization done by the JIT compiler of the JVM. After your data was loaded into memory, MicroStream isn't involved anymore when querying or traversing your object graph. This is pure JVM power.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nhthong2001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants