Skip to content
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

Java performance improvements from Apache Lucene #195

Merged
merged 6 commits into from
Mar 27, 2024

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    caf9dce View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. improve TestApp to create less objects

    I tried to keep it simple here, but doing a rough measurement of `time make check_java` x 3 gives the idea:
    
    ```
    before:
    
    real  0m24.713s
    user  0m39.545s
    sys 0m1.962s
    
    real  0m24.992s
    user  0m39.570s
    sys 0m2.082s
    
    real  0m24.166s
    user  0m38.705s
    sys 0m1.842s
    
    after:
    
    real  0m20.365s
    user  0m31.869s
    sys 0m1.781s
    
    real  0m20.593s
    user  0m32.733s
    sys 0m1.858s
    
    real  0m20.576s
    user  0m32.992s
    sys 0m1.763s
    ```
    
    This mini-benchmark of the tests isn't indicative of typical performance, it is bottlenecked by JVM startup cost for each language.
    rmuir committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    edaa2fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    362f383 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d9cdb93 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e0bd45 View commit details
    Browse the repository at this point in the history
  5. fix incorrect use of limit, convert check to assertions, enable asser…

    …tions when running tests
    rmuir committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    d508f87 View commit details
    Browse the repository at this point in the history