objectbox / objectbox/objectbox-java
The first three times query.find It's slow
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Description
Sir,
Version 2.6.0/2.7.0
The first 2-3 times query.find It's slow. It's going to speed up after about 4 times.
1st: 4154ms
2nd: 3066ms
3.rd: 782ms
4.th: 741ms
There are 360000 lines in the whole database, and use .order。
Test found that as long as there are search conditions, it is the same rule.
Could you check it, please? Urgent need of project.
Thanks a lot.
Rain
2020-07-31
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported query.find timings with a 360,000-line database, search conditions, and order applied, comparing the first four runs. Investigate why the initial searches are slower; done means the first-run performance issue is addressed and the measurements show improved, repeatable timings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100