Avatar for the Stranger6667 user
Stranger6667
jsonschema
BlogDocsChangelog

fix: Fragment references within $id-anchored subschemas

#665Merged
Comparing
dd/fix-resolution
(
01f2f28
) with
master
(
a95d662
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
45
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

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
subresources_of[Fast]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[Fast]
CodSpeed Performance Gauge
+1%
3.4 µs
3.3 µs
resolve[small]
crates/jsonschema-referencing/benches/anchor.rs::benches::bench_anchor_lookup::Anchor Lookup::resolve[small]
CodSpeed Performance Gauge
+1%
3.6 µs
3.6 µs
validate[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Fast/Invalid]
CodSpeed Performance Gauge
+1%
3.9 µs
3.8 µs
subresources_of[GeoJSON]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[GeoJSON]
CodSpeed Performance Gauge
+1%
3.9 µs
3.9 µs
subresources_of[CITM]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[CITM]
CodSpeed Performance Gauge
+1%
4 µs
3.9 µs
apply[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Fast/Invalid]
CodSpeed Performance Gauge
0%
23.4 µs
23.3 µs
subresources_of[draft 4]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 4]
CodSpeed Performance Gauge
0%
9 µs
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.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.5 µs
9.4 µ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.8 µs
9.8 µ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 µs
subresources_of[draft 7]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 7]
CodSpeed Performance Gauge
0%
10.1 µs
10.1 µ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
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.4 µs
validate[CITM/Catalog]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[CITM/Catalog]
CodSpeed Performance Gauge
0%
5.8 ms
5.8 ms
try_with_resource[GeoJSON]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[GeoJSON]
CodSpeed Performance Gauge
0%
924.9 µs
924.1 µ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
build[Open API]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Open API]
CodSpeed Performance Gauge
0%
9.1 ms
9.1 ms
apply[Swagger/Kubernetes]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Swagger/Kubernetes]
CodSpeed Performance Gauge
0%
946.1 ms
945.9 ms
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
apply[CITM/Catalog]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[CITM/Catalog]
CodSpeed Performance Gauge
0%
80.1 ms
80.1 ms
is_valid[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Fast/Valid]
CodSpeed Performance Gauge
0%
6.3 µs
6.3 µs
build[CITM]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[CITM]
CodSpeed Performance Gauge
0%
593.1 µs
593.2 µ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 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_new[draft 2020-12]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 2020-12]
CodSpeed Performance Gauge
0%
100.8 µs
100.8 µs
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
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
91 µs
build[GeoJSON]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[GeoJSON]
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
apply[Open API/Zuora]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Open API/Zuora]
CodSpeed Performance Gauge
0%
505.8 ms
506.3 ms
build[Swagger]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Swagger]
CodSpeed Performance Gauge
0%
7.6 ms
7.6 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
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
try_with_resource[Swagger]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[Swagger]
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
validate[Open API/Zuora]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Open API/Zuora]
CodSpeed Performance Gauge
0%
21.2 ms
21.3 ms
validate[Swagger/Kubernetes]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Swagger/Kubernetes]
CodSpeed Performance Gauge
0%
23 ms
23 ms
try_with_resource[CITM]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[CITM]
CodSpeed Performance Gauge
0%
284.9 µs
285.9 µs
apply[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Fast/Valid]
CodSpeed Performance Gauge
0%
14.3 µs
14.3 µs
pointer[long]
crates/jsonschema-referencing/benches/pointer.rs::benches::bench_pointers::JSON Pointer::pointer[long]
CodSpeed Performance Gauge
0%
13.6 µs
13.6 µs
validate[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Fast/Valid]
CodSpeed Performance Gauge
-1%
7.7 µs
7.8 µs
build[Fast]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Fast]
CodSpeed Performance Gauge
-1%
231.9 µs
235 µs
validate[GeoJSON/Canada]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[GeoJSON/Canada]
CodSpeed Performance Gauge
-3%
9.3 ms
9.5 ms
is_valid[GeoJSON/Canada]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[GeoJSON/Canada]
CodSpeed Performance Gauge
-3%
9.3 ms
9.5 ms
is_valid[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Fast/Invalid]
CodSpeed Performance Gauge
-4%
738.3 ns
767.5 ns

Commits

Click on a commit to change the comparison range
Base
master
a95d662
0%
fix: Fragment references within `$id`-anchored subschemas Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev> Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
01f2f28
10 days ago
by Stranger6667
Home Terms PrivacyDocs