BlogDocs

feat: configure patterns regex engine(#487)

Merging
dashpay:configure_regexp
(
7b00a24
) into
master
(
8adae12
)
-21%
IMPROVEMENTS
15
REGRESSIONS
10
UNTOUCHED
295
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

fast jsonschema/is_valid/invalidRegression
jsonschema/benches/jsonschema.rs::common::fast_schema::fast jsonschema/is_valid/invalid
-12%
829.2 ns
945.8 ns
jsonpointer[empty]Regression
jsonschema/benches/jsonschema.rs::common::json_pointer_node::jsonpointer[empty]
-13%
372.5 ns
429.7 ns
contains 1[jsonschema/is_valid/invalid]Regression
jsonschema/benches/jsonschema.rs::specific::keywords::contains 1[jsonschema/is_valid/invalid]
-15%
643.1 ns
759.7 ns
contains 5[jsonschema/is_valid/valid]Regression
jsonschema/benches/jsonschema.rs::specific::keywords::contains 5[jsonschema/is_valid/valid]
-12%
613.1 ns
700.6 ns
exclusive_maximum 2[jsonschema/is_valid/valid]Regression
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_maximum 2[jsonschema/is_valid/valid]
-21%
331.1 ns
418.6 ns
exclusive_maximum 3[jsonschema/is_valid/invalid]Regression
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_maximum 3[jsonschema/is_valid/invalid]
-21%
331.1 ns
418.6 ns
exclusive_minimum 3[jsonschema/is_valid/invalid]Regression
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_minimum 3[jsonschema/is_valid/invalid]
-16%
301.7 ns
360 ns
exclusive_minimum 4[jsonschema/is_valid/valid]Regression
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_minimum 4[jsonschema/is_valid/valid]
-16%
301.7 ns
360 ns
items 123[jsonschema/validate/valid]Regression
jsonschema/benches/jsonschema.rs::specific::keywords::items 123[jsonschema/validate/valid]
-19%
4.3 µs
5.2 µs
items 12x[jsonschema/validate/invalid]Regression
jsonschema/benches/jsonschema.rs::specific::keywords::items 12x[jsonschema/validate/invalid]
-10%
8.1 µs
9.1 µs

Improved

maximum 3[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::maximum 3[jsonschema/is_valid/valid]
+19%
360 ns
301.7 ns
maximum 5[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::maximum 5[jsonschema/is_valid/invalid]
+19%
360 ns
301.7 ns
format_email foo[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_email foo[jsonschema/is_valid/invalid]
+17%
614.7 ns
527.2 ns
format_email test@test.com[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_email test@test.com[jsonschema/is_valid/valid]
+16%
624.7 ns
537.2 ns
max_length foo[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_length foo[jsonschema/is_valid/valid]
+15%
665.6 ns
578.1 ns
multiple_of_integer 212.4[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_integer 212.4[jsonschema/is_valid/invalid]
+14%
482.5 ns
424.2 ns
all_of 1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::all_of 1[jsonschema/is_valid/invalid]
+13%
1,004.4 ns
887.8 ns
additional_items_object 123foo[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_object 123foo[jsonschema/is_valid/valid]
+13%
1.3 µs
1.2 µs
max_length aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_length aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[jsonschema/is_valid/invalid]
+12%
848.1 ns
760.6 ns
not 1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::not 1[jsonschema/is_valid/valid]
+11%
575.3 ns
516.9 ns
not null[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::not null[jsonschema/is_valid/invalid]
+11%
575.3 ns
516.9 ns
min_length 123[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_length 123[jsonschema/is_valid/valid]
+11%
607.2 ns
548.9 ns
format_iri http//ƒøø.ßår/?∂éœ=πîx#πîüx[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri http//ƒøø.ßår/?∂éœ=πîx#πîüx[jsonschema/is_valid/valid]
+11%
23.6 µs
21.3 µs
any_of_multiple_types foo[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of_multiple_types foo[jsonschema/is_valid/valid]
+10%
941.1 ns
853.6 ns
any_of_multiple_types null[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of_multiple_types null[jsonschema/is_valid/invalid]
+10%
941.9 ns
854.4 ns

Passed

all_of 4[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::all_of 4[jsonschema/is_valid/valid]
+10%
975.6 ns
888.1 ns
max_items 12[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_items 12[jsonschema/is_valid/invalid]
+10%
329.2 ns
300 ns
max_items 1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_items 1[jsonschema/is_valid/valid]
+10%
329.2 ns
300 ns
min_properties a1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_properties a1[jsonschema/is_valid/invalid]
+10%
329.2 ns
300 ns
max_length foob[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_length foob[jsonschema/is_valid/invalid]
+10%
668.1 ns
609.7 ns
format_iri http//ƒøø.ßår/?∂éœ=πîx#πîüx[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri http//ƒøø.ßår/?∂éœ=πîx#πîüx[jsonschema/validate/valid]
+9%
24.6 µs
22.5 µs
additional_properties_and_properties foo1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties foo1[jsonschema/is_valid/valid]
+9%
1.4 µs
1.2 µs
any_of 1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of 1[jsonschema/is_valid/valid]
+9%
727.8 ns
669.4 ns
format_ipv4 127.0.0.999[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 127.0.0.999[jsonschema/is_valid/invalid]
+9%
1.8 µs
1.6 µs
additional_items_object 1234[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_object 1234[jsonschema/is_valid/invalid]
+8%
760.6 ns
702.2 ns
additional_properties_single foobar[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_single foobar[jsonschema/validate/valid]
+8%
4.2 µs
3.9 µs
multiple_of_integer 212[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_integer 212[jsonschema/is_valid/invalid]
+7%
898.3 ns
840 ns
format_uri_template http//example.com/dictionary/term1/term[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_template http//example.com/dictionary/term1/term[jsonschema/is_valid/invalid]
+7%
2.8 µs
2.6 µs
ref 1b[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::ref 1b[jsonschema/is_valid/invalid]
+7%
1.4 µs
1.3 µs
additional_properties_and_properties bartruefoo1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties bartruefoo1[jsonschema/is_valid/invalid]
+7%
1.4 µs
1.3 µs
multiple_of_integer 125[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_integer 125[jsonschema/is_valid/valid]
+7%
951.1 ns
892.8 ns
additional_items_object 123foo[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_object 123foo[jsonschema/validate/valid]
+7%
6.7 µs
6.3 µs
minimum 5[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::minimum 5[jsonschema/validate/valid]
+6%
2.4 µs
2.3 µs
type_multiple foo[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_multiple foo[jsonschema/validate/valid]
+6%
2.4 µs
2.3 µs
additional_items_boolean 123[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_boolean 123[jsonschema/validate/valid]
+6%
5.6 µs
5.3 µs
format_date 06/19/1963[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_date 06/19/1963[jsonschema/is_valid/invalid]
+6%
1,043.6 ns
985.3 ns
format_email test@test.com[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_email test@test.com[jsonschema/validate/valid]
+6%
2.7 µs
2.5 µs
max_length foo[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_length foo[jsonschema/validate/valid]
+6%
2.7 µs
2.6 µs
format_hostname www.example.com[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_hostname www.example.com[jsonschema/is_valid/valid]
+5%
1.7 µs
1.6 µs
format_json_pointer /foo/bar~0/baz~1/%a[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_json_pointer /foo/bar~0/baz~1/%a[jsonschema/is_valid/valid]
+5%
2.8 µs
2.7 µs
type_string foo[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_string foo[jsonschema/validate/valid]
+5%
2.3 µs
2.1 µs
min_length 12[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_length 12[jsonschema/is_valid/invalid]
+5%
575.6 ns
546.4 ns
max_items 1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_items 1[jsonschema/validate/valid]
+5%
2.4 µs
2.2 µs
maximum 3[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::maximum 3[jsonschema/validate/valid]
+5%
2.4 µs
2.3 µs
format_json_pointer /foo/bar~[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_json_pointer /foo/bar~[jsonschema/is_valid/invalid]
+5%
2.4 µs
2.3 µs
any_of_multiple_types foo[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of_multiple_types foo[jsonschema/validate/valid]
+5%
3 µs
2.8 µs
any_of 1.5[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of 1.5[jsonschema/is_valid/invalid]
+5%
1.2 µs
1.1 µs
all_of 4[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::all_of 4[jsonschema/validate/valid]
+5%
4.5 µs
4.3 µs
additional_properties_false [jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false [jsonschema/validate/valid]
+5%
2.5 µs
2.4 µs
format_ipv6 foobar[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv6 foobar[jsonschema/is_valid/invalid]
+5%
1.2 µs
1.2 µs
format_ipv4 foobar[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 foobar[jsonschema/is_valid/invalid]
+5%
1.2 µs
1.2 µs
additional_items_boolean 1234[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_boolean 1234[jsonschema/validate/invalid]
+5%
8.8 µs
8.4 µs
min_length 123[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_length 123[jsonschema/validate/valid]
+5%
2.7 µs
2.6 µs
any_of 1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of 1[jsonschema/validate/valid]
+4%
2.8 µs
2.7 µs
format_ipv6 20010db885a3000000008a2e03707334[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv6 20010db885a3000000008a2e03707334[jsonschema/is_valid/valid]
+4%
2 µs
1.9 µs
additional_items_object 1234[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_object 1234[jsonschema/validate/invalid]
+4%
10.9 µs
10.5 µs
format_uri_template http//example.com/dictionary/term1/term[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_template http//example.com/dictionary/term1/term[jsonschema/validate/invalid]
+4%
7.6 µs
7.3 µs
format_relative_json_pointer 1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_relative_json_pointer 1[jsonschema/is_valid/valid]
+4%
2.3 µs
2.2 µs
max_properties a1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_properties a1[jsonschema/validate/valid]
+4%
2.4 µs
2.3 µs
max_properties a1b1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_properties a1b1[jsonschema/validate/invalid]
+4%
5 µs
4.8 µs
type_integer foo[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer foo[jsonschema/validate/invalid]
+4%
5 µs
4.8 µs
format_ipv6 20010db885a3000000008a2e03707334[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv6 20010db885a3000000008a2e03707334[jsonschema/validate/valid]
+4%
4 µs
3.9 µs
format_datetime 1990-02-31T155960.123-0800[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_datetime 1990-02-31T155960.123-0800[jsonschema/is_valid/invalid]
+4%
1.9 µs
1.8 µs
openapi jsonschema/compile
jsonschema/benches/jsonschema.rs::common::large_schemas::openapi jsonschema/compile
+3%
4.5 ms
4.3 ms
not 1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::not 1[jsonschema/validate/valid]
+3%
2.6 µs
2.5 µs
format_relative_json_pointer 1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_relative_json_pointer 1[jsonschema/validate/valid]
+3%
4.4 µs
4.2 µs
format_ipv6 127.0.0.1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv6 127.0.0.1[jsonschema/is_valid/invalid]
+3%
874.4 ns
845.6 ns
format_time 0101011111[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_time 0101011111[jsonschema/is_valid/invalid]
+3%
2.7 µs
2.6 µs
additional_properties_single foo1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_single foo1[jsonschema/is_valid/invalid]
+3%
896.9 ns
867.8 ns
additional_properties_single foobar[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_single foobar[jsonschema/is_valid/valid]
+3%
902.5 ns
873.3 ns
additional_items_boolean 123[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_boolean 123[jsonschema/is_valid/valid]
+3%
906.7 ns
877.5 ns
format_ipv4 127.0.0.1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 127.0.0.1[jsonschema/is_valid/valid]
+3%
906.7 ns
877.8 ns
any_of_multiple_types null[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of_multiple_types null[jsonschema/validate/invalid]
+3%
5.6 µs
5.4 µs
format_datetime 1990-02-31T155960.123-0800[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_datetime 1990-02-31T155960.123-0800[jsonschema/validate/invalid]
+3%
6.7 µs
6.5 µs
ref 12[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::ref 12[jsonschema/validate/valid]
+3%
5.5 µs
5.4 µs
fast jsonschema/validate/valid
jsonschema/benches/jsonschema.rs::common::fast_schema::fast jsonschema/validate/valid
+3%
14.6 µs
14.1 µs
format_ipv4 127.0.0.999[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 127.0.0.999[jsonschema/validate/invalid]
+3%
6.6 µs
6.4 µs
multiple_of_integer 125[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_integer 125[jsonschema/validate/valid]
+3%
2.9 µs
2.8 µs
format_ipv4 127.0.0.1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 127.0.0.1[jsonschema/validate/valid]
+3%
3 µs
2.9 µs
format_relative_json_pointer /foo/bar[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_relative_json_pointer /foo/bar[jsonschema/validate/invalid]
+3%
7.1 µs
6.9 µs
format_json_pointer /foo/bar~[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_json_pointer /foo/bar~[jsonschema/validate/invalid]
+3%
7.2 µs
7 µs
format_ipv4 20010db885a3000000008a2e03707334[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 20010db885a3000000008a2e03707334[jsonschema/is_valid/invalid]
+3%
1.9 µs
1.9 µs
max_length aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_length aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[jsonschema/validate/invalid]
+3%
5.5 µs
5.3 µs
multiple_of_integer 212[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_integer 212[jsonschema/validate/invalid]
+3%
5.5 µs
5.3 µs
boolean_false 1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::boolean_false 1[jsonschema/validate/invalid]
+3%
4.4 µs
4.3 µs
format_relative_json_pointer /foo/bar[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_relative_json_pointer /foo/bar[jsonschema/is_valid/invalid]
+3%
2.2 µs
2.2 µs
one_of 3[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::one_of 3[jsonschema/validate/invalid]
+3%
5.7 µs
5.5 µs
min_items 12[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_items 12[jsonschema/validate/valid]
+3%
2.3 µs
2.2 µs
format_ipv4 20010db885a3000000008a2e03707334[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 20010db885a3000000008a2e03707334[jsonschema/validate/invalid]
+3%
6.8 µs
6.6 µs
format_iri_reference http//ƒøø.ßår/?∂éœ=πîx#πîüx[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri_reference http//ƒøø.ßår/?∂éœ=πîx#πîüx[jsonschema/is_valid/valid]
+3%
3.5 µs
3.4 µs
exclusive_maximum 2[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_maximum 2[jsonschema/validate/valid]
+3%
2.4 µs
2.3 µs
exclusive_minimum 4[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_minimum 4[jsonschema/validate/valid]
+3%
2.4 µs
2.3 µs
fast jsonschema/compile
jsonschema/benches/jsonschema.rs::common::fast_schema::fast jsonschema/compile
+3%
188.4 µs
183.7 µs
type_integer 1.0[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer 1.0[jsonschema/validate/valid]
+3%
2.4 µs
2.3 µs
additional_properties_false_and_properties foo1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties foo1[jsonschema/is_valid/valid]
+2%
1.2 µs
1.2 µs
format_json_pointer /foo/bar~0/baz~1/%a[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_json_pointer /foo/bar~0/baz~1/%a[jsonschema/validate/valid]
+2%
4.8 µs
4.7 µs
format_hostname www.example.com[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_hostname www.example.com[jsonschema/validate/valid]
+2%
3.7 µs
3.6 µs
max_items 12[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_items 12[jsonschema/validate/invalid]
+2%
4.9 µs
4.8 µs
all_of 1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::all_of 1[jsonschema/validate/invalid]
+2%
8.4 µs
8.2 µs
format_time 0101011111[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_time 0101011111[jsonschema/validate/invalid]
+2%
7.5 µs
7.3 µs
format_datetime 1963-06-19T083006.283185Z[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_datetime 1963-06-19T083006.283185Z[jsonschema/validate/valid]
+2%
3.7 µs
3.6 µs
type_integer 1.4[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer 1.4[jsonschema/validate/invalid]
+2%
5.1 µs
5 µs
format_iri_reference #ƒräg\\mênt[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri_reference #ƒräg\\mênt[jsonschema/is_valid/invalid]
+2%
2.6 µs
2.5 µs
fast jsonschema/validate/invalid
jsonschema/benches/jsonschema.rs::common::fast_schema::fast jsonschema/validate/invalid
+2%
19.5 µs
19 µs
max_length foob[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_length foob[jsonschema/validate/invalid]
+2%
5.3 µs
5.1 µs
additional_properties_false foo1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false foo1[jsonschema/validate/invalid]
+2%
5.3 µs
5.2 µs
ref 12[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::ref 12[jsonschema/is_valid/valid]
+2%
1.3 µs
1.3 µs
format_email foo[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_email foo[jsonschema/validate/invalid]
+2%
5.4 µs
5.3 µs
required [jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::required [jsonschema/validate/invalid]
+2%
5.5 µs
5.4 µs
required a1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::required a1[jsonschema/validate/valid]
+2%
2.8 µs
2.7 µs
format_iri_reference http//ƒøø.ßår/?∂éœ=πîx#πîüx[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri_reference http//ƒøø.ßår/?∂éœ=πîx#πîüx[jsonschema/validate/valid]
+2%
5.5 µs
5.4 µs
multiple_of_number 127.5[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_number 127.5[jsonschema/validate/valid]
+2%
2.9 µs
2.9 µs
format_iri_reference #ƒräg\\mênt[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri_reference #ƒräg\\mênt[jsonschema/validate/invalid]
+2%
7.4 µs
7.2 µs
multiple_of_number 125[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_number 125[jsonschema/validate/valid]
+2%
2.9 µs
2.9 µs
additional_properties_and_pattern_properties bartruefoo1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_pattern_properties bartruefoo1[jsonschema/validate/invalid]
+2%
11.4 µs
11.1 µs
additional_properties_and_properties foo1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties foo1[jsonschema/validate/valid]
+2%
4.4 µs
4.3 µs
one_of 1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::one_of 1[jsonschema/validate/valid]
+2%
3.1 µs
3 µs
type_string 1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_string 1[jsonschema/validate/invalid]
+2%
4.9 µs
4.8 µs
min_items 1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_items 1[jsonschema/validate/invalid]
+2%
4.9 µs
4.8 µs
not nottypenull[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::not nottypenull[jsonschema/compile]
+2%
42 µs
41.2 µs
multiple_of_integer 212.4[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_integer 212.4[jsonschema/validate/invalid]
+2%
5.1 µs
5 µs
format_datetime 1963-06-19T083006.283185Z[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_datetime 1963-06-19T083006.283185Z[jsonschema/is_valid/valid]
+2%
1.7 µs
1.7 µs
min_length 12[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_length 12[jsonschema/validate/invalid]
+2%
5.2 µs
5.1 µs
pattern_properties foobarfooooo2[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern_properties foobarfooooo2[jsonschema/validate/invalid]
+2%
11.4 µs
11.2 µs
multiple_of_number 112.2[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_number 112.2[jsonschema/validate/invalid]
+2%
5.5 µs
5.4 µs
any_of 1.5[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of 1.5[jsonschema/validate/invalid]
+2%
5.7 µs
5.6 µs
ref 1b[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::ref 1b[jsonschema/validate/invalid]
+2%
12.4 µs
12.2 µs
format_date 06/19/1963[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_date 06/19/1963[jsonschema/validate/invalid]
+2%
5.8 µs
5.8 µs
format_iri /abc[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri /abc[jsonschema/is_valid/invalid]
+1%
2 µs
2 µs
additional_properties_single foo1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_single foo1[jsonschema/validate/invalid]
+1%
8 µs
7.8 µs
geojson jsonschema/validate
jsonschema/benches/jsonschema.rs::common::large_schemas::geojson jsonschema/validate
+1%
9.8 ms
9.6 ms
geojson jsonschema/is_valid
jsonschema/benches/jsonschema.rs::common::large_schemas::geojson jsonschema/is_valid
+1%
9.7 ms
9.6 ms
CITM jsonschema/validate
jsonschema/benches/jsonschema.rs::common::large_schemas::CITM jsonschema/validate
+1%
15.2 ms
15 ms
type_integer 1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer 1[jsonschema/validate/valid]
+1%
2.3 µs
2.2 µs
min_properties a1b2[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_properties a1b2[jsonschema/validate/valid]
+1%
2.3 µs
2.3 µs
min_properties a1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_properties a1[jsonschema/validate/invalid]
+1%
4.9 µs
4.9 µs
property_names ABC1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::property_names ABC1[jsonschema/is_valid/valid]
+1%
2.4 µs
2.4 µs
unique_items 1234456788910111212131415[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items 1234456788910111212131415[jsonschema/validate/valid]
+1%
6 µs
5.9 µs
const 1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::const 1[jsonschema/validate/valid]
+1%
2.4 µs
2.4 µs
type_multiple [jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_multiple [jsonschema/validate/invalid]
+1%
5 µs
4.9 µs
const foo[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::const foo[jsonschema/validate/invalid]
+1%
5.1 µs
5 µs
format_uri_reference http//foo.bar/?baz=qux#quux[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_reference http//foo.bar/?baz=qux#quux[jsonschema/validate/valid]
+1%
5.1 µs
5 µs
unique_items 11[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items 11[jsonschema/validate/invalid]
+1%
5.4 µs
5.3 µs
format_hostname not_a_valid_host_name[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_hostname not_a_valid_host_name[jsonschema/validate/invalid]
+1%
5.7 µs
5.6 µs
format_ipv6 127.0.0.1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv6 127.0.0.1[jsonschema/validate/invalid]
+1%
5.7 µs
5.6 µs
format_iri /abc[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri /abc[jsonschema/validate/invalid]
+1%
5.9 µs
5.8 µs
additional_properties_and_properties bartruefoo1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties bartruefoo1[jsonschema/validate/invalid]
+1%
8.6 µs
8.6 µs
properties foo1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::properties foo1[jsonschema/validate/invalid]
+1%
9.1 µs
9 µs
format_uri_reference http//foo.bar/?baz=qux#quux[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_reference http//foo.bar/?baz=qux#quux[jsonschema/is_valid/valid]
+1%
3 µs
3 µs
format_ipv4 foobar[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 foobar[jsonschema/validate/invalid]
+1%
6 µs
5.9 µs
additional_properties_and_pattern_properties foo1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_pattern_properties foo1[jsonschema/validate/valid]
+1%
6.9 µs
6.8 µs
pattern_properties foo1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern_properties foo1[jsonschema/validate/valid]
+1%
6.8 µs
6.7 µs
additional_properties_false_and_properties_and_pattern_properties foo1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties_and_pattern_properties foo1[jsonschema/validate/valid]
+1%
8 µs
8 µs
CITM jsonschema/compile
jsonschema/benches/jsonschema.rs::common::large_schemas::CITM jsonschema/compile
+1%
641.4 µs
636.6 µs
format_regex (abc)+\\s+$[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_regex (abc)+\\s+$[jsonschema/validate/valid]
+1%
688.3 µs
683.4 µs
format_relative_json_pointer formatrelative-json-pointer[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_relative_json_pointer formatrelative-json-pointer[jsonschema/compile]
+1%
26 µs
25.8 µs
additional_properties_false_and_properties foo1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties foo1[jsonschema/validate/valid]
+1%
4.5 µs
4.5 µs
pattern A119[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern A119[jsonschema/validate/invalid]
+1%
7.9 µs
7.8 µs
property_names ABC1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::property_names ABC1[jsonschema/validate/valid]
+1%
5 µs
5 µs
format_regex (abc)+\\s+$[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_regex (abc)+\\s+$[jsonschema/is_valid/valid]
+1%
686.2 µs
682.5 µs
additional_properties_and_properties_and_pattern_properties bartruefoonullfzo2[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties_and_pattern_properties bartruefoonullfzo2[jsonschema/validate/invalid]
+1%
14 µs
13.9 µs
enum 6[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::enum 6[jsonschema/validate/invalid]
0%
5.9 µs
5.8 µs
format_date 1963-06-19[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_date 1963-06-19[jsonschema/validate/valid]
0%
6.1 µs
6 µs
format_ipv6 foobar[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv6 foobar[jsonschema/validate/invalid]
0%
5.9 µs
5.9 µs
format_uri_reference #frag\\ment[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_reference #frag\\ment[jsonschema/validate/invalid]
0%
7.3 µs
7.2 µs
additional_properties_false_and_properties bar2foo1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties bar2foo1[jsonschema/validate/invalid]
0%
7.8 µs
7.8 µs
format_uri_reference formaturi-reference[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_reference formaturi-reference[jsonschema/compile]
0%
25.9 µs
25.8 µs
min_properties minProperties2[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::min_properties minProperties2[jsonschema/compile]
0%
29.6 µs
29.5 µs
format_time formattime[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_time formattime[jsonschema/compile]
0%
25.8 µs
25.7 µs
swagger jsonschema/compile
jsonschema/benches/jsonschema.rs::common::large_schemas::swagger jsonschema/compile
0%
4.4 ms
4.4 ms
format_ipv4 formatipv4[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv4 formatipv4[jsonschema/compile]
0%
25.9 µs
25.9 µs
CITM jsonschema/is_valid
jsonschema/benches/jsonschema.rs::common::large_schemas::CITM jsonschema/is_valid
0%
4.8 ms
4.8 ms
format_hostname formathostname[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_hostname formathostname[jsonschema/compile]
0%
25.8 µs
25.8 µs
additional_properties_and_properties_and_pattern_properties additionalPropertiestypestringpatternPropertiesf.*atypeintegerpropertiesfoo[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties_and_pattern_properties additionalPropertiestypestringpatternPropertiesf.*atypeintegerpropertiesfoo[jsonschema/compile]
0%
1.3 ms
1.3 ms
additional_items_object additionalItemstypestringitems[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_object additionalItemstypestringitems[jsonschema/compile]
0%
49.7 µs
49.7 µs
contains containsminimum5[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::contains containsminimum5[jsonschema/compile]
0%
39.6 µs
39.6 µs
required requireda[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::required requireda[jsonschema/compile]
0%
29.5 µs
29.5 µs
format_date formatdate[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_date formatdate[jsonschema/compile]
0%
25.8 µs
25.8 µs
format_iri formatiri[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri formatiri[jsonschema/compile]
0%
25.8 µs
25.8 µs
format_uri_template formaturi-template[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_template formaturi-template[jsonschema/compile]
0%
25.9 µs
25.9 µs
format_json_pointer formatjson-pointer[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_json_pointer formatjson-pointer[jsonschema/compile]
0%
25.9 µs
25.9 µs
contains 1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::contains 1[jsonschema/validate/invalid]
0%
5.3 µs
5.3 µs
unique_items 121[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items 121[jsonschema/validate/invalid]
0%
5.4 µs
5.4 µs
format_datetime formatdate-time[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_datetime formatdate-time[jsonschema/compile]
0%
25.9 µs
25.9 µs
fast jsonschema/is_valid/valid
jsonschema/benches/jsonschema.rs::common::fast_schema::fast jsonschema/is_valid/valid
0%
6.8 µs
6.8 µs
additional_properties_false [jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false [jsonschema/is_valid/valid]
0%
456.9 ns
456.9 ns
additional_properties_false foo1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false foo1[jsonschema/is_valid/invalid]
0%
616.4 ns
616.4 ns
additional_properties_false_and_properties bar2foo1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties bar2foo1[jsonschema/is_valid/invalid]
0%
1.1 µs
1.1 µs
boolean_false 1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::boolean_false 1[jsonschema/is_valid/invalid]
0%
58.9 ns
58.9 ns
enum 4[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::enum 4[jsonschema/validate/valid]
0%
2.8 µs
2.8 µs
enum 5[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::enum 5[jsonschema/is_valid/invalid]
0%
793.1 ns
793.1 ns
format_time 083006.283185Z[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_time 083006.283185Z[jsonschema/validate/valid]
0%
5 µs
5 µs
format_uri_reference #frag\\ment[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_reference #frag\\ment[jsonschema/is_valid/invalid]
0%
2.5 µs
2.5 µs
format_uri_template http//example.com/dictionary/term1/term[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_template http//example.com/dictionary/term1/term[jsonschema/is_valid/valid]
0%
3.1 µs
3.1 µs
format_uri_template http//example.com/dictionary/term1/term[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_uri_template http//example.com/dictionary/term1/term[jsonschema/validate/valid]
0%
5.1 µs
5.1 µs
items 123[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::items 123[jsonschema/is_valid/valid]
0%
743.9 ns
743.9 ns
items 12x[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::items 12x[jsonschema/is_valid/invalid]
0%
742.2 ns
742.2 ns
max_properties a1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_properties a1[jsonschema/is_valid/valid]
0%
329.2 ns
329.2 ns
max_properties a1b1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::max_properties a1b1[jsonschema/is_valid/invalid]
0%
300 ns
300 ns
min_items 12[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_items 12[jsonschema/is_valid/valid]
0%
300 ns
300 ns
min_items 1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_items 1[jsonschema/is_valid/invalid]
0%
300 ns
300 ns
min_properties a1b2[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::min_properties a1b2[jsonschema/is_valid/valid]
0%
300 ns
300 ns
minimum 1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::minimum 1[jsonschema/is_valid/invalid]
0%
330.8 ns
330.8 ns
minimum 5[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::minimum 5[jsonschema/is_valid/valid]
0%
330.8 ns
330.8 ns
multiple_of_number 112.2[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_number 112.2[jsonschema/is_valid/invalid]
0%
808.9 ns
808.9 ns
multiple_of_number 125[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_number 125[jsonschema/is_valid/valid]
0%
892.2 ns
892.2 ns
multiple_of_number 127.5[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_number 127.5[jsonschema/is_valid/valid]
0%
863.6 ns
863.6 ns
property_names ABCD1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::property_names ABCD1[jsonschema/is_valid/invalid]
0%
2.4 µs
2.4 µs
required a1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::required a1[jsonschema/is_valid/valid]
0%
732.5 ns
732.5 ns
type_integer 1.0[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer 1.0[jsonschema/is_valid/valid]
0%
392.8 ns
392.8 ns
type_integer 1.4[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer 1.4[jsonschema/is_valid/invalid]
0%
392.8 ns
392.8 ns
type_integer foo[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer foo[jsonschema/is_valid/invalid]
0%
298.6 ns
298.6 ns
type_multiple [jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_multiple [jsonschema/is_valid/invalid]
0%
359.2 ns
359.2 ns
type_multiple foo[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_multiple foo[jsonschema/is_valid/valid]
0%
359.4 ns
359.4 ns
type_string 1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_string 1[jsonschema/is_valid/invalid]
0%
269.2 ns
269.2 ns
type_string foo[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_string foo[jsonschema/is_valid/valid]
0%
269.2 ns
269.2 ns
unique_items 11[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items 11[jsonschema/is_valid/invalid]
0%
706.4 ns
706.4 ns
enum 5[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::enum 5[jsonschema/validate/invalid]
0%
6.2 µs
6.2 µs
additional_properties_false_and_pattern_properties bar2foo1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_pattern_properties bar2foo1[jsonschema/validate/invalid]
0%
10.4 µs
10.4 µs
additional_properties_and_pattern_properties additionalPropertiestypestringpatternPropertiesf.*otypeinteger[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_pattern_properties additionalPropertiestypestringpatternPropertiesf.*otypeinteger[jsonschema/compile]
0%
1.3 ms
1.3 ms
type_integer typeinteger[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer typeinteger[jsonschema/compile]
0%
27.2 µs
27.2 µs
all_of allOftypeintegerminimum2[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::all_of allOftypeintegerminimum2[jsonschema/compile]
0%
52.5 µs
52.5 µs
format_iri_reference formatiri-reference[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_iri_reference formatiri-reference[jsonschema/compile]
0%
25.9 µs
25.9 µs
pattern_properties patternPropertiesf.*otypeinteger[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern_properties patternPropertiesf.*otypeinteger[jsonschema/compile]
0%
1.3 ms
1.3 ms
type_multiple typeintegerstring[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::type_multiple typeintegerstring[jsonschema/compile]
0%
29.5 µs
29.6 µs
one_of oneOftypeintegerminimum2[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::one_of oneOftypeintegerminimum2[jsonschema/compile]
0%
53.2 µs
53.3 µs
min_length minLength3[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::min_length minLength3[jsonschema/compile]
0%
29.5 µs
29.6 µs
multiple_of_number multipleOf2.5[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_number multipleOf2.5[jsonschema/compile]
0%
26.4 µs
26.4 µs
additional_properties_false_and_pattern_properties additionalPropertiesfalsepatternPropertiesf.*otypeinteger[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_pattern_properties additionalPropertiesfalsepatternPropertiesf.*otypeinteger[jsonschema/compile]
0%
1.3 ms
1.3 ms
format_email formatemail[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_email formatemail[jsonschema/compile]
0%
25.8 µs
25.9 µs
additional_properties_false_and_properties additionalPropertiesfalsepropertiesfoo[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties additionalPropertiesfalsepropertiesfoo[jsonschema/compile]
0%
42.9 µs
43.1 µs
additional_properties_false_and_properties_and_pattern_properties additionalPropertiesfalsepatternPropertiesf.*otypeintegerpropertiesfoo[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties_and_pattern_properties additionalPropertiesfalsepatternPropertiesf.*otypeintegerpropertiesfoo[jsonschema/compile]
0%
1.3 ms
1.3 ms
additional_properties_false_and_pattern_properties foo1[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_pattern_properties foo1[jsonschema/validate/valid]
0%
6.9 µs
6.9 µs
pattern patternA0-92Z[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern patternA0-92Z[jsonschema/compile]
0%
559.4 µs
561.3 µs
pattern A119[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern A119[jsonschema/is_valid/invalid]
0%
3 µs
3 µs
unique_items 1234456788910111212131415[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items 1234456788910111212131415[jsonschema/is_valid/valid]
0%
3.9 µs
4 µs
format_regex formatregex[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_regex formatregex[jsonschema/compile]
0%
25.8 µs
25.9 µs
format_regex ^(abc[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_regex ^(abc[jsonschema/validate/invalid]
0%
15.5 µs
15.6 µs
minimum 1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::minimum 1[jsonschema/validate/invalid]
0%
5.3 µs
5.3 µs
unique_items 1234567891[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items 1234567891[jsonschema/is_valid/invalid]
0%
1.1 µs
1.1 µs
format_ipv6 formatipv6[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::format_ipv6 formatipv6[jsonschema/compile]
0%
25.7 µs
25.9 µs
additional_items_boolean additionalItemsfalseitems[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_boolean additionalItemsfalseitems[jsonschema/compile]
-1%
37.1 µs
37.3 µs
type_string typestring[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::type_string typestring[jsonschema/compile]
-1%
27.2 µs
27.4 µs
format_regex ^(abc[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_regex ^(abc[jsonschema/is_valid/invalid]
-1%
11.9 µs
11.9 µs
min_items minItems2[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::min_items minItems2[jsonschema/compile]
-1%
29.5 µs
29.6 µs
properties propertiesfootypestring[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::properties propertiesfootypestring[jsonschema/compile]
-1%
45.6 µs
45.9 µs
max_properties maxProperties1[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::max_properties maxProperties1[jsonschema/compile]
-1%
27.1 µs
27.2 µs
unique_items 1234567891[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items 1234567891[jsonschema/validate/invalid]
-1%
5.7 µs
5.7 µs
additional_properties_false_and_properties_and_pattern_properties bar2foo1fz02[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties_and_pattern_properties bar2foo1fz02[jsonschema/validate/invalid]
-1%
12.4 µs
12.5 µs
exclusive_minimum exclusiveMinimum3[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_minimum exclusiveMinimum3[jsonschema/compile]
-1%
25.5 µs
25.7 µs
geojson jsonschema/compile
jsonschema/benches/jsonschema.rs::common::large_schemas::geojson jsonschema/compile
-1%
1.7 ms
1.7 ms
const const1[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::const const1[jsonschema/compile]
-1%
25.2 µs
25.4 µs
additional_properties_false additionalPropertiesfalse[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false additionalPropertiesfalse[jsonschema/compile]
-1%
27.9 µs
28.1 µs
any_of anyOftypeintegerminimum2[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of anyOftypeintegerminimum2[jsonschema/compile]
-1%
52.7 µs
53.1 µs
minimum minimum3[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::minimum minimum3[jsonschema/compile]
-1%
25.4 µs
25.6 µs
maximum maximum3[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::maximum maximum3[jsonschema/compile]
-1%
25.4 µs
25.6 µs
items itemstypeinteger[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::items itemstypeinteger[jsonschema/compile]
-1%
37.1 µs
37.4 µs
max_length maxLength3[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::max_length maxLength3[jsonschema/compile]
-1%
27.1 µs
27.3 µs
max_items maxItems1[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::max_items maxItems1[jsonschema/compile]
-1%
27 µs
27.2 µs
format_time 083006.283185Z[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_time 083006.283185Z[jsonschema/is_valid/valid]
-1%
2.9 µs
3 µs
enum enum1234[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::enum enum1234[jsonschema/compile]
-1%
26.4 µs
26.6 µs
any_of_multiple_types anyOftypeintegertypestring[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::any_of_multiple_types anyOftypeintegertypestring[jsonschema/compile]
-1%
52.7 µs
53.3 µs
unique_items uniqueItemstrue[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items uniqueItemstrue[jsonschema/compile]
-1%
25.1 µs
25.4 µs
contains 5[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::contains 5[jsonschema/validate/valid]
-1%
2.7 µs
2.7 µs
additional_properties_and_properties_and_pattern_properties foonullfza2[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties_and_pattern_properties foonullfza2[jsonschema/validate/valid]
-1%
8.5 µs
8.6 µs
multiple_of_integer multipleOf5[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::multiple_of_integer multipleOf5[jsonschema/compile]
-1%
26.1 µs
26.4 µs
swagger jsonschema/validate
jsonschema/benches/jsonschema.rs::common::large_schemas::swagger jsonschema/validate
-1%
34.1 ms
34.6 ms
exclusive_maximum exclusiveMaximum3[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_maximum exclusiveMaximum3[jsonschema/compile]
-1%
25.4 µs
25.8 µs
property_names ABCD1[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::property_names ABCD1[jsonschema/validate/invalid]
-1%
10.3 µs
10.5 µs
property_names propertyNamesmaxLength3[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::property_names propertyNamesmaxLength3[jsonschema/compile]
-2%
39.7 µs
40.3 µs
not null[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::not null[jsonschema/validate/invalid]
-2%
7 µs
7.1 µs
additional_properties_and_properties additionalPropertiestypestringpropertiesfoo[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties additionalPropertiestypestringpropertiesfoo[jsonschema/compile]
-2%
55.3 µs
56.2 µs
additional_properties_single additionalPropertiestypestring[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_single additionalPropertiestypestring[jsonschema/compile]
-2%
41.9 µs
42.6 µs
boolean_false false[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::boolean_false false[jsonschema/compile]
-2%
12 µs
12.2 µs
properties foobar[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::properties foobar[jsonschema/validate/valid]
-2%
4.7 µs
4.8 µs
ref itemstypeinteger$ref#/items/0[jsonschema/compile]
jsonschema/benches/jsonschema.rs::specific::keywords::ref itemstypeinteger$ref#/items/0[jsonschema/compile]
-2%
48.9 µs
49.8 µs
properties foo1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::properties foo1[jsonschema/is_valid/invalid]
-2%
1.1 µs
1.2 µs
jsonpointer[big]
jsonschema/benches/jsonschema.rs::common::json_pointer_node::jsonpointer[big]
-2%
3.8 µs
3.9 µs
pattern A11Z[jsonschema/validate/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern A11Z[jsonschema/validate/valid]
-2%
5.1 µs
5.3 µs
pattern_properties foobarfooooo2[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern_properties foobarfooooo2[jsonschema/is_valid/invalid]
-3%
3.8 µs
3.9 µs
properties foobar[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::properties foobar[jsonschema/is_valid/valid]
-3%
1.1 µs
1.1 µs
maximum 5[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::maximum 5[jsonschema/validate/invalid]
-3%
5.3 µs
5.4 µs
one_of 3[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::one_of 3[jsonschema/is_valid/invalid]
-3%
1.1 µs
1.1 µs
one_of 1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::one_of 1[jsonschema/is_valid/valid]
-3%
1 µs
1.1 µs
format_date 1963-06-19[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_date 1963-06-19[jsonschema/is_valid/valid]
-3%
4 µs
4.1 µs
jsonpointer[small]
jsonschema/benches/jsonschema.rs::common::json_pointer_node::jsonpointer[small]
-3%
2.1 µs
2.1 µs
additional_properties_false_and_pattern_properties foo1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_pattern_properties foo1[jsonschema/is_valid/valid]
-3%
3.8 µs
3.9 µs
additional_properties_and_pattern_properties foo1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_pattern_properties foo1[jsonschema/is_valid/valid]
-3%
3.8 µs
3.9 µs
swagger jsonschema/is_valid
jsonschema/benches/jsonschema.rs::common::large_schemas::swagger jsonschema/is_valid
-3%
23.8 ms
24.6 ms
pattern_properties foo1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern_properties foo1[jsonschema/is_valid/valid]
-3%
3.7 µs
3.8 µs
openapi jsonschema/validate
jsonschema/benches/jsonschema.rs::common::large_schemas::openapi jsonschema/validate
-3%
24.3 ms
25.2 ms
format_hostname not_a_valid_host_name[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::format_hostname not_a_valid_host_name[jsonschema/is_valid/invalid]
-3%
820.3 ns
849.4 ns
additional_properties_false_and_properties_and_pattern_properties foo1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties_and_pattern_properties foo1[jsonschema/is_valid/valid]
-4%
4.1 µs
4.3 µs
unique_items 121[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::unique_items 121[jsonschema/is_valid/invalid]
-4%
724.2 ns
753.3 ns
openapi jsonschema/is_valid
jsonschema/benches/jsonschema.rs::common::large_schemas::openapi jsonschema/is_valid
-4%
22.6 ms
23.5 ms
exclusive_maximum 3[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_maximum 3[jsonschema/validate/invalid]
-4%
5.2 µs
5.5 µs
exclusive_minimum 3[jsonschema/validate/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::exclusive_minimum 3[jsonschema/validate/invalid]
-4%
5.2 µs
5.5 µs
pattern A11Z[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::pattern A11Z[jsonschema/is_valid/valid]
-5%
3.1 µs
3.3 µs
additional_properties_false_and_properties_and_pattern_properties bar2foo1fz02[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_properties_and_pattern_properties bar2foo1fz02[jsonschema/is_valid/invalid]
-5%
3.3 µs
3.5 µs
additional_properties_and_properties_and_pattern_properties bartruefoonullfzo2[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties_and_pattern_properties bartruefoonullfzo2[jsonschema/is_valid/invalid]
-6%
3.6 µs
3.8 µs
additional_properties_and_properties_and_pattern_properties foonullfza2[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_properties_and_pattern_properties foonullfza2[jsonschema/is_valid/valid]
-6%
4.7 µs
5 µs
additional_properties_false_and_pattern_properties bar2foo1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_false_and_pattern_properties bar2foo1[jsonschema/is_valid/invalid]
-6%
3 µs
3.2 µs
const 1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::const 1[jsonschema/is_valid/valid]
-6%
450.6 ns
479.7 ns
additional_properties_and_pattern_properties bartruefoo1[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_properties_and_pattern_properties bartruefoo1[jsonschema/is_valid/invalid]
-6%
3.3 µs
3.5 µs
enum 6[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::enum 6[jsonschema/is_valid/invalid]
-7%
393.1 ns
422.2 ns
enum 4[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::enum 4[jsonschema/is_valid/valid]
-7%
763.3 ns
821.7 ns
additional_items_boolean 1234[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::additional_items_boolean 1234[jsonschema/is_valid/invalid]
-8%
331.4 ns
360.6 ns
const foo[jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::const foo[jsonschema/is_valid/invalid]
-8%
327.8 ns
356.9 ns
required [jsonschema/is_valid/invalid]
jsonschema/benches/jsonschema.rs::specific::keywords::required [jsonschema/is_valid/invalid]
-9%
300 ns
329.2 ns
type_integer 1[jsonschema/is_valid/valid]
jsonschema/benches/jsonschema.rs::specific::keywords::type_integer 1[jsonschema/is_valid/valid]
-9%
299.4 ns
328.6 ns

Commits

Click on a commit to change the comparison range
base
master
8adae12
-21%
refactor: pattern_regex_engine -> patterns_regex_engine for consistent naming
7b00a24
5 months ago
by shumkov
ResourcesHomePricingDocsBlogGitHubChangelog