Add benchmark for performance regression testing#1195
Add benchmark for performance regression testing#1195stevehu merged 1 commit intonetworknt:masterfrom
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1195 +/- ##
============================================
- Coverage 78.90% 78.12% -0.78%
- Complexity 1965 2086 +121
============================================
Files 172 201 +29
Lines 6352 6935 +583
Branches 1255 1268 +13
============================================
+ Hits 5012 5418 +406
- Misses 867 1046 +179
+ Partials 473 471 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@stevehu is it possible for you to enable GitHub Pages in |
|
@justin-tay I have made the change, but I am not certain if it is complete or not. I can see the page shows up when you click the link. Is this all we need? Thanks. |
|
@stevehu Yes that's all that's needed. Thanks! |
This adds benchmarks for regression testing by adding benchmarks using jmh. This is in preparation for starting to add the breaking changes to prepare for 2.0.0 since Jackson 3.0 is likely to be released soon, so that those changes don't result in performance regressions.
This automates the running of the benchmark by adding a
benchmark.ymlworkflow that runs the benchmark for all push tomasterthat uses github-action-benchmark to publish updates to a GitHub Pages to thegh-pagesbranch under/dev/bench.This also updates the tests to remove the use of the undertow server. Instead a
SchemaLoaderis used to load the files directly.