-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Trying to run the search-bench #201
Comments
Thanks for trying. It should be obvious that the benchmark code was depending on the parent project's source code, as we test our latest changes often with these benchmarks. For the benchmark to work, one needed to compile Datalevin at least once to build all the classes first, e.g.
Apparently, I should not have made the assumption that people know this, so I changed the dependency to use the released Datalevin library instead. Please pull and try again. |
Thank you for your thoughtful and prompt response! As I'm walking through this document as my first-go into the project, I'm finding out with fresh eyes according to the documentation, which I'm enjoying how the writing leaves me with a greater sense of clarity. I'm also noticing a slight typo in https://github.com/juji-io/datalevin/tree/master/search-bench#test-data; where the output path should read
Glad to bring greater clarity and precision. |
Also, maybe another obvious answer to those more experienced: Is there a way to saturate all or more of the cores on my machine for the search? I'm currently only seeing one core utilized. |
Thanks. Datalevin is single writer, so it uses only one core when writing/indexing. However, you can saturate all cores when reading/searching. |
And also needs to read
Got another error 57m24s into the process 🤦♂️. |
If you have built the index, you don't have to redo it again, just comment out the line that builds the index.
|
I was also getting errors running from this, my https://github.com/juji-io/datalevin/tree/master/search-bench#test-queries reads:
Also, I noticed https://github.com/juji-io/datalevin/tree/master/search-bench#test-data needs a
Anyways, I have the query results working now. Lookin' good! Thanks for all the feedback. 🙏 Not sure if you'd want a PR wrapping |
Sure thing. PR is welcome. Thanks. |
Following the search-bench readme, I successfully got all the test data downloaded and processed, but running the script produces the following error.
How would I address this in general?
The text was updated successfully, but these errors were encountered: