-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a simple JMH benchmark to measure FST compilation / traversal times #12884
Comments
We can use #12879 as a benchmark candidate to compare against the current baseline. |
I can look into this. Is this place https://github.com/apache/lucene/tree/main/lucene/benchmark/src/java/org/apache/lucene/benchmark the correct path to add the benchmark, or is https://github.com/mikemccand/luceneutil a better place? I think we can try to create a FST with term from some corpus, like wikipedia, then repeatedly call |
I think maybe
+1, sounds great! I can help fold this into the nightly charts... |
Thanks @dungba88. |
Description
Over in #12543 we are struggling to measure the performance cost of different ways of creating an on-heap reader/writer. We have been using the "rough" numbers coming out of
Test2BFST
runs but this is non-ideal -- it is test code, running with assertions, perhaps doing sub-optimal FST usage (not matching what, say, block tree would do to the terms index).Let's create a simple micro-benchmark to more readily benchmark FST changes?
The text was updated successfully, but these errors were encountered: