Skip to content

Misc HKDF follow-ups - #2745

Merged
jviotti merged 1 commit into
mainfrom
hkdf-followups
Aug 18, 2026
Merged

Misc HKDF follow-ups#2745
jviotti merged 1 commit into
mainfrom
hkdf-followups

Conversation

@jviotti

@jviotti jviotti commented Aug 18, 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 Aug 18, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: This PR hardens HKDF extraction and cleanup paths across crypto backends.

  • Turns a refused public HKDF extraction into a `runtime_error` instead of returning a zero-filled pseudorandom key.
  • Adds RAII cleanup for fixed-size HKDF digest, block, and intermediate-key buffers.
  • Wipes temporary HMAC digest values after each HKDF loop iteration.
  • Uses scoped cleanup for the expansion message so exception unwinding clears live secret bytes.
Technical Notes: The change preserves provider `bool` internals while making the public extraction API fail explicitly when no valid PRK is available.

🤖 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. 1 suggestion posted.

Fix All in Augment

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

Comment thread src/core/crypto/include/sourcemeta/core/crypto_hkdf.h

@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 a8399ba into main Aug 18, 2026
12 of 13 checks passed
@jviotti
jviotti deleted the hkdf-followups branch August 18, 2026 16:39

@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: b5166d1 Previous: 267b6bd Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.102826983860156 ns/iter 2.544048977838329 ns/iter 0.83
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.0580198734507946 ns/iter 2.82630916820059 ns/iter 0.73
Regex_Period_Asterisk 2.2088659932235095 ns/iter 2.909154205630111 ns/iter 0.76
Regex_Group_Period_Asterisk_Group 2.4685666926661334 ns/iter 2.9020166336229556 ns/iter 0.85
Regex_Period_Plus 2.5546561688462983 ns/iter 3.0622801612520907 ns/iter 0.83
Regex_Period 2.4322552523428973 ns/iter 3.6647564469917038 ns/iter 0.66
Regex_Caret_Period_Plus_Dollar 5.238433504219262 ns/iter 3.7318784017024234 ns/iter 1.40
Regex_Caret_Group_Period_Plus_Group_Dollar 2.2162707730337945 ns/iter 3.6018980845429427 ns/iter 0.62
Regex_Caret_Period_Asterisk_Dollar 2.0014325336108025 ns/iter 2.921729507768674 ns/iter 0.69
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.8329514667444848 ns/iter 3.7207268409736405 ns/iter 0.49
Regex_Caret_X_Hyphen 6.62651240595885 ns/iter 9.615856521499362 ns/iter 0.69
Regex_Period_Md_Dollar 18.189730617725143 ns/iter 33.9329181613443 ns/iter 0.54
Regex_Caret_Slash_Period_Asterisk 4.45711617533818 ns/iter 7.588361126388092 ns/iter 0.59
Regex_Caret_Period_Range_Dollar 2.0243568688235185 ns/iter 3.4577593733511054 ns/iter 0.59
Regex_Nested_Backtrack 27.25090955966499 ns/iter 52.39105409999638 ns/iter 0.52
JSON_Array_Of_Objects_Unique 448.84357515498164 ns/iter 590.0014988453523 ns/iter 0.76
JSON_Parse_1 3530.3659683553988 ns/iter 5270.829495977669 ns/iter 0.67
JSON_Parse_Real 5670.445159487226 ns/iter 8953.902599538951 ns/iter 0.63
JSON_Parse_Decimal 6056.0630461767005 ns/iter 9943.864885455328 ns/iter 0.61
JSON_Parse_Schema_ISO_Language 2376202.1891021356 ns/iter 3499304.43718592 ns/iter 0.68
JSON_Parse_Integer 3288.238969133529 ns/iter 5319.127909999679 ns/iter 0.62
JSON_Parse_String_NonSSO_Plain 3099.3426547205145 ns/iter 4648.769304329004 ns/iter 0.67
JSON_Parse_String_SSO_Plain 1727.0584993761838 ns/iter 3324.228214963612 ns/iter 0.52
JSON_Parse_String_Escape_Heavy 15623.968549602234 ns/iter 26088.211769675017 ns/iter 0.60
JSON_Parse_Object_Short_Keys 5154.292500001247 ns/iter 9925.651224943682 ns/iter 0.52
JSON_Parse_Object_Scalar_Properties 3230.023643365353 ns/iter 5126.691250000022 ns/iter 0.63
JSON_Parse_Object_Array_Properties 3192.574343275889 ns/iter 7270.546805381154 ns/iter 0.44
JSON_Parse_Object_Object_Properties 4452.136801839568 ns/iter 7061.880224307738 ns/iter 0.63
JSON_Parse_Nested_Containers 28763.772943516502 ns/iter 47414.604741600124 ns/iter 0.61
JSON_From_String_Copy 11.149783506758473 ns/iter 17.084420762922605 ns/iter 0.65
JSON_From_String_Temporary 6.486571703681717 ns/iter 10.52215713158466 ns/iter 0.62
JSON_Number_To_Double 34.1830787169561 ns/iter 44.06337168996957 ns/iter 0.78
JSON_Object_At_Last_Key/8 4.252373206975289 ns/iter 5.491397499999949 ns/iter 0.77
JSON_Object_At_Last_Key/32 12.635897913673997 ns/iter 16.341017142385283 ns/iter 0.77
JSON_Object_At_Last_Key/128 57.095156199576245 ns/iter 89.00854132202427 ns/iter 0.64
JSON_Object_At_Last_Key/512 203.262822308629 ns/iter 246.77119627703632 ns/iter 0.82
JSON_Fast_Hash_Helm_Chart_Lock 58.31328075762206 ns/iter 67.37990264375915 ns/iter 0.87
JSON_Equality_Helm_Chart_Lock 148.3192405803367 ns/iter 182.49592492076388 ns/iter 0.81
JSON_Divisible_By_Decimal 192.31162494226444 ns/iter 242.82645044725518 ns/iter 0.79
JSON_String_Equal/10 7.819099480816543 ns/iter 10.680752743881866 ns/iter 0.73
JSON_String_Equal/100 8.32647762596115 ns/iter 10.606739131504819 ns/iter 0.79
JSON_String_Equal_Small_By_Perfect_Hash/10 0.3565047342732784 ns/iter 0.4099644830774177 ns/iter 0.87
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 3.381070352358261 ns/iter 5.225691341885029 ns/iter 0.65
JSON_String_Fast_Hash/10 2.441037700854557 ns/iter 3.2076825927433745 ns/iter 0.76
JSON_String_Fast_Hash/100 2.1426948871554736 ns/iter 2.8849052489480527 ns/iter 0.74
JSON_String_Key_Hash/10 1.7567765816121792 ns/iter 1.974198722798381 ns/iter 0.89
JSON_String_Key_Hash/100 2.29248509606009 ns/iter 2.37461035430759 ns/iter 0.97
JSON_Object_Defines_Miss_Same_Length 2.963515188096149 ns/iter 3.014779088634347 ns/iter 0.98
JSON_Object_Defines_Miss_Too_Small 2.832813380995282 ns/iter 3.2725426277171596 ns/iter 0.87
JSON_Object_Defines_Miss_Too_Large 2.792286944194051 ns/iter 3.4625734859997883 ns/iter 0.81
Pointer_Object_Traverse 20.414852122573766 ns/iter 23.952789573239716 ns/iter 0.85
Pointer_Object_Try_Traverse 23.82343787160044 ns/iter 27.99471370747489 ns/iter 0.85
Pointer_Push_Back_Pointer_To_Weak_Pointer 143.39577544065511 ns/iter 165.29090741117346 ns/iter 0.87
Pointer_Walker_Schema_ISO_Language 1216289.8461536162 ns/iter 1581315.2085202355 ns/iter 0.77
Pointer_Maybe_Tracked_Deeply_Nested/0 822108.3325581679 ns/iter 945646.6771241016 ns/iter 0.87
Pointer_Maybe_Tracked_Deeply_Nested/1 1015188.6379310848 ns/iter 1279610.8870968975 ns/iter 0.79
Pointer_Position_Tracker_Get_Deeply_Nested 356.48625590195627 ns/iter 420.12458328585546 ns/iter 0.85
JSONPath_Descendant_Filter_Nested 1070.5994213826025 ns/iter 1314.1478749164316 ns/iter 0.81
URITemplateRouter_Create 16915.367714611457 ns/iter 20652.21579405873 ns/iter 0.82
URITemplateRouter_Match 175.58021536219456 ns/iter 250.53899574054955 ns/iter 0.70
URITemplateRouter_Match_BasePath 194.66759886034964 ns/iter 242.29801270745418 ns/iter 0.80
URITemplateRouterView_Restore 10186.599479145814 ns/iter 15284.289152561769 ns/iter 0.67
URITemplateRouterView_Match 128.5559317529975 ns/iter 151.13324111979924 ns/iter 0.85
URITemplateRouterView_Match_BasePath 151.80408497263895 ns/iter 162.2999884562255 ns/iter 0.94
URITemplateRouterView_Arguments 627.489111376057 ns/iter 582.8804682534465 ns/iter 1.08
JSONL_Parse_Large 6973154.06976983 ns/iter 7411309.578946913 ns/iter 0.94
JSONL_Parse_Large_GZIP 6875843.85046631 ns/iter 8236356.944444701 ns/iter 0.83
JSONLD_Catalog_Annotation_List_Populate 564796.3802042516 ns/iter 585472.7120677043 ns/iter 0.96
JSONLD_Catalog_Materialize 2723109.4186991476 ns/iter 2320319.982394446 ns/iter 1.17
HTML_Build_Table_100000 39466359.374998204 ns/iter 41086574.11111633 ns/iter 0.96
HTML_Render_Table_100000 2004716.1442305467 ns/iter 1830629.8236842921 ns/iter 1.10
GZIP_Compress_ISO_Language_Set_3_Locations 28323096.153844044 ns/iter 28030206.680000447 ns/iter 1.01
GZIP_Decompress_ISO_Language_Set_3_Locations 3875524.732620761 ns/iter 5024030.555555075 ns/iter 0.77
GZIP_Compress_ISO_Language_Set_3_Schema 1617241.3261804264 ns/iter 1704786.7378191757 ns/iter 0.95
GZIP_Decompress_ISO_Language_Set_3_Schema 291013.74537628633 ns/iter 299940.11478336423 ns/iter 0.97
JOSE_VerifySignature_RS256 25785.583817791547 ns/iter 25923.756266610697 ns/iter 0.99
JOSE_VerifySignature_ES512 1182107.400667768 ns/iter 1103599.0368509525 ns/iter 1.07

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/llvm)

