Stranger6667 / jsonschema-rs

JSON Schema validation library
https://docs.rs/jsonschema
MIT License
511 stars 91 forks source link

build: Add boon to benchmarks #485

Closed Stranger6667 closed 4 months ago

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.90%. Comparing base (dbe6c90) to head (d509b4b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #485 +/- ## ======================================= Coverage 89.90% 89.90% ======================================= Files 58 58 Lines 9942 9942 ======================================= Hits 8938 8938 Misses 1004 1004 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codspeed-hq[bot] commented 4 months ago

CodSpeed Performance Report

Merging #485 will degrade performances by 16.16%

Comparing dd/add-boon (1cfd739) with master (dbe6c90)

Summary

⚡ 3 improvements ❌ 9 regressions ✅ 308 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark master dd/add-boon Change
additional_properties_false [jsonschema/is_valid/valid] 588.9 ns 505.6 ns +16.48%
additional_properties_false foo1[jsonschema/is_valid/invalid] 809.4 ns 726.1 ns +11.48%
const 1[jsonschema/is_valid/valid] 439.4 ns 495 ns -11.22%
format_email foo[jsonschema/is_valid/invalid] 688.3 ns 771.7 ns -10.8%
format_time 083006.283185Z[jsonschema/validate/valid] 7.5 µs 6.1 µs +22.57%
items 123[jsonschema/validate/valid] 7.2 µs 8.6 µs -16.16%
max_properties a1b1[jsonschema/is_valid/invalid] 327.8 ns 383.3 ns -14.49%
min_items 12[jsonschema/is_valid/valid] 327.8 ns 383.3 ns -14.49%
minimum 1[jsonschema/is_valid/invalid] 365.6 ns 421.1 ns -13.19%
minimum 5[jsonschema/is_valid/valid] 365.6 ns 421.1 ns -13.19%
type_integer 1.0[jsonschema/is_valid/valid] 415 ns 470.6 ns -11.81%
type_integer 1[jsonschema/is_valid/valid] 296.7 ns 352.2 ns -15.77%