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

Performance improvements for Exceptions on the JVM #1787

Merged
merged 1 commit into from
Oct 19, 2020

Commits on Oct 19, 2020

  1. Performance improvements for Exceptions on the JVM

    For our usecase we have lots of exceptions being created by `shouldBe` and similar. We noticed that a lot of time was being spent in class loading. Since it is unlikely the availability of the JUnit 4/5 Assertion classes will change during runtime we can cache the class and constructor lookup. 
    
    Our test suite now runs in 45 seconds instead of 85, which I would consider a worthwhile improvement.
    U1F984 committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    e1d2f52 View commit details
    Browse the repository at this point in the history