Skip to content

Split the GZIP tests by shape and cover more RFC edge cases - #2829

Merged
jviotti merged 1 commit into
mainfrom
more-gzip-tests
Sep 14, 2026
Merged

jviotti merged 1 commit into
mainfrom
more-gzip-tests

Conversation

@jviotti

@jviotti jviotti commented Sep 14, 2026

Copy link
Copy Markdown
Member

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

Review in cubic

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@augmentcode

augmentcode Bot commented Sep 14, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: This PR expands and reorganizes GZIP test coverage around compressed-format shapes and RFC edge cases.

Changes:

  • Verifies emitted GZIP header flags, timestamp, compression hints, and OS marker.
  • Adds dynamic- and fixed-Huffman DEFLATE boundary/error fixtures.
  • Covers the length-258 encoding accepted through length code 284.
  • Exercises concatenated-member headers that cross the 64 KiB streaming-input boundary.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Re-trigger cubic

@jviotti
jviotti merged commit b92f149 into main Sep 14, 2026
14 checks passed
@jviotti
jviotti deleted the more-gzip-tests branch September 14, 2026 18:31

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (linux/llvm)

Details
Benchmark suite Current: 824a204 Previous: 8a53d99 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 1.6874285230402453 ns/iter 2.0379432121221797 ns/iter 0.83
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.681398833672065 ns/iter 2.0227697778835045 ns/iter 0.83
Regex_Period_Asterisk 1.681285563885209 ns/iter 2.0561097679742866 ns/iter 0.82
Regex_Group_Period_Asterisk_Group 1.6863581006341468 ns/iter 2.090646106366073 ns/iter 0.81
Regex_Period_Plus 2.5062669485040914 ns/iter 2.044108563239819 ns/iter 1.23
Regex_Period 2.5423885231266676 ns/iter 2.0760021468422867 ns/iter 1.22
Regex_Caret_Period_Plus_Dollar 2.422920659196007 ns/iter 2.079478993252042 ns/iter 1.17
Regex_Caret_Group_Period_Plus_Group_Dollar 2.410351533111916 ns/iter 2.104276694293618 ns/iter 1.15
Regex_Caret_Period_Asterisk_Dollar 1.6828627453296903 ns/iter 2.1732246707435934 ns/iter 0.77
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.6810610041101484 ns/iter 2.0726809286833197 ns/iter 0.81
Regex_Caret_X_Hyphen 4.3715882867178575 ns/iter 3.7498864259771083 ns/iter 1.17
Regex_Period_Md_Dollar 22.719982612758628 ns/iter 24.645785350879954 ns/iter 0.92
Regex_Caret_Slash_Period_Asterisk 4.370264922195586 ns/iter 3.7906661566113975 ns/iter 1.15
Regex_Caret_Period_Range_Dollar 2.70255815716418 ns/iter 2.309145603012269 ns/iter 1.17
Regex_Nested_Backtrack 33.90563243771751 ns/iter 35.135603201061116 ns/iter 0.96
JSON_Array_Of_Objects_Unique 421.8833893706757 ns/iter 372.3580327162251 ns/iter 1.13
JSON_Parse_1 4446.0528950611215 ns/iter 4245.25326510036 ns/iter 1.05
JSON_Parse_Real 4733.789001854115 ns/iter 4632.55296246456 ns/iter 1.02
JSON_Parse_Decimal 7869.233246933135 ns/iter 7586.3667874330995 ns/iter 1.04
JSON_Parse_Schema_ISO_Language 3101216.9464284615 ns/iter 3262457.6401870097 ns/iter 0.95
JSON_Parse_Integer 3599.9112507514246 ns/iter 3651.129878844632 ns/iter 0.99
JSON_Parse_String_NonSSO_Plain 2604.067473919272 ns/iter 2841.6107647344797 ns/iter 0.92
JSON_Parse_String_SSO_Plain 2482.6775973680255 ns/iter 2296.0758433343176 ns/iter 1.08
JSON_Parse_String_Escape_Heavy 12874.926819483175 ns/iter 14068.794623094194 ns/iter 0.92
JSON_Parse_Object_Short_Keys 7374.094751475137 ns/iter 6859.533785643914 ns/iter 1.08
JSON_Parse_Object_Scalar_Properties 3764.4030648992866 ns/iter 3583.004993467596 ns/iter 1.05
JSON_Parse_Object_Array_Properties 5120.181917720404 ns/iter 4943.843553498181 ns/iter 1.04
JSON_Parse_Object_Object_Properties 5092.972959206058 ns/iter 4894.01157873357 ns/iter 1.04
JSON_Parse_Nested_Containers 34002.96289119307 ns/iter 32485.63930995949 ns/iter 1.05
JSON_From_String_Copy 8.95813336714553 ns/iter 9.879617640787432 ns/iter 0.91
JSON_From_String_Temporary 7.33084259596654 ns/iter 8.973427812393636 ns/iter 0.82
JSON_Number_To_Double 21.447731022623753 ns/iter 21.86463311625846 ns/iter 0.98
JSON_Object_At_Last_Key/8 6.588885196315407 ns/iter 5.811861717475183 ns/iter 1.13
JSON_Object_At_Last_Key/32 21.881189669338433 ns/iter 19.596956045775634 ns/iter 1.12
JSON_Object_At_Last_Key/128 74.70562641195954 ns/iter 75.1579301885083 ns/iter 0.99
JSON_Object_At_Last_Key/512 275.28604022574626 ns/iter 304.4101259787684 ns/iter 0.90
JSON_Fast_Hash_Helm_Chart_Lock 62.189724199999084 ns/iter 54.75116117659437 ns/iter 1.14
JSON_Equality_Helm_Chart_Lock 158.16068217390654 ns/iter 143.17344193525875 ns/iter 1.10
JSON_Divisible_By_Decimal 234.6274143769677 ns/iter 252.4420210669181 ns/iter 0.93
JSON_String_Equal/10 5.233757813529957 ns/iter 4.3312127000995195 ns/iter 1.21
JSON_String_Equal/100 6.69164512644977 ns/iter 5.482425744045753 ns/iter 1.22
JSON_String_Equal_Small_By_Perfect_Hash/10 0.7200548443516517 ns/iter 0.6928862456079058 ns/iter 1.04
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 10.13371701979234 ns/iter 16.241277469819014 ns/iter 0.62
JSON_String_Fast_Hash/10 2.3531778911536314 ns/iter 2.02434850248178 ns/iter 1.16
JSON_String_Fast_Hash/100 2.3563502227540067 ns/iter 2.018198537516772 ns/iter 1.17
JSON_String_Key_Hash/10 2.354992489776341 ns/iter 2.043546660866862 ns/iter 1.15
JSON_String_Key_Hash/100 7.111715678086251 ns/iter 6.632283858362799 ns/iter 1.07
JSON_Object_Defines_Miss_Same_Length 3.920218184886492 ns/iter 3.471590154705938 ns/iter 1.13
JSON_Object_Defines_Miss_Too_Small 4.46245439245333 ns/iter 3.035579672357286 ns/iter 1.47
JSON_Object_Defines_Miss_Too_Large 4.195957510387698 ns/iter 3.457296146169788 ns/iter 1.21
Pointer_Object_Traverse 23.63222438714983 ns/iter 29.950575386781733 ns/iter 0.79
Pointer_Object_Try_Traverse 28.259995855004302 ns/iter 37.97117832548357 ns/iter 0.74
Pointer_Push_Back_Pointer_To_Weak_Pointer 115.37845909648911 ns/iter 139.58387871255715 ns/iter 0.83
Pointer_Walker_Schema_ISO_Language 2025673.0437318876 ns/iter 2152019.2521247687 ns/iter 0.94
Pointer_Maybe_Tracked_Deeply_Nested/0 1182994.5463743676 ns/iter 1139260.7654723383 ns/iter 1.04
Pointer_Maybe_Tracked_Deeply_Nested/1 1525246.0021787365 ns/iter 1876164.705405441 ns/iter 0.81
Pointer_Position_Tracker_Get_Deeply_Nested 704.1658418353226 ns/iter 672.1164111778372 ns/iter 1.05
Schema_Tracker_ISO_Language 4346589.153374085 ns/iter 4713969.87499956 ns/iter 0.92
Schema_Tracker_ISO_Language_To_JSON 16031185.162791094 ns/iter 18598751.135134596 ns/iter 0.86
Schema_Frame_WoT_References 2120905.7515151966 ns/iter 2048404.8168605324 ns/iter 1.04
Schema_Frame_OMC_References 9618821.71232879 ns/iter 9701498.29850728 ns/iter 0.99
Schema_Frame_OMC_Pointers 19357123.945945427 ns/iter 18939614.631577976 ns/iter 1.02
Schema_Frame_OMC_Locations 8298159.952380907 ns/iter 8830322.937500056 ns/iter 0.94
Schema_Frame_ISO_Language_Locations 42770717.68749963 ns/iter 41447501.56250154 ns/iter 1.03
Schema_Frame_ISO_Language_Root 262.2651360311934 ns/iter 273.30999307796856 ns/iter 0.96
Schema_Frame_KrakenD_References 16358596.75000068 ns/iter 16844875.724999044 ns/iter 0.97
Schema_Frame_KrakenD_Reachable 108860263.99999575 ns/iter 109500276.6666653 ns/iter 0.99
Schema_Frame_ISO_Language_Locations_To_JSON 34292874.42857219 ns/iter 33851366.60000399 ns/iter 1.01
Schema_Frame_Many_Resources_References 148150789.79999045 ns/iter 150731184.59999934 ns/iter 0.98
Schema_Frame_Deeply_Nested_References 12118660.462962057 ns/iter 12931046.259260021 ns/iter 0.94
JSONPath_Descendant_Filter_Nested 1303.4184020411112 ns/iter 1366.1228099455516 ns/iter 0.95
URITemplateRouter_Create 18632.625745436482 ns/iter 19488.599527777398 ns/iter 0.96
URITemplateRouter_Match 183.51526114978768 ns/iter 157.5438640347374 ns/iter 1.16
URITemplateRouter_Match_BasePath 206.81684060522286 ns/iter 174.34204026382443 ns/iter 1.19
URITemplateRouterView_Restore 3676.4999045295335 ns/iter 3823.377995085778 ns/iter 0.96
URITemplateRouterView_Match 163.23833227130467 ns/iter 143.1136246381953 ns/iter 1.14
URITemplateRouterView_Match_BasePath 180.90870287935812 ns/iter 160.3403575221267 ns/iter 1.13
URITemplateRouterView_Arguments 455.65970021400904 ns/iter 423.83034210611794 ns/iter 1.08
JSONL_Parse_Large 8634963.098765418 ns/iter 8261806.447059344 ns/iter 1.05
JSONL_Parse_Large_GZIP 8901526.594936686 ns/iter 8418978.93975926 ns/iter 1.06
JSONLD_Catalog_Annotation_List_Populate 705167.3386934398 ns/iter 664332.4196598108 ns/iter 1.06
JSONLD_Catalog_Materialize 3461011.896551661 ns/iter 3967800.8260868024 ns/iter 0.87
HTML_Build_Table_100000 63582468.2999953 ns/iter 61444059.11110577 ns/iter 1.03
HTML_Render_Table_100000 4350303.772727042 ns/iter 3393063.775000087 ns/iter 1.28
GZIP_Compress_ISO_Language_Set_3_Locations 35270894.950002685 ns/iter 37028482.42105454 ns/iter 0.95
GZIP_Decompress_ISO_Language_Set_3_Locations 4699144.741496617 ns/iter 4991792.463768243 ns/iter 0.94
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 6732774.1386136925 ns/iter 6522872.52252303 ns/iter 1.03
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 8686455.985714149 ns/iter 10042194.000000177 ns/iter 0.86
GZIP_Compress_ISO_Language_Set_3_Schema 2309782.636963693 ns/iter 2303702.2715233653 ns/iter 1.00
GZIP_Decompress_ISO_Language_Set_3_Schema 429377.3163390539 ns/iter 385633.35235457215 ns/iter 1.11
JOSE_VerifySignature_RS256 46593.11409888767 ns/iter 43195.12166429734 ns/iter 1.08
JOSE_VerifySignature_ES512 1618352.5773673053 ns/iter 1638193.9243120926 ns/iter 0.99
CRYPTO_CRC32_Large_JSONL 54401.85984583172 ns/iter 47011.52726295635 ns/iter 1.16

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (linux/gcc)

