Avatar for the Stranger6667 user
Stranger6667
jsonschema
BlogDocsChangelog

fix: `instance_path` segments are now unescaped when iterating

#792Merged
Comparing
dd/fix-fragment-unescape
(
27e8e87
) with
master
(
262d79c
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
47
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

subresources_of[CITM]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[CITM]
CodSpeed Performance Gauge
+6%
1.6 µs
1.5 µs
try_with_resource[Fast]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[Fast]
CodSpeed Performance Gauge
+4%
21.7 µs
20.8 µs
try_with_resource[Open API]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[Open API]
CodSpeed Performance Gauge
+4%
211.2 µs
203.3 µs
is_valid[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Fast/Invalid]
CodSpeed Performance Gauge
+4%
798.9 ns
769.7 ns
subresources_of[GeoJSON]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[GeoJSON]
CodSpeed Performance Gauge
+3%
1.8 µs
1.7 µs
is_valid[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Fast/Valid]
CodSpeed Performance Gauge
+2%
6.3 µs
6.2 µs
apply[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Fast/Valid]
CodSpeed Performance Gauge
+2%
14.3 µs
14 µs
try_with_resource[CITM]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[CITM]
CodSpeed Performance Gauge
+2%
35.7 µs
35 µs
subresources_of[draft 2020-12]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 2020-12]
CodSpeed Performance Gauge
+2%
3.4 µs
3.3 µs
pointer[double]
crates/jsonschema-referencing/benches/pointer.rs::benches::bench_pointers::JSON Pointer::pointer[double]
CodSpeed Performance Gauge
+2%
5.8 µs
5.8 µs
validate[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Fast/Invalid]
CodSpeed Performance Gauge
+1%
4 µs
3.9 µs
validate[Fast/Valid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Fast/Valid]
CodSpeed Performance Gauge
+1%
7.7 µs
7.6 µs
apply[Fast/Invalid]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Fast/Invalid]
CodSpeed Performance Gauge
+1%
23.6 µs
23.4 µs
try_with_resource[GeoJSON]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[GeoJSON]
CodSpeed Performance Gauge
+1%
63.3 µs
62.7 µs
build[Fast]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Fast]
CodSpeed Performance Gauge
+1%
168.7 µs
167.5 µs
try_new[draft 2019-09]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 2019-09]
CodSpeed Performance Gauge
+1%
25.7 µs
25.6 µs
build[CITM]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[CITM]
CodSpeed Performance Gauge
0%
376.1 µs
374.5 µs
build[GeoJSON]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[GeoJSON]
CodSpeed Performance Gauge
0%
829.3 µs
826.8 µs
build[Open API]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Open API]
CodSpeed Performance Gauge
0%
7.8 ms
7.8 ms
build[Swagger]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::build[Swagger]
CodSpeed Performance Gauge
0%
6.5 ms
6.5 ms
subresources_of[Swagger]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[Swagger]
CodSpeed Performance Gauge
0%
3.4 µs
3.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%
3.2 µs
3.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%
25.8 µs
25.8 µs
is_valid[Open API/Zuora]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Open API/Zuora]
CodSpeed Performance Gauge
0%
20.7 ms
20.7 ms
validate[Open API/Zuora]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Open API/Zuora]
CodSpeed Performance Gauge
0%
21 ms
21 ms
try_new[draft 4]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 4]
CodSpeed Performance Gauge
0%
24.2 µs
24.3 µs
validate[GeoJSON/Canada]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[GeoJSON/Canada]
CodSpeed Performance Gauge
0%
9.3 ms
9.3 ms
is_valid[GeoJSON/Canada]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[GeoJSON/Canada]
CodSpeed Performance Gauge
0%
9.3 ms
9.3 ms
is_valid[CITM/Catalog]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[CITM/Catalog]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
try_new[draft 7]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 7]
CodSpeed Performance Gauge
0%
27 µs
27 µs
is_valid[Swagger/Kubernetes]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::is_valid[Swagger/Kubernetes]
CodSpeed Performance Gauge
0%
21.5 ms
21.6 ms
validate[Swagger/Kubernetes]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[Swagger/Kubernetes]
CodSpeed Performance Gauge
0%
23 ms
23.1 ms
pointer[single]
crates/jsonschema-referencing/benches/pointer.rs::benches::bench_pointers::JSON Pointer::pointer[single]
CodSpeed Performance Gauge
-1%
4.7 µs
4.7 µs
try_with_resource[Swagger]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_with_resource[Swagger]
CodSpeed Performance Gauge
-1%
245.4 µs
246.7 µs
try_new[draft 6]
crates/jsonschema-referencing/benches/registry.rs::benches::bench_subresources::registry::try_new[draft 6]
CodSpeed Performance Gauge
-1%
25.3 µs
25.4 µs
subresources_of[draft 7]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 7]
CodSpeed Performance Gauge
-1%
3.3 µs
3.3 µs
apply[Open API/Zuora]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Open API/Zuora]
CodSpeed Performance Gauge
-1%
482.2 ms
486.5 ms
apply[Swagger/Kubernetes]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[Swagger/Kubernetes]
CodSpeed Performance Gauge
-1%
900.2 ms
908.3 ms
subresources_of[draft 4]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 4]
CodSpeed Performance Gauge
-1%
3.1 µs
3.1 µs
subresources_of[Open API]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[Open API]
CodSpeed Performance Gauge
-1%
2.9 µs
2.9 µs
apply[GeoJSON/Canada]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[GeoJSON/Canada]
CodSpeed Performance Gauge
-1%
2.8 s
2.8 s
pointer[long]
crates/jsonschema-referencing/benches/pointer.rs::benches::bench_pointers::JSON Pointer::pointer[long]
CodSpeed Performance Gauge
-1%
12.7 µs
12.9 µs
apply[CITM/Catalog]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::apply[CITM/Catalog]
CodSpeed Performance Gauge
-2%
62.6 ms
63.6 ms
validate[CITM/Catalog]
crates/jsonschema/benches/jsonschema.rs::jsonschema::run_benchmarks::validate[CITM/Catalog]
CodSpeed Performance Gauge
-2%
5.7 ms
5.8 ms
resolve[small]
crates/jsonschema-referencing/benches/anchor.rs::benches::bench_anchor_lookup::Anchor Lookup::resolve[small]
CodSpeed Performance Gauge
-3%
2.7 µs
2.8 µs
subresources_of[draft 6]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[draft 6]
CodSpeed Performance Gauge
-5%
2.9 µs
3.1 µs
subresources_of[Fast]
crates/jsonschema-referencing/benches/subresources.rs::benches::bench_subresources::subresources::subresources_of[Fast]
CodSpeed Performance Gauge
-5%
1.2 µs
1.2 µs

Commits

Click on a commit to change the comparison range
Base
master
262d79c
+0.35%
fix: `instance_path` segments are now unescaped when iterating Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
43331a8
5 days ago
by Stranger6667
-0.17%
chore: Fix clippy Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
27e8e87
5 days ago
by Stranger6667
© 2025 CodSpeed Technology
Home Terms Privacy Docs