Avatar for the Stranger6667 user
Stranger6667
jsonschema
BlogDocsChangelog

feat: Add meta validators

#660Merged
Comparing
dd/meta-validation
(
e03ad8d
) with
master
(
40e41f3
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
45
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

apply[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Fast/Valid]
CodSpeed Performance Gauge
+1%
14.4 µs
14.2 µs
try_with_resource[Open API]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[Open API]
CodSpeed Performance Gauge
+1%
1.6 ms
1.6 ms
is_valid[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Fast/Valid]
CodSpeed Performance Gauge
+1%
6.2 µs
6.2 µs
apply[Open API/Zuora]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Open API/Zuora]
CodSpeed Performance Gauge
+1%
505.7 ms
503.1 ms
build[GeoJSON]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[GeoJSON]
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
validate[CITM/Catalog]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[CITM/Catalog]
CodSpeed Performance Gauge
0%
5.8 ms
5.8 ms
apply[Swagger/Kubernetes]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Swagger/Kubernetes]
CodSpeed Performance Gauge
0%
947.5 ms
944.4 ms
validate[Swagger/Kubernetes]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Swagger/Kubernetes]
CodSpeed Performance Gauge
0%
23 ms
23 ms
build[Open API]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Open API]
CodSpeed Performance Gauge
0%
9.1 ms
9.1 ms
is_valid[CITM/Catalog]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[CITM/Catalog]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
build[Fast]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Fast]
CodSpeed Performance Gauge
0%
234.3 µs
234.3 µs
try_new[draft 7]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 7]
CodSpeed Performance Gauge
0%
103.6 µs
103.6 µs
subresources_of[CITM]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[CITM]
CodSpeed Performance Gauge
0%
4 µs
4 µs
subresources_of[Fast]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[Fast]
CodSpeed Performance Gauge
0%
3.5 µs
3.5 µs
subresources_of[GeoJSON]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[GeoJSON]
CodSpeed Performance Gauge
0%
3.9 µs
3.9 µs
subresources_of[Open API]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[Open API]
CodSpeed Performance Gauge
0%
9.2 µs
9.2 µs
subresources_of[Swagger]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[Swagger]
CodSpeed Performance Gauge
0%
10.1 µs
10.1 µs
subresources_of[draft 2019-09]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 2019-09]
CodSpeed Performance Gauge
0%
9.7 µs
9.7 µs
subresources_of[draft 2020-12]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 2020-12]
CodSpeed Performance Gauge
0%
10.1 µs
10.1 µs
subresources_of[draft 4]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 4]
CodSpeed Performance Gauge
0%
9.1 µs
9.1 µs
subresources_of[draft 6]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 6]
CodSpeed Performance Gauge
0%
9.6 µs
9.6 µs
subresources_of[draft 7]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 7]
CodSpeed Performance Gauge
0%
10.2 µs
10.2 µs
try_new[draft 2020-12]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 2020-12]
CodSpeed Performance Gauge
0%
100.7 µs
100.7 µs
try_new[draft 2019-09]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 2019-09]
CodSpeed Performance Gauge
0%
96.7 µs
96.7 µs
try_new[draft 6]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 6]
CodSpeed Performance Gauge
0%
90.9 µs
90.9 µs
try_new[draft 4]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 4]
CodSpeed Performance Gauge
0%
85.4 µs
85.4 µs
try_with_resource[Fast]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[Fast]
CodSpeed Performance Gauge
0%
98.7 µs
98.7 µs
build[CITM]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[CITM]
CodSpeed Performance Gauge
0%
593.6 µs
593.9 µs
validate[Open API/Zuora]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Open API/Zuora]
CodSpeed Performance Gauge
0%
21.2 ms
21.2 ms
is_valid[Open API/Zuora]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Open API/Zuora]
CodSpeed Performance Gauge
0%
21 ms
21 ms
try_with_resource[GeoJSON]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[GeoJSON]
CodSpeed Performance Gauge
0%
923.3 µs
924.4 µs
build[Swagger]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Swagger]
CodSpeed Performance Gauge
0%
7.6 ms
7.6 ms
pointer[long]
crates/jsonschema-referencing/benches/pointer.rs::benches::bench_pointers::JSON Pointer::pointer[long]
CodSpeed Performance Gauge
0%
13.8 µs
13.8 µs
is_valid[Swagger/Kubernetes]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Swagger/Kubernetes]
CodSpeed Performance Gauge
0%
21.6 ms
21.6 ms
apply[CITM/Catalog]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[CITM/Catalog]
CodSpeed Performance Gauge
0%
80.2 ms
80.5 ms
apply[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Fast/Invalid]
CodSpeed Performance Gauge
0%
23.3 µs
23.4 µs
apply[GeoJSON/Canada]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[GeoJSON/Canada]
CodSpeed Performance Gauge
0%
2.8 s
2.8 s
resolve[small]
crates/jsonschema-referencing/benches/anchor.rs::benches::bench_anchor_lookup::Anchor Lookup::resolve[small]
CodSpeed Performance Gauge
-1%
3.5 µs
3.6 µs
try_with_resource[CITM]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[CITM]
CodSpeed Performance Gauge
-1%
284.7 µs
287.9 µs
validate[GeoJSON/Canada]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[GeoJSON/Canada]
CodSpeed Performance Gauge
-1%
9.4 ms
9.5 ms
is_valid[GeoJSON/Canada]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[GeoJSON/Canada]
CodSpeed Performance Gauge
-1%
9.4 ms
9.5 ms
validate[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Fast/Valid]
CodSpeed Performance Gauge
-2%
7.5 µs
7.6 µs
validate[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Fast/Invalid]
CodSpeed Performance Gauge
-2%
3.9 µs
4 µs
try_with_resource[Swagger]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[Swagger]
CodSpeed Performance Gauge
-3%
1.6 ms
1.7 ms
is_valid[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Fast/Invalid]
CodSpeed Performance Gauge
-8%
680 ns
738.3 ns

Commits

Click on a commit to change the comparison range
Base
master
40e41f3
0%
feat: Add meta validation Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
e03ad8d
11 days ago
by Stranger6667
Home Terms PrivacyDocs