Details
Benchmark suite Current: 824a204 Previous: 8a53d99 Ratio
CRYPTO_CRC32_Large_JSONL 39704.021694685514 ns/iter 88935.78998981275 ns/iter 0.45
JOSE_VerifySignature_RS256 16259.334062393124 ns/iter 18859.455319607336 ns/iter 0.86
JOSE_VerifySignature_ES512 370181.22910054115 ns/iter 502451.084648504 ns/iter 0.74
GZIP_Compress_ISO_Language_Set_3_Locations 21542284.46875095 ns/iter 24592961.78571435 ns/iter 0.88
GZIP_Decompress_ISO_Language_Set_3_Locations 3112868.7837838344 ns/iter 4315923.030864189 ns/iter 0.72
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 4367367.975460057 ns/iter 5800075.672269026 ns/iter 0.75
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 6201071.554545478 ns/iter 6942240.358695405 ns/iter 0.89
GZIP_Compress_ISO_Language_Set_3_Schema 1631919.5550350908 ns/iter 1779672.7563451952 ns/iter 0.92
GZIP_Decompress_ISO_Language_Set_3_Schema 314457.9968340033 ns/iter 267540.4232108288 ns/iter 1.18
HTML_Build_Table_100000 40126429.61538404 ns/iter 52571469.499999546 ns/iter 0.76
HTML_Render_Table_100000 2864168.5186722437 ns/iter 1896287.8116710947 ns/iter 1.51
JSONLD_Catalog_Annotation_List_Populate 533280.130368111 ns/iter 541824.1093871149 ns/iter 0.98
JSONLD_Catalog_Materialize 2390989.993174115 ns/iter 2773391.8816794725 ns/iter 0.86
JSONL_Parse_Large 6244047.201754324 ns/iter 7426239.244680987 ns/iter 0.84
JSONL_Parse_Large_GZIP 6461392.798165442 ns/iter 7619329.771739002 ns/iter 0.85
URITemplateRouter_Create 11558.115321443689 ns/iter 14409.064534823528 ns/iter 0.80
URITemplateRouter_Match 103.76488534270241 ns/iter 110.48402505861188 ns/iter 0.94
URITemplateRouter_Match_BasePath 117.04885758203095 ns/iter 131.77322521281877 ns/iter 0.89
URITemplateRouterView_Restore 2420.3155519549136 ns/iter 7653.6032277070035 ns/iter 0.32
URITemplateRouterView_Match 101.06622458099746 ns/iter 94.67850231314844 ns/iter 1.07
URITemplateRouterView_Match_BasePath 113.79543758076062 ns/iter 107.25089785669594 ns/iter 1.06
URITemplateRouterView_Arguments 357.5095760138563 ns/iter 364.2984148952119 ns/iter 0.98
JSONPath_Descendant_Filter_Nested 997.9163519166908 ns/iter 1422.895126928125 ns/iter 0.70
Schema_Frame_WoT_References 1603642.4178082077 ns/iter 1778995.08439902 ns/iter 0.90
Schema_Frame_OMC_References 6931825.229999618 ns/iter 7878242.66666664 ns/iter 0.88
Schema_Frame_OMC_Pointers 12729338.12727243 ns/iter 14949364.978723742 ns/iter 0.85
Schema_Frame_OMC_Locations 5942238.822034157 ns/iter 6886362.803921393 ns/iter 0.86
Schema_Frame_ISO_Language_Locations 26190537.370372042 ns/iter 31810980.434782904 ns/iter 0.82
Schema_Frame_ISO_Language_Root 172.46317353501018 ns/iter 211.42054634153104 ns/iter 0.82
Schema_Frame_KrakenD_References 10998453.612903668 ns/iter 12596199.509090928 ns/iter 0.87
Schema_Frame_KrakenD_Reachable 77775633.66665971 ns/iter 83352502.37499991 ns/iter 0.93
Schema_Frame_ISO_Language_Locations_To_JSON 19357950.513513308 ns/iter 26682154.769230895 ns/iter 0.73
Schema_Frame_Many_Resources_References 111748346.00000358 ns/iter 113730588.83333443 ns/iter 0.98
Schema_Frame_Deeply_Nested_References 7911613.853932241 ns/iter 8643984.168674778 ns/iter 0.92
Pointer_Object_Traverse 15.41671074103217 ns/iter 19.141028923865406 ns/iter 0.81
Pointer_Object_Try_Traverse 18.142171822030814 ns/iter 20.60434252872432 ns/iter 0.88
Pointer_Push_Back_Pointer_To_Weak_Pointer 110.13224428194276 ns/iter 107.34569982771204 ns/iter 1.03
Pointer_Walker_Schema_ISO_Language 1489065.2735043145 ns/iter 1053715.324773399 ns/iter 1.41
Pointer_Maybe_Tracked_Deeply_Nested/0 894923.7509677327 ns/iter 976283.7360335224 ns/iter 0.92
Pointer_Maybe_Tracked_Deeply_Nested/1 1346562.7552581504 ns/iter 1363413.8953488774 ns/iter 0.99
Pointer_Position_Tracker_Get_Deeply_Nested 487.24340378539114 ns/iter 494.4386745200011 ns/iter 0.99
Schema_Tracker_ISO_Language 3550431.989847692 ns/iter 3891429.6208792073 ns/iter 0.91
Schema_Tracker_ISO_Language_To_JSON 10278650.8059699 ns/iter 11996895.508474864 ns/iter 0.86
JSON_Array_Of_Objects_Unique 271.68359852454523 ns/iter 354.20127672839624 ns/iter 0.77
JSON_Parse_1 3278.2134270398933 ns/iter 3975.519057251347 ns/iter 0.82
JSON_Parse_Real 3356.844996821719 ns/iter 4152.258143688497 ns/iter 0.81
JSON_Parse_Decimal 5586.3512885305445 ns/iter 6779.375624530077 ns/iter 0.82
JSON_Parse_Schema_ISO_Language 2489977.7067138073 ns/iter 2850924.6721310946 ns/iter 0.87
JSON_Parse_Integer 2262.5339986856065 ns/iter 2881.9112295670907 ns/iter 0.79
JSON_Parse_String_NonSSO_Plain 2014.0950530564037 ns/iter 2740.1072930479213 ns/iter 0.74
JSON_Parse_String_SSO_Plain 1876.580245984972 ns/iter 2237.208752013572 ns/iter 0.84
JSON_Parse_String_Escape_Heavy 11774.956849361095 ns/iter 12803.727816824128 ns/iter 0.92
JSON_Parse_Object_Short_Keys 5846.700638486085 ns/iter 7034.344032076548 ns/iter 0.83
JSON_Parse_Object_Scalar_Properties 2991.369794587229 ns/iter 3496.7176653463334 ns/iter 0.86
JSON_Parse_Object_Array_Properties 4192.9956877289205 ns/iter 5231.038688784488 ns/iter 0.80
JSON_Parse_Object_Object_Properties 4213.269223127251 ns/iter 5145.540757307913 ns/iter 0.82
JSON_Parse_Nested_Containers 25701.08368367779 ns/iter 31292.792158441018 ns/iter 0.82
JSON_From_String_Copy 5.826360710290025 ns/iter 7.938694563318328 ns/iter 0.73
JSON_From_String_Temporary 4.157994593539381 ns/iter 6.11278816611222 ns/iter 0.68
JSON_Number_To_Double 14.142802390641043 ns/iter 15.593356835305912 ns/iter 0.91
JSON_Object_At_Last_Key/8 3.085703589449099 ns/iter 3.2544948737614323 ns/iter 0.95
JSON_Object_At_Last_Key/32 9.687676266976753 ns/iter 10.334777911841497 ns/iter 0.94
JSON_Object_At_Last_Key/128 45.015832803051424 ns/iter 37.56766729098686 ns/iter 1.20
JSON_Object_At_Last_Key/512 154.7216735058612 ns/iter 221.11902791324235 ns/iter 0.70
JSON_Fast_Hash_Helm_Chart_Lock 49.236145030985206 ns/iter 64.7152415264842 ns/iter 0.76
JSON_Equality_Helm_Chart_Lock 99.64287970841534 ns/iter 135.6284315675217 ns/iter 0.73
JSON_Divisible_By_Decimal 185.34155735437872 ns/iter 200.21232488981428 ns/iter 0.93
JSON_String_Equal/10 3.700924030499927 ns/iter 4.469977865739798 ns/iter 0.83
JSON_String_Equal/100 4.723250737984312 ns/iter 5.2902869605595715 ns/iter 0.89
JSON_String_Equal_Small_By_Perfect_Hash/10 0.6969440624918276 ns/iter 0.5516191108604136 ns/iter 1.26
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 10.253006625490741 ns/iter 14.138523442926026 ns/iter 0.73
JSON_String_Fast_Hash/10 2.031816276364338 ns/iter 2.46508884786126 ns/iter 0.82
JSON_String_Fast_Hash/100 2.04648722272585 ns/iter 2.474351198606485 ns/iter 0.83
JSON_String_Key_Hash/10 0.6116521552517096 ns/iter 0.8423700532564362 ns/iter 0.73
JSON_String_Key_Hash/100 9.876186531294099 ns/iter 11.447311957183276 ns/iter 0.86
JSON_Object_Defines_Miss_Same_Length 2.195457466880073 ns/iter 2.72934598278703 ns/iter 0.80
JSON_Object_Defines_Miss_Too_Small 2.0445903253597706 ns/iter 2.457338024161324 ns/iter 0.83
JSON_Object_Defines_Miss_Too_Large 2.1697276034522663 ns/iter 2.730446483467344 ns/iter 0.79
Regex_Lower_S_Or_Upper_S_Asterisk 1.8085141891998353 ns/iter 2.045343895672877 ns/iter 0.88
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.861129195455415 ns/iter 2.1167749871231805 ns/iter 0.88
Regex_Period_Asterisk 1.8398546261590432 ns/iter 2.113820287476101 ns/iter 0.87
Regex_Group_Period_Asterisk_Group 1.8130639146997347 ns/iter 2.045909838123843 ns/iter 0.89
Regex_Period_Plus 1.8844972482922708 ns/iter 2.04837346732311 ns/iter 0.92
Regex_Period 2.2637920871671158 ns/iter 2.1139071200575454 ns/iter 1.07
Regex_Caret_Period_Plus_Dollar 2.0344283948850252 ns/iter 2.113952070773754 ns/iter 0.96
Regex_Caret_Group_Period_Plus_Group_Dollar 1.9440979766782096 ns/iter 2.048349447207801 ns/iter 0.95
Regex_Caret_Period_Asterisk_Dollar 2.003408505019435 ns/iter 2.045345811405231 ns/iter 0.98
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.04608690293641 ns/iter 2.12025083614889 ns/iter 0.97
Regex_Caret_X_Hyphen 4.015950109774391 ns/iter 5.079758401097681 ns/iter 0.79
Regex_Period_Md_Dollar 15.765239686947186 ns/iter 26.5266582236318 ns/iter 0.59
Regex_Caret_Slash_Period_Asterisk 4.062892766639022 ns/iter 5.496433141478578 ns/iter 0.74
Regex_Caret_Period_Range_Dollar 1.96240382066336 ns/iter 2.93084794709987 ns/iter 0.67
Regex_Nested_Backtrack 28.412128260153 ns/iter 33.18198096865304 ns/iter 0.86

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (windows/msvc)

