Repository navigation
Keep trying to achieve higher coverage - #3001
Conversation
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
There was a problem hiding this comment.
2 issues found across 40 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="test/jsonld/jsonld_flatten_test.cc">
<violation number="1" location="test/jsonld/jsonld_flatten_test.cc:230">
P3: This duplicates `list_value_is_preserved` with the same input structure and unchanged-output assertion, so it adds no coverage; remove it or exercise a distinct case.</violation>
</file>
<file name="test/openapi/bundle/3.1/component_of_every_referenceable_kind_from_another_document.json">
<violation number="1" location="test/openapi/bundle/3.1/component_of_every_referenceable_kind_from_another_document.json:55">
P3: This fixture claims to cover every referenceable component kind, but it only exercises five of the ten OpenAPI 3.1 component maps. Add references and expected output for schemas, responses, parameters, examples, and pathItems, or narrow the fixture's claim.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
| EXPECT_EQ(sourcemeta::core::jsonld_flatten(input), expected); | ||
| } | ||
|
|
||
| // Section 5.2.2 keeps a list object whole and hangs it off the property of the |
There was a problem hiding this comment.
P3: This duplicates list_value_is_preserved with the same input structure and unchanged-output assertion, so it adds no coverage; remove it or exercise a distinct case.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At test/jsonld/jsonld_flatten_test.cc, line 230:
<comment>This duplicates `list_value_is_preserved` with the same input structure and unchanged-output assertion, so it adds no coverage; remove it or exercise a distinct case.</comment>
<file context>
@@ -178,3 +178,75 @@ TEST(flatten_and_compact_against_context) {
+ EXPECT_EQ(sourcemeta::core::jsonld_flatten(input), expected);
+}
+
+// Section 5.2.2 keeps a list object whole and hangs it off the property of the
+// subject that carries it, creating that property where the subject has none
+TEST(list_object_hangs_off_the_property_of_its_subject) {
</file context>
| @@ -0,0 +1,242 @@ | |||
| { | |||
There was a problem hiding this comment.
P3: This fixture claims to cover every referenceable component kind, but it only exercises five of the ten OpenAPI 3.1 component maps. Add references and expected output for schemas, responses, parameters, examples, and pathItems, or narrow the fixture's claim.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At test/openapi/bundle/3.1/component_of_every_referenceable_kind_from_another_document.json, line 55:
<comment>This fixture claims to cover every referenceable component kind, but it only exercises five of the ten OpenAPI 3.1 component maps. Add references and expected output for schemas, responses, parameters, examples, and pathItems, or narrow the fixture's claim.</comment>
<file context>
@@ -0,0 +1,242 @@
+ "version": "1.0.0"
+ },
+ "components": {
+ "requestBodies": {
+ "Body": {
+ "description": "Body",
</file context>
🤖 Augment PR SummarySummary: Increases coverage with regression tests and behavior-preserving refactors.
🤖 Was this summary useful? React with 👍 or 👎 |
Benchmark
|
| Benchmark | main |
This branch | Change |
|---|---|---|---|
Regex_Period_Plus |
1.27 ns | 1.68 ns | +31.8% |
JSON_String_Equal_100 |
2.99 ns | 3.59 ns | +20.2% |
JSON_Array_Of_Integers_Unique_256 |
2.18 us | 2.57 us | +17.9% |
JSON_String_Equal_10 |
2.52 ns | 2.96 ns | +17.5% |
URITemplateRouter_Match |
75.69 ns | 86.19 ns | +13.9% |
Markdown_To_HTML_Short_Descriptions |
278.19 ns | 316.35 ns | +13.7% |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
66.59 ns | 75.66 ns | +13.6% |
GZIP_Decompress_ISO_Language_Set_3_Locations |
3.31 ms | 3.73 ms | +12.6% |
GZIP_Compress_ISO_Language_Set_3_Locations |
21.76 ms | 24.23 ms | +11.4% |
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations |
4.33 ms | 4.81 ms | +11.1% |
Crypto_AES_GCM_Encrypt_256_1KB |
24.65 us | 27.36 us | +11.0% |
URITemplateRouter_Match_BasePath |
85.74 ns | 93.77 ns | +9.4% |
Markdown_To_HTML_Realistic_Document |
2.12 ms | 2.32 ms | +9.3% |
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations |
4.86 ms | 5.29 ms | +9.0% |
Crypto_AES_GCM_Decrypt_128_1KB |
20.26 us | 21.95 us | +8.4% |
Pointer_Tracked_Deeply_Nested |
876.07 us | 947.04 us | +8.1% |
Schema_Frame_ISO_Language_Root |
165.59 ns | 178.75 ns | +7.9% |
URITemplateRouterView_Restore |
6.98 us | 7.54 us | +7.9% |
Pointer_Walker_Schema_ISO_Language |
783.68 us | 845.61 us | +7.9% |
Schema_Frame_Many_Resources_References |
58.41 ms | 62.90 ms | +7.7% |
URITemplateRouter_Create |
11.42 us | 12.29 us | +7.6% |
JSONLD_Catalog_Materialize |
1.81 ms | 1.94 ms | +7.5% |
JOSE_VerifySignature_RS256 |
31.69 us | 33.94 us | +7.1% |
Crypto_AES_GCM_Encrypt_128_1KB |
20.32 us | 21.76 us | +7.1% |
JSONL_Parse_Large |
5.03 ms | 5.39 ms | +7.0% |
Markdown_To_HTML_Pathological |
7.31 ms | 7.82 ms | +7.0% |
GZIP_Compress_ISO_Language_Set_3_Schema |
1.51 ms | 1.61 ms | +6.9% |
JSON_Parse_String_SSO_Plain |
1.38 us | 1.48 us | +6.9% |
JSONLD_Catalog_Annotation_List_Populate |
330.00 us | 352.62 us | +6.9% |
JSON_Fast_Hash_Helm_Chart_Lock |
33.28 ns | 35.48 ns | +6.6% |
Pointer_Object_Traverse |
14.97 ns | 15.95 ns | +6.5% |
Schema_Frame_OMC_Locations |
4.39 ms | 4.67 ms | +6.5% |
JSON_Parse_Integer |
1.97 us | 2.10 us | +6.4% |
Pointer_Position_Tracker_Get_Deeply_Nested |
416.43 ns | 443.18 ns | +6.4% |
URITemplateRouterView_Match_BasePath |
78.29 ns | 83.28 ns | +6.4% |
JSONL_Parse_Large_GZIP |
5.11 ms | 5.43 ms | +6.4% |
Schema_Frame_OMC_Pointers |
9.47 ms | 10.07 ms | +6.3% |
JSON_String_Fast_Hash_10 |
1.17 ns | 1.25 ns | +6.3% |
GZIP_Decompress_ISO_Language_Set_3_Schema |
290.13 us | 308.25 us | +6.2% |
JSON_Parse_Object_Array_Properties |
2.70 us | 2.86 us | +6.1% |
JSON_Number_To_Double |
8.44 ns | 8.95 ns | +6.1% |
JOSE_VerifySignature_ES512 |
1.12 ms | 1.19 ms | +5.9% |
Schema_Format_ISO_Language |
24.22 ms | 25.64 ms | +5.9% |
Schema_Bundle_Many_Remotes_With_Fragments |
3.43 ms | 3.63 ms | +5.7% |
JSON_From_String_Copy |
5.81 ns | 6.13 ns | +5.7% |
Crypto_CRC32_Large_JSONL |
75.50 us | 79.63 us | +5.5% |
HTML_Build_Table_100000 |
18.62 ms | 19.62 ms | +5.3% |
Schema_Tracker_ISO_Language |
2.19 ms | 2.31 ms | +5.1% |
Schema_Frame_ISO_Language_Locations_To_JSON |
19.78 ms | 20.78 ms | +5.1% |
JSON_PropertySet_Contains |
28.91 ns | 27.36 ns | -5.4% |
Pointer_Untracked_Deeply_Nested |
719.87 us | 673.96 us | -6.4% |
JSON_Array_Of_Objects_Unique |
227.39 ns | 212.83 ns | -6.4% |
OpenAPI_Frame_GSMTasks_3_0 |
101.51 ms | 94.46 ms | -6.9% |
JSON_Array_Of_Strings_Unique_Colliding_256 |
95.08 us | 84.46 us | -11.2% |
All 112 benchmarks
| Benchmark | main |
This branch | Change |
|---|---|---|---|
Regex_Lower_S_Or_Upper_S_Asterisk |
1.14 ns | 1.20 ns | +4.7% |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
1.42 ns | 1.44 ns | +0.8% |
Regex_Period_Asterisk |
1.44 ns | 1.44 ns | +0.0% |
Regex_Group_Period_Asterisk_Group |
1.20 ns | 1.20 ns | +0.3% |
Regex_Period_Plus |
1.27 ns | 1.68 ns | +31.8% |
Regex_Period |
1.45 ns | 1.45 ns | -0.1% |
Regex_Caret_Period_Plus_Dollar |
1.50 ns | 1.53 ns | +2.0% |
Regex_Caret_Group_Period_Plus_Group_Dollar |
1.23 ns | 1.28 ns | +4.0% |
Regex_Caret_Period_Asterisk_Dollar |
1.18 ns | 1.22 ns | +3.0% |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
1.45 ns | 1.44 ns | -0.8% |
Regex_Caret_X_Hyphen |
2.70 ns | 2.63 ns | -2.5% |
Regex_Period_Md_Dollar |
14.15 ns | 13.94 ns | -1.5% |
Regex_Caret_Slash_Period_Asterisk |
2.40 ns | 2.35 ns | -2.3% |
Regex_Caret_Period_Range_Dollar |
1.68 ns | 1.66 ns | -1.0% |
Regex_Nested_Backtrack |
20.50 ns | 19.99 ns | -2.5% |
JSON_Array_Of_Objects_Unique |
227.39 ns | 212.83 ns | -6.4% |
JSON_Array_Of_Integers_Unique_256 |
2.18 us | 2.57 us | +17.9% |
JSON_Array_Of_Strings_Unique_Colliding_256 |
95.08 us | 84.46 us | -11.2% |
JSON_Parse_1 |
2.38 us | 2.30 us | -3.1% |
JSON_Parse_Real |
2.43 us | 2.39 us | -1.4% |
JSON_Parse_Real_Inexact |
2.15 us | 2.17 us | +0.8% |
JSON_Parse_Decimal |
4.01 us | 3.97 us | -0.9% |
JSON_Parse_Schema_ISO_Language |
1.75 ms | 1.73 ms | -1.0% |
JSON_Parse_Integer |
1.97 us | 2.10 us | +6.4% |
JSON_Parse_String_NonSSO_Plain |
1.75 us | 1.72 us | -1.9% |
JSON_Parse_String_SSO_Plain |
1.38 us | 1.48 us | +6.9% |
JSON_Parse_String_Escape_Heavy |
6.68 us | 6.71 us | +0.4% |
JSON_Parse_Object_Short_Keys |
3.68 us | 3.68 us | -0.1% |
JSON_Parse_Object_Scalar_Properties |
1.90 us | 1.91 us | +0.7% |
JSON_Parse_Object_Array_Properties |
2.70 us | 2.86 us | +6.1% |
JSON_Parse_Object_Object_Properties |
2.77 us | 2.83 us | +2.2% |
JSON_Parse_Nested_Containers |
17.32 us | 18.06 us | +4.3% |
JSON_Fast_Hash_Helm_Chart_Lock |
33.28 ns | 35.48 ns | +6.6% |
JSON_Equality_Helm_Chart_Lock |
83.70 ns | 85.05 ns | +1.6% |
JSON_String_Equal_10 |
2.52 ns | 2.96 ns | +17.5% |
JSON_String_Equal_100 |
2.99 ns | 3.59 ns | +20.2% |
JSON_String_Equal_Small_By_Perfect_Hash_10 |
0.48 ns | 0.50 ns | +4.6% |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 |
7.21 ns | 7.35 ns | +2.0% |
JSON_String_Fast_Hash_10 |
1.17 ns | 1.25 ns | +6.3% |
JSON_String_Fast_Hash_100 |
1.19 ns | 1.23 ns | +2.7% |
JSON_String_Key_Hash_10 |
1.18 ns | 1.21 ns | +2.0% |
JSON_String_Key_Hash_100 |
3.78 ns | 3.90 ns | +3.2% |
JSON_Object_Defines_Miss_Same_Length |
1.91 ns | 1.96 ns | +2.8% |
JSON_Object_Defines_Miss_Too_Small |
1.43 ns | 1.45 ns | +1.4% |
JSON_Object_Defines_Miss_Too_Large |
1.42 ns | 1.43 ns | +0.7% |
JSON_From_String_Copy |
5.81 ns | 6.13 ns | +5.7% |
JSON_From_String_Temporary |
5.25 ns | 5.27 ns | +0.3% |
JSON_Number_To_Double |
8.44 ns | 8.95 ns | +6.1% |
JSON_Object_At_Last_Key_8 |
2.22 ns | 2.20 ns | -1.0% |
JSON_Object_At_Last_Key_32 |
7.92 ns | 8.21 ns | +3.7% |
JSON_Object_At_Last_Key_128 |
43.84 ns | 44.27 ns | +1.0% |
JSON_Object_At_Last_Key_512 |
154.02 ns | 154.94 ns | +0.6% |
JSON_Divisible_By_Decimal |
162.80 ns | 165.46 ns | +1.6% |
JSON_PropertySet_Contains |
28.91 ns | 27.36 ns | -5.4% |
JSON_PropertySet_Filter_Object_Properties |
20.52 ns | 21.32 ns | +3.9% |
JSON_PropertySet_Insert |
280.04 ns | 287.83 ns | +2.8% |
JSON_Stringify_Schema_Web_Of_Things |
32.44 us | 31.97 us | -1.5% |
JSON_Prettify_Schema_Web_Of_Things |
93.81 us | 91.21 us | -2.8% |
Pointer_Object_Traverse |
14.97 ns | 15.95 ns | +6.5% |
Pointer_Object_Try_Traverse |
17.17 ns | 17.57 ns | +2.4% |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
66.59 ns | 75.66 ns | +13.6% |
Pointer_Walker_Schema_ISO_Language |
783.68 us | 845.61 us | +7.9% |
Pointer_Untracked_Deeply_Nested |
719.87 us | 673.96 us | -6.4% |
Pointer_Tracked_Deeply_Nested |
876.07 us | 947.04 us | +8.1% |
Pointer_Position_Tracker_Get_Deeply_Nested |
416.43 ns | 443.18 ns | +6.4% |
Schema_Tracker_ISO_Language |
2.19 ms | 2.31 ms | +5.1% |
Schema_Tracker_ISO_Language_To_JSON |
8.81 ms | 9.05 ms | +2.7% |
Schema_Frame_WoT_References |
1.15 ms | 1.18 ms | +2.9% |
Schema_Frame_OMC_References |
5.19 ms | 5.38 ms | +3.8% |
Schema_Frame_OMC_Pointers |
9.47 ms | 10.07 ms | +6.3% |
Schema_Frame_OMC_Locations |
4.39 ms | 4.67 ms | +6.5% |
Schema_Frame_ISO_Language_Locations |
21.68 ms | 22.42 ms | +3.4% |
Schema_Frame_ISO_Language_Root |
165.59 ns | 178.75 ns | +7.9% |
Schema_Frame_KrakenD_References |
8.30 ms | 8.54 ms | +2.9% |
Schema_Frame_KrakenD_Reachable |
76.36 ms | 79.17 ms | +3.7% |
Schema_Frame_ISO_Language_Locations_To_JSON |
19.78 ms | 20.78 ms | +5.1% |
Schema_Frame_Many_Resources_References |
58.41 ms | 62.90 ms | +7.7% |
Schema_Frame_Deeply_Nested_References |
5.86 ms | 6.09 ms | +4.1% |
Schema_Format_ISO_Language |
24.22 ms | 25.64 ms | +5.9% |
Schema_Bundle_Meta_2020_12 |
283.22 us | 292.68 us | +3.3% |
Schema_Bundle_Many_Remotes_With_Fragments |
3.43 ms | 3.63 ms | +5.7% |
OpenAPI_Frame_GSMTasks_3_0 |
101.51 ms | 94.46 ms | -6.9% |
OpenAPI_Format_Synthetic_3_1 |
29.48 ms | 28.12 ms | -4.6% |
JSONPath_Descendant_Filter_Nested |
1.04 us | 1.05 us | +1.2% |
URITemplateRouter_Create |
11.42 us | 12.29 us | +7.6% |
URITemplateRouter_Match |
75.69 ns | 86.19 ns | +13.9% |
URITemplateRouterView_Restore |
6.98 us | 7.54 us | +7.9% |
URITemplateRouterView_Match |
69.51 ns | 72.92 ns | +4.9% |
URITemplateRouterView_Arguments |
309.31 ns | 315.67 ns | +2.1% |
URITemplateRouter_Match_BasePath |
85.74 ns | 93.77 ns | +9.4% |
URITemplateRouterView_Match_BasePath |
78.29 ns | 83.28 ns | +6.4% |
JSONL_Parse_Large |
5.03 ms | 5.39 ms | +7.0% |
JSONL_Parse_Large_GZIP |
5.11 ms | 5.43 ms | +6.4% |
JSONLD_Catalog_Annotation_List_Populate |
330.00 us | 352.62 us | +6.9% |
JSONLD_Catalog_Materialize |
1.81 ms | 1.94 ms | +7.5% |
HTML_Build_Table_100000 |
18.62 ms | 19.62 ms | +5.3% |
HTML_Render_Table_100000 |
1.70 ms | 1.63 ms | -4.4% |
Markdown_To_HTML_Realistic_Document |
2.12 ms | 2.32 ms | +9.3% |
Markdown_To_HTML_Pathological |
7.31 ms | 7.82 ms | +7.0% |
Markdown_To_HTML_Short_Descriptions |
278.19 ns | 316.35 ns | +13.7% |
GZIP_Compress_ISO_Language_Set_3_Locations |
21.76 ms | 24.23 ms | +11.4% |
GZIP_Decompress_ISO_Language_Set_3_Locations |
3.31 ms | 3.73 ms | +12.6% |
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations |
4.33 ms | 4.81 ms | +11.1% |
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations |
4.86 ms | 5.29 ms | +9.0% |
GZIP_Compress_ISO_Language_Set_3_Schema |
1.51 ms | 1.61 ms | +6.9% |
GZIP_Decompress_ISO_Language_Set_3_Schema |
290.13 us | 308.25 us | +6.2% |
JOSE_VerifySignature_RS256 |
31.69 us | 33.94 us | +7.1% |
JOSE_VerifySignature_ES512 |
1.12 ms | 1.19 ms | +5.9% |
Crypto_CRC32_Large_JSONL |
75.50 us | 79.63 us | +5.5% |
Crypto_AES_GCM_Encrypt_128_1KB |
20.32 us | 21.76 us | +7.1% |
Crypto_AES_GCM_Decrypt_128_1KB |
20.26 us | 21.95 us | +8.4% |
Crypto_AES_GCM_Encrypt_256_1KB |
24.65 us | 27.36 us | +11.0% |
Benchmark
|
| Benchmark | main |
This branch | Change |
|---|---|---|---|
HTML_Render_Table_100000 |
7.37 ms | 8.50 ms | +15.3% |
JSON_Parse_Nested_Containers |
80.64 us | 92.83 us | +15.1% |
Schema_Frame_OMC_References |
21.48 ms | 24.14 ms | +12.4% |
JSONPath_Descendant_Filter_Nested |
2.86 us | 3.16 us | +10.6% |
JSON_Divisible_By_Decimal |
382.67 ns | 417.81 ns | +9.2% |
JSON_String_Fast_Hash_100 |
6.32 ns | 6.84 ns | +8.4% |
Schema_Frame_ISO_Language_Root |
2.36 us | 2.55 us | +7.9% |
JSON_String_Key_Hash_10 |
5.04 ns | 5.43 ns | +7.7% |
Schema_Frame_KrakenD_Reachable |
297.52 ms | 317.15 ms | +6.6% |
JSON_String_Equal_10 |
10.08 ns | 10.61 ns | +5.2% |
JSON_Parse_Object_Object_Properties |
11.73 us | 12.34 us | +5.2% |
JSONLD_Catalog_Annotation_List_Populate |
2.94 ms | 3.09 ms | +5.1% |
URITemplateRouterView_Match_BasePath |
261.84 ns | 248.50 ns | -5.1% |
JSON_Parse_Integer |
7.16 us | 6.79 us | -5.2% |
Schema_Tracker_ISO_Language |
11.72 ms | 11.10 ms | -5.2% |
JSON_Parse_1 |
9.34 us | 8.79 us | -5.9% |
Schema_Format_ISO_Language |
93.81 ms | 86.14 ms | -8.2% |
Pointer_Walker_Schema_ISO_Language |
11.13 ms | 10.21 ms | -8.3% |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
209.93 ns | 190.98 ns | -9.0% |
Schema_Frame_KrakenD_References |
41.30 ms | 37.49 ms | -9.2% |
Pointer_Tracked_Deeply_Nested |
4.12 ms | 3.72 ms | -9.7% |
All 112 benchmarks
| Benchmark | main |
This branch | Change |
|---|---|---|---|
Regex_Lower_S_Or_Upper_S_Asterisk |
4.73 ns | 4.75 ns | +0.5% |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
4.70 ns | 4.80 ns | +2.3% |
Regex_Period_Asterisk |
4.71 ns | 4.82 ns | +2.3% |
Regex_Group_Period_Asterisk_Group |
4.70 ns | 4.72 ns | +0.4% |
Regex_Period_Plus |
4.71 ns | 4.70 ns | -0.4% |
Regex_Period |
4.78 ns | 4.72 ns | -1.3% |
Regex_Caret_Period_Plus_Dollar |
4.85 ns | 4.72 ns | -2.7% |
Regex_Caret_Group_Period_Plus_Group_Dollar |
4.81 ns | 4.72 ns | -1.9% |
Regex_Caret_Period_Asterisk_Dollar |
4.76 ns | 4.72 ns | -0.8% |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
4.71 ns | 4.71 ns | -0.0% |
Regex_Caret_X_Hyphen |
7.87 ns | 7.87 ns | -0.1% |
Regex_Period_Md_Dollar |
47.28 ns | 46.63 ns | -1.4% |
Regex_Caret_Slash_Period_Asterisk |
7.77 ns | 7.57 ns | -2.5% |
Regex_Caret_Period_Range_Dollar |
5.48 ns | 5.35 ns | -2.3% |
Regex_Nested_Backtrack |
58.58 ns | 57.25 ns | -2.3% |
JSON_Array_Of_Objects_Unique |
517.49 ns | 539.86 ns | +4.3% |
JSON_Array_Of_Integers_Unique_256 |
4.79 us | 4.79 us | +0.0% |
JSON_Array_Of_Strings_Unique_Colliding_256 |
294.77 us | 291.19 us | -1.2% |
JSON_Parse_1 |
9.34 us | 8.79 us | -5.9% |
JSON_Parse_Real |
7.82 us | 7.62 us | -2.5% |
JSON_Parse_Real_Inexact |
7.17 us | 7.18 us | +0.1% |
JSON_Parse_Decimal |
12.37 us | 12.32 us | -0.4% |
JSON_Parse_Schema_ISO_Language |
7.84 ms | 7.87 ms | +0.5% |
JSON_Parse_Integer |
7.16 us | 6.79 us | -5.2% |
JSON_Parse_String_NonSSO_Plain |
8.65 us | 8.66 us | +0.1% |
JSON_Parse_String_SSO_Plain |
4.20 us | 4.16 us | -0.9% |
JSON_Parse_String_Escape_Heavy |
21.62 us | 21.39 us | -1.0% |
JSON_Parse_Object_Short_Keys |
14.12 us | 13.55 us | -4.0% |
JSON_Parse_Object_Scalar_Properties |
7.26 us | 6.95 us | -4.2% |
JSON_Parse_Object_Array_Properties |
11.54 us | 11.85 us | +2.7% |
JSON_Parse_Object_Object_Properties |
11.73 us | 12.34 us | +5.2% |
JSON_Parse_Nested_Containers |
80.64 us | 92.83 us | +15.1% |
JSON_Fast_Hash_Helm_Chart_Lock |
104.67 ns | 107.05 ns | +2.3% |
JSON_Equality_Helm_Chart_Lock |
211.99 ns | 218.28 ns | +3.0% |
JSON_String_Equal_10 |
10.08 ns | 10.61 ns | +5.2% |
JSON_String_Equal_100 |
11.65 ns | 11.62 ns | -0.2% |
JSON_String_Equal_Small_By_Perfect_Hash_10 |
2.25 ns | 2.33 ns | +3.4% |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 |
14.19 ns | 14.26 ns | +0.5% |
JSON_String_Fast_Hash_10 |
6.30 ns | 6.61 ns | +4.9% |
JSON_String_Fast_Hash_100 |
6.32 ns | 6.84 ns | +8.4% |
JSON_String_Key_Hash_10 |
5.04 ns | 5.43 ns | +7.7% |
JSON_String_Key_Hash_100 |
11.89 ns | 12.02 ns | +1.1% |
JSON_Object_Defines_Miss_Same_Length |
3.47 ns | 3.61 ns | +4.0% |
JSON_Object_Defines_Miss_Too_Small |
4.08 ns | 4.10 ns | +0.4% |
JSON_Object_Defines_Miss_Too_Large |
4.08 ns | 4.18 ns | +2.3% |
JSON_From_String_Copy |
63.34 ns | 63.75 ns | +0.7% |
JSON_From_String_Temporary |
58.36 ns | 61.17 ns | +4.8% |
JSON_Number_To_Double |
41.08 ns | 41.93 ns | +2.1% |
JSON_Object_At_Last_Key_8 |
7.28 ns | 7.25 ns | -0.4% |
JSON_Object_At_Last_Key_32 |
23.46 ns | 22.97 ns | -2.1% |
JSON_Object_At_Last_Key_128 |
88.95 ns | 88.71 ns | -0.3% |
JSON_Object_At_Last_Key_512 |
428.59 ns | 423.77 ns | -1.1% |
JSON_Divisible_By_Decimal |
382.67 ns | 417.81 ns | +9.2% |
JSON_PropertySet_Contains |
70.80 ns | 69.75 ns | -1.5% |
JSON_PropertySet_Filter_Object_Properties |
48.70 ns | 49.01 ns | +0.6% |
JSON_PropertySet_Insert |
1.30 us | 1.31 us | +0.6% |
JSON_Stringify_Schema_Web_Of_Things |
229.08 us | 228.76 us | -0.1% |
JSON_Prettify_Schema_Web_Of_Things |
746.04 us | 716.80 us | -3.9% |
Pointer_Object_Traverse |
70.37 ns | 70.30 ns | -0.1% |
Pointer_Object_Try_Traverse |
70.20 ns | 70.68 ns | +0.7% |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
209.93 ns | 190.98 ns | -9.0% |
Pointer_Walker_Schema_ISO_Language |
11.13 ms | 10.21 ms | -8.3% |
Pointer_Untracked_Deeply_Nested |
2.54 ms | 2.45 ms | -3.7% |
Pointer_Tracked_Deeply_Nested |
4.12 ms | 3.72 ms | -9.7% |
Pointer_Position_Tracker_Get_Deeply_Nested |
611.18 ns | 592.50 ns | -3.1% |
Schema_Tracker_ISO_Language |
11.72 ms | 11.10 ms | -5.2% |
Schema_Tracker_ISO_Language_To_JSON |
65.15 ms | 64.16 ms | -1.5% |
Schema_Frame_WoT_References |
4.94 ms | 5.17 ms | +4.5% |
Schema_Frame_OMC_References |
21.48 ms | 24.14 ms | +12.4% |
Schema_Frame_OMC_Pointers |
40.97 ms | 42.88 ms | +4.7% |
Schema_Frame_OMC_Locations |
18.78 ms | 19.70 ms | +4.9% |
Schema_Frame_ISO_Language_Locations |
80.09 ms | 78.85 ms | -1.6% |
Schema_Frame_ISO_Language_Root |
2.36 us | 2.55 us | +7.9% |
Schema_Frame_KrakenD_References |
41.30 ms | 37.49 ms | -9.2% |
Schema_Frame_KrakenD_Reachable |
297.52 ms | 317.15 ms | +6.6% |
Schema_Frame_ISO_Language_Locations_To_JSON |
169.22 ms | 163.75 ms | -3.2% |
Schema_Frame_Many_Resources_References |
361.72 ms | 375.24 ms | +3.7% |
Schema_Frame_Deeply_Nested_References |
24.78 ms | 25.00 ms | +0.9% |
Schema_Format_ISO_Language |
93.81 ms | 86.14 ms | -8.2% |
Schema_Bundle_Meta_2020_12 |
1.48 ms | 1.52 ms | +2.4% |
Schema_Bundle_Many_Remotes_With_Fragments |
30.69 ms | 29.55 ms | -3.7% |
OpenAPI_Frame_GSMTasks_3_0 |
395.34 ms | 396.92 ms | +0.4% |
OpenAPI_Format_Synthetic_3_1 |
130.16 ms | 127.73 ms | -1.9% |
JSONPath_Descendant_Filter_Nested |
2.86 us | 3.16 us | +10.6% |
URITemplateRouter_Create |
38.78 us | 38.90 us | +0.3% |
URITemplateRouter_Match |
243.30 ns | 235.45 ns | -3.2% |
URITemplateRouterView_Restore |
34.76 us | 34.88 us | +0.4% |
URITemplateRouterView_Match |
227.07 ns | 219.07 ns | -3.5% |
URITemplateRouterView_Arguments |
555.32 ns | 541.40 ns | -2.5% |
URITemplateRouter_Match_BasePath |
272.35 ns | 267.82 ns | -1.7% |
URITemplateRouterView_Match_BasePath |
261.84 ns | 248.50 ns | -5.1% |
JSONL_Parse_Large |
32.26 ms | 32.29 ms | +0.1% |
JSONL_Parse_Large_GZIP |
30.96 ms | 31.12 ms | +0.5% |
JSONLD_Catalog_Annotation_List_Populate |
2.94 ms | 3.09 ms | +5.1% |
JSONLD_Catalog_Materialize |
7.81 ms | 7.77 ms | -0.6% |
HTML_Build_Table_100000 |
65.53 ms | 67.70 ms | +3.3% |
HTML_Render_Table_100000 |
7.37 ms | 8.50 ms | +15.3% |
Markdown_To_HTML_Realistic_Document |
5.57 ms | 5.70 ms | +2.4% |
Markdown_To_HTML_Pathological |
17.88 ms | 17.89 ms | +0.1% |
Markdown_To_HTML_Short_Descriptions |
704.51 ns | 711.75 ns | +1.0% |
GZIP_Compress_ISO_Language_Set_3_Locations |
37.22 ms | 37.87 ms | +1.8% |
GZIP_Decompress_ISO_Language_Set_3_Locations |
9.22 ms | 9.12 ms | -1.1% |
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations |
13.29 ms | 13.80 ms | +3.9% |
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations |
16.27 ms | 16.14 ms | -0.8% |
GZIP_Compress_ISO_Language_Set_3_Schema |
2.31 ms | 2.29 ms | -0.7% |
GZIP_Decompress_ISO_Language_Set_3_Schema |
639.05 us | 634.68 us | -0.7% |
JOSE_VerifySignature_RS256 |
21.89 us | 21.36 us | -2.4% |
JOSE_VerifySignature_ES512 |
1.40 ms | 1.36 ms | -2.6% |
Crypto_CRC32_Large_JSONL |
103.59 us | 102.97 us | -0.6% |
Crypto_AES_GCM_Encrypt_128_1KB |
2.39 us | 2.36 us | -1.2% |
Crypto_AES_GCM_Decrypt_128_1KB |
2.46 us | 2.37 us | -3.4% |
Crypto_AES_GCM_Encrypt_256_1KB |
2.51 us | 2.42 us | -3.8% |
Benchmark
|
| Benchmark | main |
This branch | Change |
|---|---|---|---|
JSON_Parse_Real |
5.44 us | 6.17 us | +13.5% |
JSON_PropertySet_Filter_Object_Properties |
36.35 ns | 40.51 ns | +11.4% |
JSON_PropertySet_Contains |
45.18 ns | 50.17 ns | +11.0% |
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations |
8.94 ms | 9.82 ms | +9.9% |
JSON_Object_Defines_Miss_Too_Large |
3.12 ns | 3.43 ns | +9.8% |
Regex_Period_Md_Dollar |
28.62 ns | 30.84 ns | +7.8% |
URITemplateRouterView_Match_BasePath |
143.55 ns | 151.34 ns | +5.4% |
JSON_Parse_Object_Array_Properties |
7.35 us | 6.96 us | -5.3% |
Schema_Frame_OMC_Pointers |
21.61 ms | 20.05 ms | -7.2% |
Regex_Caret_X_Hyphen |
7.09 ns | 6.47 ns | -8.7% |
Schema_Frame_KrakenD_References |
20.06 ms | 18.16 ms | -9.4% |
Schema_Frame_OMC_References |
12.59 ms | 11.32 ms | -10.0% |
JSONLD_Catalog_Materialize |
4.76 ms | 4.24 ms | -11.0% |
JSON_Parse_String_Escape_Heavy |
17.46 us | 15.35 us | -12.1% |
JSON_PropertySet_Insert |
541.39 ns | 461.62 ns | -14.7% |
Regex_Caret_Slash_Period_Asterisk |
7.94 ns | 6.77 ns | -14.7% |
JSON_Fast_Hash_Helm_Chart_Lock |
84.75 ns | 72.20 ns | -14.8% |
HTML_Render_Table_100000 |
2.20 ms | 1.84 ms | -16.6% |
JSON_Object_At_Last_Key_32 |
15.97 ns | 11.90 ns | -25.4% |
Regex_Caret_Period_Range_Dollar |
3.66 ns | 2.72 ns | -25.5% |
All 112 benchmarks
| Benchmark | main |
This branch | Change |
|---|---|---|---|
Crypto_CRC32_Large_JSONL |
101.71 us | 101.65 us | -0.1% |
Crypto_AES_GCM_Encrypt_128_1KB |
1.23 us | 1.26 us | +2.3% |
Crypto_AES_GCM_Decrypt_128_1KB |
1.24 us | 1.27 us | +2.3% |
Crypto_AES_GCM_Encrypt_256_1KB |
1.28 us | 1.30 us | +1.1% |
JOSE_VerifySignature_RS256 |
22.26 us | 22.31 us | +0.2% |
JOSE_VerifySignature_ES512 |
574.92 us | 575.29 us | +0.1% |
GZIP_Compress_ISO_Language_Set_3_Locations |
30.03 ms | 30.50 ms | +1.6% |
GZIP_Decompress_ISO_Language_Set_3_Locations |
5.17 ms | 5.20 ms | +0.5% |
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations |
7.24 ms | 7.25 ms | +0.2% |
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations |
8.94 ms | 9.82 ms | +9.9% |
GZIP_Compress_ISO_Language_Set_3_Schema |
2.05 ms | 2.06 ms | +0.2% |
GZIP_Decompress_ISO_Language_Set_3_Schema |
426.22 us | 425.86 us | -0.1% |
Markdown_To_HTML_Realistic_Document |
5.13 ms | 5.16 ms | +0.6% |
Markdown_To_HTML_Pathological |
13.42 ms | 13.42 ms | +0.0% |
Markdown_To_HTML_Short_Descriptions |
719.04 ns | 687.65 ns | -4.4% |
HTML_Build_Table_100000 |
39.69 ms | 39.33 ms | -0.9% |
HTML_Render_Table_100000 |
2.20 ms | 1.84 ms | -16.6% |
JSONLD_Catalog_Annotation_List_Populate |
752.16 us | 753.87 us | +0.2% |
JSONLD_Catalog_Materialize |
4.76 ms | 4.24 ms | -11.0% |
JSONL_Parse_Large |
10.77 ms | 10.60 ms | -1.6% |
JSONL_Parse_Large_GZIP |
10.94 ms | 10.80 ms | -1.2% |
URITemplateRouter_Create |
21.70 us | 22.60 us | +4.1% |
URITemplateRouter_Match |
148.78 ns | 148.35 ns | -0.3% |
URITemplateRouterView_Restore |
8.51 us | 8.53 us | +0.3% |
URITemplateRouterView_Match |
127.24 ns | 132.36 ns | +4.0% |
URITemplateRouterView_Arguments |
484.41 ns | 472.89 ns | -2.4% |
URITemplateRouter_Match_BasePath |
171.67 ns | 170.58 ns | -0.6% |
URITemplateRouterView_Match_BasePath |
143.55 ns | 151.34 ns | +5.4% |
JSONPath_Descendant_Filter_Nested |
1.96 us | 1.97 us | +0.6% |
OpenAPI_Frame_GSMTasks_3_0 |
166.06 ms | 159.13 ms | -4.2% |
OpenAPI_Format_Synthetic_3_1 |
58.52 ms | 57.62 ms | -1.5% |
Schema_Frame_WoT_References |
2.36 ms | 2.26 ms | -4.4% |
Schema_Frame_OMC_References |
12.59 ms | 11.32 ms | -10.0% |
Schema_Frame_OMC_Pointers |
21.61 ms | 20.05 ms | -7.2% |
Schema_Frame_OMC_Locations |
10.06 ms | 9.69 ms | -3.7% |
Schema_Frame_ISO_Language_Locations |
46.41 ms | 46.75 ms | +0.7% |
Schema_Frame_ISO_Language_Root |
356.13 ns | 351.04 ns | -1.4% |
Schema_Frame_KrakenD_References |
20.06 ms | 18.16 ms | -9.4% |
Schema_Frame_KrakenD_Reachable |
164.13 ms | 160.87 ms | -2.0% |
Schema_Frame_ISO_Language_Locations_To_JSON |
35.65 ms | 34.62 ms | -2.9% |
Schema_Frame_Many_Resources_References |
134.34 ms | 132.56 ms | -1.3% |
Schema_Frame_Deeply_Nested_References |
12.83 ms | 12.74 ms | -0.7% |
Schema_Format_ISO_Language |
53.99 ms | 53.22 ms | -1.4% |
Schema_Bundle_Meta_2020_12 |
697.11 us | 687.91 us | -1.3% |
Schema_Bundle_Many_Remotes_With_Fragments |
7.50 ms | 7.40 ms | -1.3% |
Pointer_Object_Traverse |
23.24 ns | 23.21 ns | -0.1% |
Pointer_Object_Try_Traverse |
27.60 ns | 27.57 ns | -0.1% |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
130.58 ns | 131.04 ns | +0.3% |
Pointer_Walker_Schema_ISO_Language |
1.74 ms | 1.67 ms | -4.0% |
Pointer_Untracked_Deeply_Nested |
1.50 ms | 1.53 ms | +1.9% |
Pointer_Tracked_Deeply_Nested |
2.22 ms | 2.22 ms | +0.1% |
Pointer_Position_Tracker_Get_Deeply_Nested |
596.92 ns | 599.35 ns | +0.4% |
Schema_Tracker_ISO_Language |
5.53 ms | 5.43 ms | -1.8% |
Schema_Tracker_ISO_Language_To_JSON |
17.08 ms | 16.55 ms | -3.1% |
JSON_Array_Of_Objects_Unique |
438.50 ns | 439.54 ns | +0.2% |
JSON_Array_Of_Integers_Unique_256 |
4.15 us | 4.16 us | +0.3% |
JSON_Array_Of_Strings_Unique_Colliding_256 |
202.44 us | 202.46 us | +0.0% |
JSON_Parse_1 |
5.77 us | 5.84 us | +1.1% |
JSON_Parse_Real |
5.44 us | 6.17 us | +13.5% |
JSON_Parse_Real_Inexact |
6.12 us | 6.06 us | -1.1% |
JSON_Parse_Decimal |
10.46 us | 10.29 us | -1.6% |
JSON_Parse_Schema_ISO_Language |
3.91 ms | 3.97 ms | +1.6% |
JSON_Parse_Integer |
4.46 us | 4.31 us | -3.4% |
JSON_Parse_String_NonSSO_Plain |
3.64 us | 3.70 us | +1.4% |
JSON_Parse_String_SSO_Plain |
3.09 us | 3.05 us | -1.4% |
JSON_Parse_String_Escape_Heavy |
17.46 us | 15.35 us | -12.1% |
JSON_Parse_Object_Short_Keys |
11.36 us | 11.50 us | +1.3% |
JSON_Parse_Object_Scalar_Properties |
5.76 us | 5.61 us | -2.6% |
JSON_Parse_Object_Array_Properties |
7.35 us | 6.96 us | -5.3% |
JSON_Parse_Object_Object_Properties |
7.33 us | 7.04 us | -4.0% |
JSON_Parse_Nested_Containers |
44.96 us | 43.54 us | -3.1% |
JSON_Fast_Hash_Helm_Chart_Lock |
84.75 ns | 72.20 ns | -14.8% |
JSON_Equality_Helm_Chart_Lock |
169.46 ns | 168.30 ns | -0.7% |
JSON_String_Equal_10 |
5.69 ns | 5.69 ns | -0.0% |
JSON_String_Equal_100 |
6.32 ns | 6.31 ns | -0.1% |
JSON_String_Equal_Small_By_Perfect_Hash_10 |
0.62 ns | 0.62 ns | +0.0% |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 |
13.09 ns | 13.11 ns | +0.2% |
JSON_String_Fast_Hash_10 |
2.86 ns | 2.86 ns | +0.0% |
JSON_String_Fast_Hash_100 |
2.86 ns | 2.86 ns | +0.1% |
JSON_String_Key_Hash_10 |
3.00 ns | 3.05 ns | +1.8% |
JSON_String_Key_Hash_100 |
13.39 ns | 13.45 ns | +0.5% |
JSON_Object_Defines_Miss_Same_Length |
3.12 ns | 3.12 ns | -0.0% |
JSON_Object_Defines_Miss_Too_Small |
3.11 ns | 3.11 ns | -0.0% |
JSON_Object_Defines_Miss_Too_Large |
3.12 ns | 3.43 ns | +9.8% |
JSON_From_String_Copy |
9.09 ns | 8.86 ns | -2.6% |
JSON_From_String_Temporary |
8.31 ns | 8.12 ns | -2.3% |
JSON_Number_To_Double |
25.57 ns | 26.46 ns | +3.5% |
JSON_Object_At_Last_Key_8 |
3.74 ns | 3.82 ns | +2.2% |
JSON_Object_At_Last_Key_32 |
15.97 ns | 11.90 ns | -25.4% |
JSON_Object_At_Last_Key_128 |
48.64 ns | 49.91 ns | +2.6% |
JSON_Object_At_Last_Key_512 |
279.23 ns | 272.23 ns | -2.5% |
JSON_Divisible_By_Decimal |
368.60 ns | 385.91 ns | +4.7% |
JSON_PropertySet_Contains |
45.18 ns | 50.17 ns | +11.0% |
JSON_PropertySet_Filter_Object_Properties |
36.35 ns | 40.51 ns | +11.4% |
JSON_PropertySet_Insert |
541.39 ns | 461.62 ns | -14.7% |
JSON_Stringify_Schema_Web_Of_Things |
63.36 us | 63.78 us | +0.7% |
JSON_Prettify_Schema_Web_Of_Things |
174.05 us | 173.53 us | -0.3% |
Regex_Lower_S_Or_Upper_S_Asterisk |
2.02 ns | 2.10 ns | +3.9% |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
2.10 ns | 2.13 ns | +1.3% |
Regex_Period_Asterisk |
2.10 ns | 2.10 ns | -0.0% |
Regex_Group_Period_Asterisk_Group |
2.10 ns | 2.02 ns | -3.7% |
Regex_Period_Plus |
2.02 ns | 2.10 ns | +3.8% |
Regex_Period |
2.10 ns | 2.10 ns | -0.0% |
Regex_Caret_Period_Plus_Dollar |
2.10 ns | 2.10 ns | +0.1% |
Regex_Caret_Group_Period_Plus_Group_Dollar |
2.10 ns | 2.02 ns | -3.7% |
Regex_Caret_Period_Asterisk_Dollar |
2.02 ns | 2.10 ns | +3.9% |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
2.10 ns | 2.10 ns | +0.1% |
Regex_Caret_X_Hyphen |
7.09 ns | 6.47 ns | -8.7% |
Regex_Period_Md_Dollar |
28.62 ns | 30.84 ns | +7.8% |
Regex_Caret_Slash_Period_Asterisk |
7.94 ns | 6.77 ns | -14.7% |
Regex_Caret_Period_Range_Dollar |
3.66 ns | 2.72 ns | -25.5% |
Regex_Nested_Backtrack |
39.21 ns | 40.63 ns | +3.6% |
Benchmark
|
| Benchmark | main |
This branch | Change |
|---|---|---|---|
Pointer_Walker_Schema_ISO_Language |
1.34 ms | 2.10 ms | +56.3% |
JSON_String_Key_Hash_100 |
2.19 ns | 3.36 ns | +53.4% |
JSON_Object_At_Last_Key_128 |
55.10 ns | 82.84 ns | +50.3% |
JSON_Object_At_Last_Key_512 |
192.06 ns | 287.56 ns | +49.7% |
JSON_Object_Defines_Miss_Same_Length |
2.74 ns | 4.07 ns | +48.7% |
Schema_Frame_ISO_Language_Root |
129.93 ns | 191.78 ns | +47.6% |
JSONLD_Catalog_Materialize |
2.22 ms | 3.24 ms | +45.6% |
JSON_From_String_Copy |
10.80 ns | 15.72 ns | +45.5% |
JSON_Object_Defines_Miss_Too_Large |
2.62 ns | 3.57 ns | +36.1% |
Schema_Frame_KrakenD_References |
14.18 ms | 19.17 ms | +35.2% |
Schema_Frame_ISO_Language_Locations |
23.99 ms | 32.36 ms | +34.9% |
Crypto_AES_GCM_Decrypt_128_1KB |
3.81 us | 5.00 us | +31.4% |
Schema_Tracker_ISO_Language |
3.07 ms | 4.02 ms | +31.0% |
JSON_Object_Defines_Miss_Too_Small |
2.72 ns | 3.55 ns | +30.3% |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
142.14 ns | 184.62 ns | +29.9% |
JSON_Prettify_Schema_Web_Of_Things |
159.86 us | 207.13 us | +29.6% |
GZIP_Compress_ISO_Language_Set_3_Locations |
27.22 ms | 34.89 ms | +28.2% |
Schema_Tracker_ISO_Language_To_JSON |
12.29 ms | 15.74 ms | +28.0% |
Crypto_AES_GCM_Encrypt_128_1KB |
3.76 us | 4.76 us | +26.7% |
JSON_Stringify_Schema_Web_Of_Things |
62.34 us | 78.99 us | +26.7% |
Schema_Frame_KrakenD_Reachable |
209.00 ms | 264.57 ms | +26.6% |
Crypto_CRC32_Large_JSONL |
21.30 us | 26.85 us | +26.1% |
Pointer_Object_Try_Traverse |
33.27 ns | 41.85 ns | +25.8% |
Schema_Frame_ISO_Language_Locations_To_JSON |
25.22 ms | 31.66 ms | +25.6% |
Pointer_Object_Traverse |
20.50 ns | 25.63 ns | +25.0% |
JSON_Object_At_Last_Key_32 |
12.79 ns | 15.81 ns | +23.6% |
JSON_Object_At_Last_Key_8 |
4.25 ns | 5.26 ns | +23.6% |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 |
3.65 ns | 4.50 ns | +23.4% |
JSON_String_Key_Hash_10 |
1.74 ns | 2.14 ns | +23.4% |
JSON_String_Fast_Hash_100 |
2.25 ns | 2.76 ns | +23.0% |
JSON_From_String_Temporary |
6.33 ns | 7.78 ns | +22.9% |
JSON_Number_To_Double |
9.67 ns | 11.75 ns | +21.6% |
JSON_String_Equal_Small_By_Perfect_Hash_10 |
0.38 ns | 0.46 ns | +21.1% |
JSONLD_Catalog_Annotation_List_Populate |
565.79 us | 683.86 us | +20.9% |
JOSE_VerifySignature_ES512 |
1.07 ms | 1.27 ms | +19.3% |
GZIP_Compress_ISO_Language_Set_3_Schema |
1.79 ms | 2.12 ms | +18.5% |
Schema_Bundle_Many_Remotes_With_Fragments |
5.97 ms | 7.00 ms | +17.4% |
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations |
4.41 ms | 5.13 ms | +16.3% |
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations |
5.55 ms | 6.41 ms | +15.3% |
JSON_PropertySet_Filter_Object_Properties |
37.61 ns | 43.04 ns | +14.4% |
GZIP_Decompress_ISO_Language_Set_3_Locations |
3.07 ms | 3.51 ms | +14.4% |
Schema_Format_ISO_Language |
28.37 ms | 32.45 ms | +14.4% |
JSON_String_Fast_Hash_10 |
3.22 ns | 3.66 ns | +13.8% |
GZIP_Decompress_ISO_Language_Set_3_Schema |
310.11 us | 344.63 us | +11.1% |
Crypto_AES_GCM_Encrypt_256_1KB |
4.25 us | 4.69 us | +10.6% |
Markdown_To_HTML_Realistic_Document |
3.35 ms | 3.63 ms | +8.6% |
Schema_Frame_WoT_References |
1.82 ms | 1.97 ms | +8.2% |
JSON_Parse_Real_Inexact |
3.78 us | 4.06 us | +7.3% |
Markdown_To_HTML_Short_Descriptions |
322.42 ns | 344.83 ns | +7.0% |
Schema_Frame_OMC_Locations |
7.60 ms | 8.12 ms | +6.9% |
JSON_PropertySet_Insert |
323.39 ns | 345.38 ns | +6.8% |
Pointer_Tracked_Deeply_Nested |
1.20 ms | 1.27 ms | +5.8% |
JOSE_VerifySignature_RS256 |
21.70 us | 22.93 us | +5.7% |
Pointer_Untracked_Deeply_Nested |
1.20 ms | 1.14 ms | -5.2% |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
2.17 ns | 2.06 ns | -5.3% |
Regex_Caret_Period_Plus_Dollar |
2.63 ns | 2.46 ns | -6.3% |
URITemplateRouterView_Arguments |
596.72 ns | 557.64 ns | -6.5% |
JSON_Parse_String_NonSSO_Plain |
3.50 us | 3.23 us | -7.5% |
Schema_Frame_Deeply_Nested_References |
17.23 ms | 15.92 ms | -7.6% |
JSONL_Parse_Large |
6.86 ms | 6.30 ms | -8.1% |
URITemplateRouterView_Restore |
11.82 us | 10.85 us | -8.2% |
Regex_Caret_Period_Range_Dollar |
2.49 ns | 2.29 ns | -8.3% |
HTML_Render_Table_100000 |
2.01 ms | 1.82 ms | -9.7% |
Regex_Caret_X_Hyphen |
7.58 ns | 6.79 ns | -10.4% |
JSON_Parse_Object_Scalar_Properties |
3.43 us | 3.06 us | -10.6% |
URITemplateRouter_Match |
197.43 ns | 175.38 ns | -11.2% |
JSON_Parse_1 |
3.96 us | 3.51 us | -11.3% |
Regex_Period_Plus |
2.11 ns | 1.86 ns | -11.5% |
JSON_Array_Of_Strings_Unique_Colliding_256 |
186.52 us | 163.54 us | -12.3% |
Regex_Period |
2.37 ns | 2.07 ns | -12.5% |
Regex_Period_Md_Dollar |
23.72 ns | 20.66 ns | -12.9% |
OpenAPI_Format_Synthetic_3_1 |
49.35 ms | 42.57 ms | -13.7% |
JSON_Parse_Real |
4.10 us | 3.54 us | -13.7% |
JSON_Array_Of_Objects_Unique |
482.20 ns | 415.39 ns | -13.9% |
JSON_String_Equal_10 |
9.45 ns | 8.12 ns | -14.1% |
Regex_Caret_Period_Asterisk_Dollar |
2.44 ns | 2.09 ns | -14.3% |
Regex_Nested_Backtrack |
38.98 ns | 32.64 ns | -16.3% |
JSON_Parse_String_Escape_Heavy |
21.69 us | 17.85 us | -17.7% |
JSON_Parse_Schema_ISO_Language |
2.99 ms | 2.46 ms | -17.7% |
URITemplateRouterView_Match_BasePath |
202.07 ns | 166.10 ns | -17.8% |
JSONL_Parse_Large_GZIP |
7.70 ms | 6.30 ms | -18.1% |
JSON_Parse_Decimal |
8.11 us | 6.49 us | -20.0% |
JSON_Array_Of_Integers_Unique_256 |
5.70 us | 4.51 us | -20.9% |
URITemplateRouter_Create |
24.50 us | 19.03 us | -22.3% |
JSON_Fast_Hash_Helm_Chart_Lock |
82.92 ns | 62.92 ns | -24.1% |
JSON_Parse_Object_Object_Properties |
4.26 us | 3.23 us | -24.2% |
URITemplateRouter_Match_BasePath |
271.56 ns | 202.68 ns | -25.4% |
JSON_Parse_Nested_Containers |
34.01 us | 24.85 us | -26.9% |
JSON_Parse_Object_Array_Properties |
4.78 us | 3.46 us | -27.6% |
Regex_Group_Period_Asterisk_Group |
2.74 ns | 1.86 ns | -32.2% |
Regex_Lower_S_Or_Upper_S_Asterisk |
2.80 ns | 1.87 ns | -33.3% |
Regex_Period_Asterisk |
3.34 ns | 2.09 ns | -37.5% |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
3.16 ns | 1.96 ns | -38.1% |
All 112 benchmarks
| Benchmark | main |
This branch | Change |
|---|---|---|---|
Regex_Lower_S_Or_Upper_S_Asterisk |
2.80 ns | 1.87 ns | -33.3% |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
3.16 ns | 1.96 ns | -38.1% |
Regex_Period_Asterisk |
3.34 ns | 2.09 ns | -37.5% |
Regex_Group_Period_Asterisk_Group |
2.74 ns | 1.86 ns | -32.2% |
Regex_Period_Plus |
2.11 ns | 1.86 ns | -11.5% |
Regex_Period |
2.37 ns | 2.07 ns | -12.5% |
Regex_Caret_Period_Plus_Dollar |
2.63 ns | 2.46 ns | -6.3% |
Regex_Caret_Group_Period_Plus_Group_Dollar |
2.13 ns | 2.21 ns | +4.0% |
Regex_Caret_Period_Asterisk_Dollar |
2.44 ns | 2.09 ns | -14.3% |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
2.17 ns | 2.06 ns | -5.3% |
Regex_Caret_X_Hyphen |
7.58 ns | 6.79 ns | -10.4% |
Regex_Period_Md_Dollar |
23.72 ns | 20.66 ns | -12.9% |
Regex_Caret_Slash_Period_Asterisk |
5.24 ns | 5.44 ns | +3.8% |
Regex_Caret_Period_Range_Dollar |
2.49 ns | 2.29 ns | -8.3% |
Regex_Nested_Backtrack |
38.98 ns | 32.64 ns | -16.3% |
JSON_Array_Of_Objects_Unique |
482.20 ns | 415.39 ns | -13.9% |
JSON_Array_Of_Integers_Unique_256 |
5.70 us | 4.51 us | -20.9% |
JSON_Array_Of_Strings_Unique_Colliding_256 |
186.52 us | 163.54 us | -12.3% |
JSON_Parse_1 |
3.96 us | 3.51 us | -11.3% |
JSON_Parse_Real |
4.10 us | 3.54 us | -13.7% |
JSON_Parse_Real_Inexact |
3.78 us | 4.06 us | +7.3% |
JSON_Parse_Decimal |
8.11 us | 6.49 us | -20.0% |
JSON_Parse_Schema_ISO_Language |
2.99 ms | 2.46 ms | -17.7% |
JSON_Parse_Integer |
3.46 us | 3.43 us | -0.9% |
JSON_Parse_String_NonSSO_Plain |
3.50 us | 3.23 us | -7.5% |
JSON_Parse_String_SSO_Plain |
2.03 us | 1.99 us | -1.9% |
JSON_Parse_String_Escape_Heavy |
21.69 us | 17.85 us | -17.7% |
JSON_Parse_Object_Short_Keys |
5.92 us | 5.65 us | -4.5% |
JSON_Parse_Object_Scalar_Properties |
3.43 us | 3.06 us | -10.6% |
JSON_Parse_Object_Array_Properties |
4.78 us | 3.46 us | -27.6% |
JSON_Parse_Object_Object_Properties |
4.26 us | 3.23 us | -24.2% |
JSON_Parse_Nested_Containers |
34.01 us | 24.85 us | -26.9% |
JSON_Fast_Hash_Helm_Chart_Lock |
82.92 ns | 62.92 ns | -24.1% |
JSON_Equality_Helm_Chart_Lock |
184.65 ns | 181.09 ns | -1.9% |
JSON_String_Equal_10 |
9.45 ns | 8.12 ns | -14.1% |
JSON_String_Equal_100 |
9.64 ns | 9.45 ns | -2.0% |
JSON_String_Equal_Small_By_Perfect_Hash_10 |
0.38 ns | 0.46 ns | +21.1% |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 |
3.65 ns | 4.50 ns | +23.4% |
JSON_String_Fast_Hash_10 |
3.22 ns | 3.66 ns | +13.8% |
JSON_String_Fast_Hash_100 |
2.25 ns | 2.76 ns | +23.0% |
JSON_String_Key_Hash_10 |
1.74 ns | 2.14 ns | +23.4% |
JSON_String_Key_Hash_100 |
2.19 ns | 3.36 ns | +53.4% |
JSON_Object_Defines_Miss_Same_Length |
2.74 ns | 4.07 ns | +48.7% |
JSON_Object_Defines_Miss_Too_Small |
2.72 ns | 3.55 ns | +30.3% |
JSON_Object_Defines_Miss_Too_Large |
2.62 ns | 3.57 ns | +36.1% |
JSON_From_String_Copy |
10.80 ns | 15.72 ns | +45.5% |
JSON_From_String_Temporary |
6.33 ns | 7.78 ns | +22.9% |
JSON_Number_To_Double |
9.67 ns | 11.75 ns | +21.6% |
JSON_Object_At_Last_Key_8 |
4.25 ns | 5.26 ns | +23.6% |
JSON_Object_At_Last_Key_32 |
12.79 ns | 15.81 ns | +23.6% |
JSON_Object_At_Last_Key_128 |
55.10 ns | 82.84 ns | +50.3% |
JSON_Object_At_Last_Key_512 |
192.06 ns | 287.56 ns | +49.7% |
JSON_Divisible_By_Decimal |
231.17 ns | 240.44 ns | +4.0% |
JSON_PropertySet_Contains |
46.38 ns | 46.85 ns | +1.0% |
JSON_PropertySet_Filter_Object_Properties |
37.61 ns | 43.04 ns | +14.4% |
JSON_PropertySet_Insert |
323.39 ns | 345.38 ns | +6.8% |
JSON_Stringify_Schema_Web_Of_Things |
62.34 us | 78.99 us | +26.7% |
JSON_Prettify_Schema_Web_Of_Things |
159.86 us | 207.13 us | +29.6% |
Pointer_Object_Traverse |
20.50 ns | 25.63 ns | +25.0% |
Pointer_Object_Try_Traverse |
33.27 ns | 41.85 ns | +25.8% |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
142.14 ns | 184.62 ns | +29.9% |
Pointer_Walker_Schema_ISO_Language |
1.34 ms | 2.10 ms | +56.3% |
Pointer_Untracked_Deeply_Nested |
1.20 ms | 1.14 ms | -5.2% |
Pointer_Tracked_Deeply_Nested |
1.20 ms | 1.27 ms | +5.8% |
Pointer_Position_Tracker_Get_Deeply_Nested |
384.47 ns | 397.63 ns | +3.4% |
Schema_Tracker_ISO_Language |
3.07 ms | 4.02 ms | +31.0% |
Schema_Tracker_ISO_Language_To_JSON |
12.29 ms | 15.74 ms | +28.0% |
Schema_Frame_WoT_References |
1.82 ms | 1.97 ms | +8.2% |
Schema_Frame_OMC_References |
10.14 ms | 9.83 ms | -3.1% |
Schema_Frame_OMC_Pointers |
17.49 ms | 17.88 ms | +2.3% |
Schema_Frame_OMC_Locations |
7.60 ms | 8.12 ms | +6.9% |
Schema_Frame_ISO_Language_Locations |
23.99 ms | 32.36 ms | +34.9% |
Schema_Frame_ISO_Language_Root |
129.93 ns | 191.78 ns | +47.6% |
Schema_Frame_KrakenD_References |
14.18 ms | 19.17 ms | +35.2% |
Schema_Frame_KrakenD_Reachable |
209.00 ms | 264.57 ms | +26.6% |
Schema_Frame_ISO_Language_Locations_To_JSON |
25.22 ms | 31.66 ms | +25.6% |
Schema_Frame_Many_Resources_References |
120.81 ms | 118.96 ms | -1.5% |
Schema_Frame_Deeply_Nested_References |
17.23 ms | 15.92 ms | -7.6% |
Schema_Format_ISO_Language |
28.37 ms | 32.45 ms | +14.4% |
Schema_Bundle_Meta_2020_12 |
508.39 us | 483.63 us | -4.9% |
Schema_Bundle_Many_Remotes_With_Fragments |
5.97 ms | 7.00 ms | +17.4% |
OpenAPI_Frame_GSMTasks_3_0 |
145.48 ms | 150.60 ms | +3.5% |
OpenAPI_Format_Synthetic_3_1 |
49.35 ms | 42.57 ms | -13.7% |
JSONPath_Descendant_Filter_Nested |
1.43 us | 1.41 us | -0.8% |
URITemplateRouter_Create |
24.50 us | 19.03 us | -22.3% |
URITemplateRouter_Match |
197.43 ns | 175.38 ns | -11.2% |
URITemplateRouterView_Restore |
11.82 us | 10.85 us | -8.2% |
URITemplateRouterView_Match |
140.87 ns | 145.52 ns | +3.3% |
URITemplateRouterView_Arguments |
596.72 ns | 557.64 ns | -6.5% |
URITemplateRouter_Match_BasePath |
271.56 ns | 202.68 ns | -25.4% |
URITemplateRouterView_Match_BasePath |
202.07 ns | 166.10 ns | -17.8% |
JSONL_Parse_Large |
6.86 ms | 6.30 ms | -8.1% |
JSONL_Parse_Large_GZIP |
7.70 ms | 6.30 ms | -18.1% |
JSONLD_Catalog_Annotation_List_Populate |
565.79 us | 683.86 us | +20.9% |
JSONLD_Catalog_Materialize |
2.22 ms | 3.24 ms | +45.6% |
HTML_Build_Table_100000 |
29.77 ms | 29.11 ms | -2.2% |
HTML_Render_Table_100000 |
2.01 ms | 1.82 ms | -9.7% |
Markdown_To_HTML_Realistic_Document |
3.35 ms | 3.63 ms | +8.6% |
Markdown_To_HTML_Pathological |
10.60 ms | 10.79 ms | +1.8% |
Markdown_To_HTML_Short_Descriptions |
322.42 ns | 344.83 ns | +7.0% |
GZIP_Compress_ISO_Language_Set_3_Locations |
27.22 ms | 34.89 ms | +28.2% |
GZIP_Decompress_ISO_Language_Set_3_Locations |
3.07 ms | 3.51 ms | +14.4% |
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations |
4.41 ms | 5.13 ms | +16.3% |
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations |
5.55 ms | 6.41 ms | +15.3% |
GZIP_Compress_ISO_Language_Set_3_Schema |
1.79 ms | 2.12 ms | +18.5% |
GZIP_Decompress_ISO_Language_Set_3_Schema |
310.11 us | 344.63 us | +11.1% |
JOSE_VerifySignature_RS256 |
21.70 us | 22.93 us | +5.7% |
JOSE_VerifySignature_ES512 |
1.07 ms | 1.27 ms | +19.3% |
Crypto_CRC32_Large_JSONL |
21.30 us | 26.85 us | +26.1% |
Crypto_AES_GCM_Encrypt_128_1KB |
3.76 us | 4.76 us | +26.7% |
Crypto_AES_GCM_Decrypt_128_1KB |
3.81 us | 5.00 us | +31.4% |
Crypto_AES_GCM_Encrypt_256_1KB |
4.25 us | 4.69 us | +10.6% |
Signed-off-by: Juan Cruz Viotti jv@jviotti.com