Details
Benchmark suite Current: b5166d1 Previous: 267b6bd Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.2190988038488415 ns/iter 2.1980785360463595 ns/iter 1.01
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.1793281227582635 ns/iter 2.191970083605217 ns/iter 0.99
Regex_Period_Asterisk 2.1799345552126352 ns/iter 2.192941343892925 ns/iter 0.99
Regex_Group_Period_Asterisk_Group 2.189938209045644 ns/iter 2.193838337119503 ns/iter 1.00
Regex_Period_Plus 2.8018873058505123 ns/iter 2.8013680150247584 ns/iter 1.00
Regex_Period 2.8027802321540434 ns/iter 2.802443876323966 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 2.801503437231705 ns/iter 2.7404753543934404 ns/iter 1.02
Regex_Caret_Group_Period_Plus_Group_Dollar 2.801988446034989 ns/iter 2.4914588891186003 ns/iter 1.12
Regex_Caret_Period_Asterisk_Dollar 3.4232346963430693 ns/iter 2.199494072335984 ns/iter 1.56
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.4327995014777892 ns/iter 2.1966186386331814 ns/iter 1.56
Regex_Caret_X_Hyphen 6.545976545828562 ns/iter 5.300742357379599 ns/iter 1.23
Regex_Period_Md_Dollar 29.334927153818768 ns/iter 28.73345409676685 ns/iter 1.02
Regex_Caret_Slash_Period_Asterisk 6.850764697728807 ns/iter 5.917365194850936 ns/iter 1.16
Regex_Caret_Period_Range_Dollar 3.1174998423512714 ns/iter 4.360665574554733 ns/iter 0.71
Regex_Nested_Backtrack 38.8150989352165 ns/iter 38.854167701953735 ns/iter 1.00
JSON_Array_Of_Objects_Unique 431.3838691024252 ns/iter 417.8868176417056 ns/iter 1.03
JSON_Parse_1 4666.119993600256 ns/iter 4727.240746753309 ns/iter 0.99
JSON_Parse_Real 5351.6115552435895 ns/iter 5338.758800003021 ns/iter 1.00
JSON_Parse_Decimal 7988.844578586832 ns/iter 7964.246871056145 ns/iter 1.00
JSON_Parse_Schema_ISO_Language 3354715.81990556 ns/iter 3336980.7203789344 ns/iter 1.01
JSON_Parse_Integer 3696.0963001626587 ns/iter 3693.1725908062763 ns/iter 1.00
JSON_Parse_String_NonSSO_Plain 3004.825646707539 ns/iter 3168.449882404188 ns/iter 0.95
JSON_Parse_String_SSO_Plain 2688.391662399356 ns/iter 2687.188623304001 ns/iter 1.00
JSON_Parse_String_Escape_Heavy 12240.971779508376 ns/iter 12819.82430535544 ns/iter 0.95
JSON_Parse_Object_Short_Keys 8476.172987940594 ns/iter 8297.238028620066 ns/iter 1.02
JSON_Parse_Object_Scalar_Properties 4347.897346615989 ns/iter 4221.248395067483 ns/iter 1.03
JSON_Parse_Object_Array_Properties 5709.877297420217 ns/iter 5639.778262164721 ns/iter 1.01
JSON_Parse_Object_Object_Properties 5808.299099816025 ns/iter 5461.617524275304 ns/iter 1.06
JSON_Parse_Nested_Containers 35709.19137658557 ns/iter 35956.7040553092 ns/iter 0.99
JSON_From_String_Copy 12.616754436086671 ns/iter 13.08089938017867 ns/iter 0.96
JSON_From_String_Temporary 10.512038599791415 ns/iter 11.771282391026954 ns/iter 0.89
JSON_Number_To_Double 23.09741521959172 ns/iter 22.317246235362074 ns/iter 1.03
JSON_Object_At_Last_Key/8 5.850876445602862 ns/iter 5.836275947199216 ns/iter 1.00
JSON_Object_At_Last_Key/32 21.753890096246828 ns/iter 21.823079811453386 ns/iter 1.00
JSON_Object_At_Last_Key/128 87.68292186728453 ns/iter 87.97669796187589 ns/iter 1.00
JSON_Object_At_Last_Key/512 396.85776376810895 ns/iter 397.6065261849928 ns/iter 1.00
JSON_Fast_Hash_Helm_Chart_Lock 59.793975903610864 ns/iter 62.138212489386405 ns/iter 0.96
JSON_Equality_Helm_Chart_Lock 176.80769003093462 ns/iter 181.56346867476742 ns/iter 0.97
JSON_Divisible_By_Decimal 247.87676696479983 ns/iter 248.75960426158667 ns/iter 1.00
JSON_String_Equal/10 5.927123680699448 ns/iter 5.923980378100058 ns/iter 1.00
JSON_String_Equal/100 6.550672936173308 ns/iter 6.554735152397237 ns/iter 1.00
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9387501947964154 ns/iter 0.9367057227660558 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 14.621673282321 ns/iter 10.278601601109957 ns/iter 1.42
JSON_String_Fast_Hash/10 2.491567536040569 ns/iter 2.5036625788949842 ns/iter 1.00
JSON_String_Fast_Hash/100 2.4904415740881354 ns/iter 2.497721680966305 ns/iter 1.00
JSON_String_Key_Hash/10 2.663837444949059 ns/iter 2.493975545228851 ns/iter 1.07
JSON_String_Key_Hash/100 9.024655054663178 ns/iter 6.540632402047682 ns/iter 1.38
JSON_Object_Defines_Miss_Same_Length 2.7377336579789566 ns/iter 2.750972161454043 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 2.7085151755731456 ns/iter 2.6429535992324795 ns/iter 1.02
JSON_Object_Defines_Miss_Too_Large 3.0885070473425174 ns/iter 3.190657847734039 ns/iter 0.97
Pointer_Object_Traverse 29.517115991723806 ns/iter 29.663217127070514 ns/iter 1.00
Pointer_Object_Try_Traverse 30.86846896802609 ns/iter 30.86233920094347 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 763.1522875930112 ns/iter 147.78619104843568 ns/iter 5.16
Pointer_Walker_Schema_ISO_Language 1616502.0528736326 ns/iter 1547629.1361607204 ns/iter 1.04
Pointer_Maybe_Tracked_Deeply_Nested/0 1237613.83978875 ns/iter 1234929.6071428333 ns/iter 1.00
Pointer_Maybe_Tracked_Deeply_Nested/1 1625272.6465117396 ns/iter 1612135.928898964 ns/iter 1.01
Pointer_Position_Tracker_Get_Deeply_Nested 627.5081980424491 ns/iter 635.165320251243 ns/iter 0.99
JSONPath_Descendant_Filter_Nested 1500.2327764968554 ns/iter 1502.624874105873 ns/iter 1.00
URITemplateRouter_Create 23682.09332530226 ns/iter 23879.6762331544 ns/iter 0.99
URITemplateRouter_Match 177.14029115665016 ns/iter 176.94550490936376 ns/iter 1.00
URITemplateRouter_Match_BasePath 202.76950187955356 ns/iter 209.4286244991312 ns/iter 0.97
URITemplateRouterView_Restore 8508.576472668388 ns/iter 8451.849561905181 ns/iter 1.01
URITemplateRouterView_Match 161.40892063611804 ns/iter 159.79012678915618 ns/iter 1.01
URITemplateRouterView_Match_BasePath 186.17965406138467 ns/iter 185.87045195016867 ns/iter 1.00
URITemplateRouterView_Arguments 448.3224915182305 ns/iter 444.27055824319524 ns/iter 1.01
JSONL_Parse_Large 9432874.135135585 ns/iter 9588816.794519842 ns/iter 0.98
JSONL_Parse_Large_GZIP 10957600.953124924 ns/iter 11041694.888887385 ns/iter 0.99
JSONLD_Catalog_Annotation_List_Populate 611804.950704203 ns/iter 604681.4563356835 ns/iter 1.01
JSONLD_Catalog_Materialize 3644014.4308513976 ns/iter 3561638.1421317006 ns/iter 1.02
HTML_Build_Table_100000 57618842.90909207 ns/iter 57632334.63636135 ns/iter 1.00
HTML_Render_Table_100000 1983575.0258620798 ns/iter 1984985.750708101 ns/iter 1.00
GZIP_Compress_ISO_Language_Set_3_Locations 33409221.714285713 ns/iter 33390676.190476496 ns/iter 1.00
GZIP_Decompress_ISO_Language_Set_3_Locations 4292662.152438674 ns/iter 4118643.4709300627 ns/iter 1.04
GZIP_Compress_ISO_Language_Set_3_Schema 1890518.9191372916 ns/iter 1887421.611859943 ns/iter 1.00
GZIP_Decompress_ISO_Language_Set_3_Schema 356795.29102956795 ns/iter 355874.2455515832 ns/iter 1.00
JOSE_VerifySignature_RS256 57959.07544979295 ns/iter 58069.9928087316 ns/iter 1.00
JOSE_VerifySignature_ES512 2380066.3605441228 ns/iter 2386887.0921498933 ns/iter 1.00

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: b5166d1 Previous: 267b6bd Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 5.122247635072234 ns/iter 5.24980400000004 ns/iter 0.98
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 5.019709000000603 ns/iter 5.418869000000086 ns/iter 0.93
Regex_Period_Asterisk 5.167630000000827 ns/iter 5.283493000001727 ns/iter 0.98
Regex_Group_Period_Asterisk_Group 5.0288710000018 ns/iter 5.178433035715508 ns/iter 0.97
Regex_Period_Plus 5.094234844887256 ns/iter 4.794600680342892 ns/iter 1.06
Regex_Period 5.1466340000001765 ns/iter 5.108976594599939 ns/iter 1.01
Regex_Caret_Period_Plus_Dollar 5.071844999999939 ns/iter 5.089347501135839 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 5.034064000001308 ns/iter 4.810506707167423 ns/iter 1.05
Regex_Caret_Period_Asterisk_Dollar 5.101019000001088 ns/iter 5.1630970000042 ns/iter 0.99
Regex_Caret_Group_Period_Asterisk_Group_Dollar 5.090967000001001 ns/iter 5.682875892858875 ns/iter 0.90
Regex_Caret_X_Hyphen 8.228349330359208 ns/iter 8.262893973213384 ns/iter 1.00
Regex_Period_Md_Dollar 44.753524600427994 ns/iter 60.06177678569559 ns/iter 0.75
Regex_Caret_Slash_Period_Asterisk 7.878838357683044 ns/iter 7.5782450554540715 ns/iter 1.04
Regex_Caret_Period_Range_Dollar 5.830972999999631 ns/iter 5.4071357142829255 ns/iter 1.08
Regex_Nested_Backtrack 58.76123214286671 ns/iter 77.15256696424636 ns/iter 0.76
JSON_Array_Of_Objects_Unique 641.9549107142026 ns/iter 650.3958928569936 ns/iter 0.99
JSON_Parse_1 9186.750505578384 ns/iter 9095.784598212984 ns/iter 1.01
JSON_Parse_Real 17976.6453271917 ns/iter 16443.287946421897 ns/iter 1.09
JSON_Parse_Decimal 11774.514062498298 ns/iter 11252.206249999119 ns/iter 1.05
JSON_Parse_Schema_ISO_Language 7528401.111110523 ns/iter 8052834.444444872 ns/iter 0.93
JSON_Parse_Integer 6257.757142857859 ns/iter 6136.252678572873 ns/iter 1.02
JSON_Parse_String_NonSSO_Plain 8570.05803571604 ns/iter 7822.00669642614 ns/iter 1.10
JSON_Parse_String_SSO_Plain 4117.081473213245 ns/iter 3676.845398490076 ns/iter 1.12
JSON_Parse_String_Escape_Heavy 22464.643749998457 ns/iter 21362.956250001727 ns/iter 1.05
JSON_Parse_Object_Short_Keys 13226.164168907391 ns/iter 13254.226785712879 ns/iter 1.00
JSON_Parse_Object_Scalar_Properties 6770.350446428454 ns/iter 7187.713999996959 ns/iter 0.94
JSON_Parse_Object_Array_Properties 11901.539285714436 ns/iter 12306.205357138619 ns/iter 0.97
JSON_Parse_Object_Object_Properties 12038.660937498946 ns/iter 12088.58392857337 ns/iter 1.00
JSON_Parse_Nested_Containers 80743.61607141509 ns/iter 86084.70982142283 ns/iter 0.94
JSON_From_String_Copy 65.35710714286682 ns/iter 70.46750892856478 ns/iter 0.93
JSON_From_String_Temporary 64.98606000000109 ns/iter 85.68780421032584 ns/iter 0.76
JSON_Number_To_Double 150.50934372727102 ns/iter 147.0869196428534 ns/iter 1.02
JSON_Object_At_Last_Key/8 7.970100446428319 ns/iter 7.748881696428051 ns/iter 1.03
JSON_Object_At_Last_Key/32 24.047751963749086 ns/iter 26.789440058977572 ns/iter 0.90
JSON_Object_At_Last_Key/128 90.4747057823641 ns/iter 98.74474112744976 ns/iter 0.92
JSON_Object_At_Last_Key/512 429.6220782890977 ns/iter 474.92892412624406 ns/iter 0.90
JSON_Fast_Hash_Helm_Chart_Lock 109.7100468749801 ns/iter 117.05703571424563 ns/iter 0.94
JSON_Equality_Helm_Chart_Lock 213.9359375000538 ns/iter 221.72896875005677 ns/iter 0.96
JSON_Divisible_By_Decimal 313.830089285716 ns/iter 405.3093390487427 ns/iter 0.77
JSON_String_Equal/10 10.63539374999678 ns/iter 10.282417187497117 ns/iter 1.03
JSON_String_Equal/100 11.849420312501024 ns/iter 12.02812427666571 ns/iter 0.99
JSON_String_Equal_Small_By_Perfect_Hash/10 2.5573532142849285 ns/iter 2.3180337499994152 ns/iter 1.10
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 14.492296140657965 ns/iter 16.712495535711827 ns/iter 0.87
JSON_String_Fast_Hash/10 6.751217857143388 ns/iter 6.774174999999819 ns/iter 1.00
JSON_String_Fast_Hash/100 6.842993303572647 ns/iter 7.310473214288445 ns/iter 0.94
JSON_String_Key_Hash/10 5.394539285713254 ns/iter 6.1167850000038015 ns/iter 0.88
JSON_String_Key_Hash/100 12.121855357142815 ns/iter 12.3577499448321 ns/iter 0.98
JSON_Object_Defines_Miss_Same_Length 4.82480224291224 ns/iter 4.688079787598334 ns/iter 1.03
JSON_Object_Defines_Miss_Too_Small 4.876593760884713 ns/iter 4.691265412257298 ns/iter 1.04
JSON_Object_Defines_Miss_Too_Large 4.94179017857326 ns/iter 5.233216000001448 ns/iter 0.94
Pointer_Object_Traverse 70.31244642856142 ns/iter 77.41045758926646 ns/iter 0.91
Pointer_Object_Try_Traverse 73.86475446427963 ns/iter 79.13913392859025 ns/iter 0.93
Pointer_Push_Back_Pointer_To_Weak_Pointer 192.57824057443722 ns/iter 191.7490081918884 ns/iter 1.00
Pointer_Walker_Schema_ISO_Language 10576303.124999242 ns/iter 14433819.642858582 ns/iter 0.73
Pointer_Maybe_Tracked_Deeply_Nested/0 2358016.785714361 ns/iter 2816027.118642986 ns/iter 0.84
Pointer_Maybe_Tracked_Deeply_Nested/1 3653126.73796782 ns/iter 4325593.60465242 ns/iter 0.84
Pointer_Position_Tracker_Get_Deeply_Nested 554.3787232993557 ns/iter 703.2725892859811 ns/iter 0.79
JSONPath_Descendant_Filter_Nested 2394.1831538135852 ns/iter 3228.7089285708653 ns/iter 0.74
URITemplateRouter_Create 41814.35784341821 ns/iter 47740.969704823845 ns/iter 0.88
URITemplateRouter_Match 237.08675000001733 ns/iter 266.9549374999747 ns/iter 0.89
URITemplateRouter_Match_BasePath 264.77121717730233 ns/iter 318.96790263249255 ns/iter 0.83
URITemplateRouterView_Restore 33275.31523929783 ns/iter 32320.457142873238 ns/iter 1.03
URITemplateRouterView_Match 181.30512333083948 ns/iter 213.64609019950734 ns/iter 0.85
URITemplateRouterView_Match_BasePath 209.1864437862998 ns/iter 240.91526379835736 ns/iter 0.87
URITemplateRouterView_Arguments 546.271299999944 ns/iter 720.3016071429147 ns/iter 0.76
JSONL_Parse_Large 32828176.19047559 ns/iter 39606685.00001247 ns/iter 0.83
JSONL_Parse_Large_GZIP 33782327.27272296 ns/iter 39126142.10524847 ns/iter 0.86
JSONLD_Catalog_Annotation_List_Populate 3118241.964285419 ns/iter 4028579.487180067 ns/iter 0.77
JSONLD_Catalog_Materialize 8015640.000000228 ns/iter 11079862.666665576 ns/iter 0.72
HTML_Build_Table_100000 92462622.22222868 ns/iter 114587071.42855929 ns/iter 0.81
HTML_Render_Table_100000 7936587.777776872 ns/iter 9117672.222222002 ns/iter 0.87
GZIP_Compress_ISO_Language_Set_3_Locations 35665144.99999584 ns/iter 46733826.31577433 ns/iter 0.76
GZIP_Decompress_ISO_Language_Set_3_Locations 9799190.666666012 ns/iter 12631398.43749883 ns/iter 0.78
GZIP_Compress_ISO_Language_Set_3_Schema 2073257.5000003807 ns/iter 2682885.542168538 ns/iter 0.77
GZIP_Decompress_ISO_Language_Set_3_Schema 612709.8214286823 ns/iter 786795.9821429135 ns/iter 0.78
JOSE_VerifySignature_RS256 21435.162499997772 ns/iter 29370.144306424714 ns/iter 0.73
JOSE_VerifySignature_ES512 1407176.7068271292 ns/iter 1894606.6666670218 ns/iter 0.74

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