Details
Benchmark suite Current: 824a204 Previous: 8a53d99 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.418131071428523 ns/iter 5.1505525053081405 ns/iter 0.47
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.4267472071131566 ns/iter 5.097906999999964 ns/iter 0.48
Regex_Period_Asterisk 2.6974863815201298 ns/iter 5.243924000000106 ns/iter 0.51
Regex_Group_Period_Asterisk_Group 2.7666241059077437 ns/iter 5.073133035714201 ns/iter 0.55
Regex_Period_Plus 2.964228144675042 ns/iter 5.173435714285444 ns/iter 0.57
Regex_Period 2.7766839930564737 ns/iter 5.071492000000148 ns/iter 0.55
Regex_Caret_Period_Plus_Dollar 2.768295176099762 ns/iter 5.255242857142406 ns/iter 0.53
Regex_Caret_Group_Period_Plus_Group_Dollar 2.6261710021192903 ns/iter 5.202916999999729 ns/iter 0.50
Regex_Caret_Period_Asterisk_Dollar 2.5782378325196302 ns/iter 5.054986999999755 ns/iter 0.51
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.752033613614441 ns/iter 5.216795000000047 ns/iter 0.53
Regex_Caret_X_Hyphen 5.883046428571959 ns/iter 8.278641927327609 ns/iter 0.71
Regex_Period_Md_Dollar 31.452575892854743 ns/iter 48.39751447316166 ns/iter 0.65
Regex_Caret_Slash_Period_Asterisk 5.616837000000032 ns/iter 7.874864955357275 ns/iter 0.71
Regex_Caret_Period_Range_Dollar 3.2339391013680636 ns/iter 5.74666339285709 ns/iter 0.56
Regex_Nested_Backtrack 45.08652499999499 ns/iter 59.906630000000405 ns/iter 0.75
JSON_Array_Of_Objects_Unique 468.8446582242285 ns/iter 621.0286607142734 ns/iter 0.75
JSON_Parse_1 8097.614955357356 ns/iter 10117.446797112516 ns/iter 0.80
JSON_Parse_Real 11855.817857143134 ns/iter 16884.914184693152 ns/iter 0.70
JSON_Parse_Decimal 9066.22872219326 ns/iter 11934.675000000132 ns/iter 0.76
JSON_Parse_Schema_ISO_Language 8010750.00000032 ns/iter 7446867.85714269 ns/iter 1.08
JSON_Parse_Integer 4588.586446405009 ns/iter 6207.547321428665 ns/iter 0.74
JSON_Parse_String_NonSSO_Plain 7025.923214284952 ns/iter 8179.886160714236 ns/iter 0.86
JSON_Parse_String_SSO_Plain 2906.5462917205737 ns/iter 3693.7807714225937 ns/iter 0.79
JSON_Parse_String_Escape_Heavy 22960.421200656114 ns/iter 22632.58437499971 ns/iter 1.01
JSON_Parse_Object_Short_Keys 9062.87784429411 ns/iter 13309.13214285699 ns/iter 0.68
JSON_Parse_Object_Scalar_Properties 4854.85803571452 ns/iter 6926.1964285714275 ns/iter 0.70
JSON_Parse_Object_Array_Properties 8712.306641487921 ns/iter 11605.589062499532 ns/iter 0.75
JSON_Parse_Object_Object_Properties 8908.283445162951 ns/iter 11734.998214285904 ns/iter 0.76
JSON_Parse_Nested_Containers 66067.00892856818 ns/iter 79305.38368822234 ns/iter 0.83
JSON_From_String_Copy 50.25731000000633 ns/iter 64.43752678571002 ns/iter 0.78
JSON_From_String_Temporary 53.88705999999956 ns/iter 58.12455999999883 ns/iter 0.93
JSON_Number_To_Double 87.17042021560508 ns/iter 121.68535714284953 ns/iter 0.72
JSON_Object_At_Last_Key/8 7.105246651786245 ns/iter 7.551476562499865 ns/iter 0.94
JSON_Object_At_Last_Key/32 21.332501178558207 ns/iter 23.667535450139578 ns/iter 0.90
JSON_Object_At_Last_Key/128 94.86180380080533 ns/iter 89.87293795209935 ns/iter 1.06
JSON_Object_At_Last_Key/512 326.29884785917477 ns/iter 430.3493306349492 ns/iter 0.76
JSON_Fast_Hash_Helm_Chart_Lock 65.21683928571268 ns/iter 102.01434375000319 ns/iter 0.64
JSON_Equality_Helm_Chart_Lock 206.44649999997708 ns/iter 212.2081021335619 ns/iter 0.97
JSON_Divisible_By_Decimal 271.8566396492389 ns/iter 306.1270327983089 ns/iter 0.89
JSON_String_Equal/10 8.480521205357203 ns/iter 10.548682812499877 ns/iter 0.80
JSON_String_Equal/100 11.220009375000117 ns/iter 11.691353571427905 ns/iter 0.96
JSON_String_Equal_Small_By_Perfect_Hash/10 1.4627995305969563 ns/iter 2.576291785714448 ns/iter 0.57
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 9.529134332458787 ns/iter 14.21046154370383 ns/iter 0.67
JSON_String_Fast_Hash/10 3.121377674391098 ns/iter 6.766374107143187 ns/iter 0.46
JSON_String_Fast_Hash/100 3.1408433035713705 ns/iter 6.764079241071538 ns/iter 0.46
JSON_String_Key_Hash/10 2.688090086885486 ns/iter 5.3431560000001355 ns/iter 0.50
JSON_String_Key_Hash/100 7.788559151786144 ns/iter 11.92194464285734 ns/iter 0.65
JSON_Object_Defines_Miss_Same_Length 4.428375078412133 ns/iter 4.151414784198993 ns/iter 1.07
JSON_Object_Defines_Miss_Too_Small 3.8387851562499926 ns/iter 4.4075287391777636 ns/iter 0.87
JSON_Object_Defines_Miss_Too_Large 4.465374676536059 ns/iter 4.180785156249835 ns/iter 1.07
Pointer_Object_Traverse 47.11100892857343 ns/iter 70.46104464285868 ns/iter 0.67
Pointer_Object_Try_Traverse 52.67419999998992 ns/iter 71.93698660714303 ns/iter 0.73
Pointer_Push_Back_Pointer_To_Weak_Pointer 189.1691954615112 ns/iter 204.10266053113045 ns/iter 0.93
Pointer_Walker_Schema_ISO_Language 10738106.250000712 ns/iter 10167415.624999342 ns/iter 1.06
Pointer_Maybe_Tracked_Deeply_Nested/0 2130681.7857139646 ns/iter 2344558.8628762085 ns/iter 0.91
Pointer_Maybe_Tracked_Deeply_Nested/1 3877116.7597764484 ns/iter 3707593.0481283735 ns/iter 1.05
Pointer_Position_Tracker_Get_Deeply_Nested 540.0245535713768 ns/iter 536.4956964625951 ns/iter 1.01
Schema_Tracker_ISO_Language 10783221.875000138 ns/iter 10343682.66666661 ns/iter 1.04
Schema_Tracker_ISO_Language_To_JSON 56137579.99999507 ns/iter 62031063.63636318 ns/iter 0.90
Schema_Frame_WoT_References 4979233.00000025 ns/iter 5580140.178571367 ns/iter 0.89
Schema_Frame_OMC_References 22588146.874998216 ns/iter 22604213.333333213 ns/iter 1.00
Schema_Frame_OMC_Pointers 43649676.47058272 ns/iter 44123052.9411782 ns/iter 0.99
Schema_Frame_OMC_Locations 19583675.675676204 ns/iter 19871876.47058791 ns/iter 0.99
Schema_Frame_ISO_Language_Locations 75513199.99999708 ns/iter 77073022.22221795 ns/iter 0.98
Schema_Frame_ISO_Language_Root 2260.3196871432287 ns/iter 2169.6331250000258 ns/iter 1.04
Schema_Frame_KrakenD_References 38064621.05263252 ns/iter 38366472.22222053 ns/iter 0.99
Schema_Frame_KrakenD_Reachable 189855350.00001618 ns/iter 254989566.66664675 ns/iter 0.74
Schema_Frame_ISO_Language_Locations_To_JSON 152458049.99997857 ns/iter 159626425.00001323 ns/iter 0.96
Schema_Frame_Many_Resources_References 596327200.0000188 ns/iter 699137300.000018 ns/iter 0.85
Schema_Frame_Deeply_Nested_References 18257083.33333548 ns/iter 21336391.999998342 ns/iter 0.86
JSONPath_Descendant_Filter_Nested 1914.9764419430294 ns/iter 2391.2273535408526 ns/iter 0.80
URITemplateRouter_Create 43656.900569654965 ns/iter 42835.7982281714 ns/iter 1.02
URITemplateRouter_Match 257.7157142857394 ns/iter 235.11117911706233 ns/iter 1.10
URITemplateRouter_Match_BasePath 318.55968667144583 ns/iter 264.3792069473524 ns/iter 1.20
URITemplateRouterView_Restore 27619.037680721747 ns/iter 34130.61922842633 ns/iter 0.81
URITemplateRouterView_Match 178.48556998785887 ns/iter 179.39562362024216 ns/iter 0.99
URITemplateRouterView_Match_BasePath 194.76355310390636 ns/iter 202.0421316052578 ns/iter 0.96
URITemplateRouterView_Arguments 454.1928939661934 ns/iter 554.2037500000215 ns/iter 0.82
JSONL_Parse_Large 28393253.84615257 ns/iter 32547372.727272905 ns/iter 0.87
JSONL_Parse_Large_GZIP 26546275.99999912 ns/iter 31495754.545455217 ns/iter 0.84
JSONLD_Catalog_Annotation_List_Populate 2970966.9491526876 ns/iter 2999284.3220339883 ns/iter 0.99
JSONLD_Catalog_Materialize 8257672.222221876 ns/iter 7778006.666666847 ns/iter 1.06
HTML_Build_Table_100000 94369614.28571068 ns/iter 92650942.85714374 ns/iter 1.02
HTML_Render_Table_100000 12069531.250000764 ns/iter 7806663.333333417 ns/iter 1.55
GZIP_Compress_ISO_Language_Set_3_Locations 35861439.99999649 ns/iter 37782257.89473685 ns/iter 0.95
GZIP_Decompress_ISO_Language_Set_3_Locations 10546589.062499834 ns/iter 9607353.333333323 ns/iter 1.10
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 12239466.07142677 ns/iter 11992170.31249944 ns/iter 1.02
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 15985236.58536556 ns/iter 14499139.999999216 ns/iter 1.10
GZIP_Compress_ISO_Language_Set_3_Schema 2436268.2274247915 ns/iter 2310558.5284280735 ns/iter 1.05
GZIP_Decompress_ISO_Language_Set_3_Schema 737178.0133928395 ns/iter 656880.3571428512 ns/iter 1.12
JOSE_VerifySignature_RS256 20400.177006559235 ns/iter 21455.06645000372 ns/iter 0.95
JOSE_VerifySignature_ES512 1190662.5000000708 ns/iter 1374777.5100401454 ns/iter 0.87
CRYPTO_CRC32_Large_JSONL 48384.65820818313 ns/iter 103393.93749999814 ns/iter 0.47

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (macos/llvm)

Details
Benchmark suite Current: 824a204 Previous: 5bffbb3 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.6127911492543254 ns/iter 2.0421361249254413 ns/iter 1.28
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.337584544203449 ns/iter 2.089879276156218 ns/iter 1.12
Regex_Period_Asterisk 2.396516487541704 ns/iter 2.111575724880253 ns/iter 1.13
Regex_Group_Period_Asterisk_Group 2.288663139356345 ns/iter 2.034158291384116 ns/iter 1.13
Regex_Period_Plus 3.3511664859714188 ns/iter 2.4310404812832984 ns/iter 1.38
Regex_Period 2.903748391153817 ns/iter 2.360852661683114 ns/iter 1.23
Regex_Caret_Period_Plus_Dollar 2.7048022883070986 ns/iter 2.5333197482816803 ns/iter 1.07
Regex_Caret_Group_Period_Plus_Group_Dollar 3.0201135901619094 ns/iter 2.827605188915669 ns/iter 1.07
Regex_Caret_Period_Asterisk_Dollar 2.6680540905700982 ns/iter 2.196829674053169 ns/iter 1.21
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.9188504520712355 ns/iter 2.5260335252767936 ns/iter 1.16
Regex_Caret_X_Hyphen 7.538352749165505 ns/iter 7.578146568648614 ns/iter 0.99
Regex_Period_Md_Dollar 31.660362009036188 ns/iter 25.48467243154449 ns/iter 1.24
Regex_Caret_Slash_Period_Asterisk 8.279563528899839 ns/iter 6.6128608045985775 ns/iter 1.25
Regex_Caret_Period_Range_Dollar 3.4358190642598614 ns/iter 2.4384942705145196 ns/iter 1.41
Regex_Nested_Backtrack 38.46467458200986 ns/iter 35.231985077258805 ns/iter 1.09
JSON_Array_Of_Objects_Unique 470.0351239527603 ns/iter 483.3497272927505 ns/iter 0.97
JSON_Parse_1 4780.75684613504 ns/iter 4647.721896601699 ns/iter 1.03
JSON_Parse_Real 8045.473168091454 ns/iter 7323.020515300921 ns/iter 1.10
JSON_Parse_Decimal 8773.734523586501 ns/iter 7686.01565855602 ns/iter 1.14
JSON_Parse_Schema_ISO_Language 3045590.876543264 ns/iter 3377981.561946608 ns/iter 0.90
JSON_Parse_Integer 4816.117283873772 ns/iter 6338.849754837888 ns/iter 0.76
JSON_Parse_String_NonSSO_Plain 3962.9896383462997 ns/iter 4589.973997330007 ns/iter 0.86
JSON_Parse_String_SSO_Plain 2418.941219392384 ns/iter 2279.137233569705 ns/iter 1.06
JSON_Parse_String_Escape_Heavy 23921.264367813503 ns/iter 21568.711088502812 ns/iter 1.11
JSON_Parse_Object_Short_Keys 8034.25059106318 ns/iter 7479.379220409234 ns/iter 1.07
JSON_Parse_Object_Scalar_Properties 4256.653063941249 ns/iter 3363.066535128865 ns/iter 1.27
JSON_Parse_Object_Array_Properties 5601.887909999732 ns/iter 3998.6331426636457 ns/iter 1.40
JSON_Parse_Object_Object_Properties 5855.644450349015 ns/iter 4051.6219984502727 ns/iter 1.45
JSON_Parse_Nested_Containers 37770.841141519806 ns/iter 30978.404577264686 ns/iter 1.22
JSON_From_String_Copy 15.097230484642488 ns/iter 13.534766884325878 ns/iter 1.12
JSON_From_String_Temporary 11.659371722104467 ns/iter 7.4451545517609174 ns/iter 1.57
JSON_Number_To_Double 47.699268312908636 ns/iter 37.12301803551041 ns/iter 1.28
JSON_Object_At_Last_Key/8 6.253312792423443 ns/iter 5.955758925218632 ns/iter 1.05
JSON_Object_At_Last_Key/32 16.287155623700894 ns/iter 17.30855859891771 ns/iter 0.94
JSON_Object_At_Last_Key/128 84.62515494997515 ns/iter 68.04436879462388 ns/iter 1.24
JSON_Object_At_Last_Key/512 256.41276354541486 ns/iter 254.82551658083446 ns/iter 1.01
JSON_Fast_Hash_Helm_Chart_Lock 79.54270315440768 ns/iter 75.40912593681868 ns/iter 1.05
JSON_Equality_Helm_Chart_Lock 233.63623462526377 ns/iter 208.95540461291557 ns/iter 1.12
JSON_Divisible_By_Decimal 263.49458084537423 ns/iter 235.83192162413394 ns/iter 1.12
JSON_String_Equal/10 9.129908282524008 ns/iter 8.361572076597634 ns/iter 1.09
JSON_String_Equal/100 10.314408522039937 ns/iter 8.728191569044409 ns/iter 1.18
JSON_String_Equal_Small_By_Perfect_Hash/10 0.5102692637359145 ns/iter 0.40306074647841794 ns/iter 1.27
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 5.524773760339595 ns/iter 4.065974423102809 ns/iter 1.36
JSON_String_Fast_Hash/10 3.514263409491482 ns/iter 2.795881093565554 ns/iter 1.26
JSON_String_Fast_Hash/100 3.2462749706624683 ns/iter 2.956851607142082 ns/iter 1.10
JSON_String_Key_Hash/10 2.4479065322575533 ns/iter 2.1293826472878106 ns/iter 1.15
JSON_String_Key_Hash/100 2.9315776678860423 ns/iter 2.6245616127750013 ns/iter 1.12
JSON_Object_Defines_Miss_Same_Length 3.7295971639516208 ns/iter 3.2395820188797533 ns/iter 1.15
JSON_Object_Defines_Miss_Too_Small 3.7933767305838746 ns/iter 3.4134431516202564 ns/iter 1.11
JSON_Object_Defines_Miss_Too_Large 3.239457490854049 ns/iter 3.153323206058429 ns/iter 1.03
Pointer_Object_Traverse 26.689391911098895 ns/iter 23.339539238042324 ns/iter 1.14
Pointer_Object_Try_Traverse 53.875754431155336 ns/iter 40.42126193478165 ns/iter 1.33
Pointer_Push_Back_Pointer_To_Weak_Pointer 205.35303615261046 ns/iter 152.71922247951738 ns/iter 1.34
Pointer_Walker_Schema_ISO_Language 2026156.223843989 ns/iter 1778517.0731707604 ns/iter 1.14
Pointer_Maybe_Tracked_Deeply_Nested/0 1416210.574789606 ns/iter 934336.2532187408 ns/iter 1.52
Pointer_Maybe_Tracked_Deeply_Nested/1 1934797.3130844987 ns/iter 1259648.6730769032 ns/iter 1.54
Pointer_Position_Tracker_Get_Deeply_Nested 514.8577550543854 ns/iter 490.0584985099072 ns/iter 1.05
Schema_Tracker_ISO_Language 4949911.764705415 ns/iter 3153527.2606389453 ns/iter 1.57
Schema_Tracker_ISO_Language_To_JSON 23423122.756756473 ns/iter 12450410.807017313 ns/iter 1.88
Schema_Frame_WoT_References 3472743.25238015 ns/iter 2468263.0490562315 ns/iter 1.41
Schema_Frame_OMC_References 15626734.586955694 ns/iter 15876931.884616414 ns/iter 0.98
Schema_Frame_OMC_Pointers 30084851.679994244 ns/iter 30126839.06896702 ns/iter 1.00
Schema_Frame_OMC_Locations 14297087.264152788 ns/iter 11619460.130433531 ns/iter 1.23
Schema_Frame_ISO_Language_Locations 34085630.68181923 ns/iter 32657744.047626346 ns/iter 1.04
Schema_Frame_ISO_Language_Root 176.87153466325015 ns/iter 145.75882892304142 ns/iter 1.21
Schema_Frame_KrakenD_References 22109436.294118386 ns/iter 19274928.911767453 ns/iter 1.15
Schema_Frame_KrakenD_Reachable 225474402.33332357 ns/iter 203517344.00009036 ns/iter 1.11
Schema_Frame_ISO_Language_Locations_To_JSON 27854366.071429532 ns/iter 30109740.384616017 ns/iter 0.93
Schema_Frame_Many_Resources_References 149561114.74998578 ns/iter 189180971.99995527 ns/iter 0.79
Schema_Frame_Deeply_Nested_References 17520981.48889066 ns/iter 15262773.365853585 ns/iter 1.15
JSONPath_Descendant_Filter_Nested 1784.868272974137 ns/iter 1454.405509762566 ns/iter 1.23
URITemplateRouter_Create 27191.990302763843 ns/iter 20260.132072477045 ns/iter 1.34
URITemplateRouter_Match 259.4449885051366 ns/iter 215.43584292658994 ns/iter 1.20
URITemplateRouter_Match_BasePath 296.43661494906434 ns/iter 231.5818257160856 ns/iter 1.28
URITemplateRouterView_Restore 18170.208152645242 ns/iter 12586.052030759864 ns/iter 1.44
URITemplateRouterView_Match 199.55266671772327 ns/iter 161.64377427086964 ns/iter 1.23
URITemplateRouterView_Match_BasePath 202.3309278459024 ns/iter 176.90263108547143 ns/iter 1.14
URITemplateRouterView_Arguments 673.0882640111782 ns/iter 896.6953020990101 ns/iter 0.75
JSONL_Parse_Large 9328286.11111189 ns/iter 10378904.757141884 ns/iter 0.90
JSONL_Parse_Large_GZIP 9300198.275863212 ns/iter 11101229.161289256 ns/iter 0.84
JSONLD_Catalog_Annotation_List_Populate 718323.3666668743 ns/iter 1778897.6190475961 ns/iter 0.40
JSONLD_Catalog_Materialize 4108843.151832758 ns/iter 3293019.2819150006 ns/iter 1.25
HTML_Build_Table_100000 69671816.00000079 ns/iter 46758197.20000618 ns/iter 1.49
HTML_Render_Table_100000 2376911.7480319114 ns/iter 2054029.0917157626 ns/iter 1.16
GZIP_Compress_ISO_Language_Set_3_Locations 43947614.56249796 ns/iter 32361996.04761428 ns/iter 1.36
GZIP_Decompress_ISO_Language_Set_3_Locations 4211599.153284186 ns/iter 3462806.216931606 ns/iter 1.22
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 5529391.5925934315 ns/iter 5110880.167883169 ns/iter 1.08
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 7928834.80530932 ns/iter 6231360.360360512 ns/iter 1.27
GZIP_Compress_ISO_Language_Set_3_Schema 2681516.35555535 ns/iter 2120909.5518292165 ns/iter 1.26
GZIP_Decompress_ISO_Language_Set_3_Schema 425421.9814241028 ns/iter 359615.49566887866 ns/iter 1.18
JOSE_VerifySignature_RS256 32044.28620142707 ns/iter 25738.8784265626 ns/iter 1.24
JOSE_VerifySignature_ES512 1470193.2900607062 ns/iter 1320944.6239871269 ns/iter 1.11
CRYPTO_CRC32_Large_JSONL 29914.554329296257 ns/iter 23952.691699243624 ns/iter 1.25

This comment was automatically generated by workflow using github-action-benchmark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant