Skip to content

JSONL streaming with GZIP support#2357

Merged
jviotti merged 2 commits intomainfrom
zlib-streaming
Apr 24, 2026
Merged

JSONL streaming with GZIP support#2357
jviotti merged 2 commits intomainfrom
zlib-streaming

Conversation

@jviotti
Copy link
Copy Markdown
Member

@jviotti jviotti commented Apr 24, 2026

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

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: 99eb1cb Previous: 369021e Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 3.53044792390119 ns/iter 3.159929158175407 ns/iter 1.12
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.5166073666006143 ns/iter 3.111151197703278 ns/iter 1.13
Regex_Period_Asterisk 3.516661686301965 ns/iter 3.1100858487633194 ns/iter 1.13
Regex_Group_Period_Asterisk_Group 3.5150091885048966 ns/iter 3.1115262858769657 ns/iter 1.13
Regex_Period_Plus 3.5159100568705908 ns/iter 3.1120961715811286 ns/iter 1.13
Regex_Period 3.5170413634773112 ns/iter 2.997916084837301 ns/iter 1.17
Regex_Caret_Period_Plus_Dollar 3.8698162749474525 ns/iter 2.9574849872783817 ns/iter 1.31
Regex_Caret_Group_Period_Plus_Group_Dollar 3.5178837361717674 ns/iter 3.113831045743917 ns/iter 1.13
Regex_Caret_Period_Asterisk_Dollar 3.5150816535175675 ns/iter 3.192006394011277 ns/iter 1.10
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.5148637308093766 ns/iter 3.1129774063309292 ns/iter 1.13
Regex_Caret_X_Hyphen 11.949375596835557 ns/iter 13.111414868956597 ns/iter 0.91
Regex_Period_Md_Dollar 26.46956171446937 ns/iter 27.77215157538162 ns/iter 0.95
Regex_Caret_Slash_Period_Asterisk 7.029622404406965 ns/iter 6.236585802561628 ns/iter 1.13
Regex_Caret_Period_Range_Dollar 3.51646984441903 ns/iter 3.130569234921221 ns/iter 1.12
Regex_Nested_Backtrack 47.879285049457266 ns/iter 49.21418299357817 ns/iter 0.97
JSON_Array_Of_Objects_Unique 458.9032748162759 ns/iter 411.7005052188679 ns/iter 1.11
JSON_Parse_1 5743.9356768035095 ns/iter 5996.911957950332 ns/iter 0.96
JSON_Parse_Real 10563.467122399943 ns/iter 10587.961016870542 ns/iter 1.00
JSON_Parse_Decimal 11705.769646070621 ns/iter 11478.137099030337 ns/iter 1.02
JSON_Parse_Schema_ISO_Language 3694686.234042665 ns/iter 3640790.640625132 ns/iter 1.01
JSON_Fast_Hash_Helm_Chart_Lock 72.79772433558854 ns/iter 61.62066692768023 ns/iter 1.18
JSON_Equality_Helm_Chart_Lock 160.44647743721657 ns/iter 171.85272147603422 ns/iter 0.93
JSON_Divisible_By_Decimal 251.2596896376347 ns/iter 245.6136471929037 ns/iter 1.02
JSON_String_Equal/10 5.6286383732272 ns/iter 6.552205238971528 ns/iter 0.86
JSON_String_Equal/100 6.33517509560991 ns/iter 7.293489045117755 ns/iter 0.87
JSON_String_Equal_Small_By_Perfect_Hash/10 1.0544426165688539 ns/iter 0.9406319827599886 ns/iter 1.12
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 12.337740737003948 ns/iter 14.622653415448859 ns/iter 0.84
JSON_String_Fast_Hash/10 2.8154965823955123 ns/iter 2.49063789246155 ns/iter 1.13
JSON_String_Fast_Hash/100 2.8155211737589108 ns/iter 2.4905301529823167 ns/iter 1.13
JSON_String_Key_Hash/10 2.46579611607716 ns/iter 2.663851207503123 ns/iter 0.93
JSON_String_Key_Hash/100 7.733772165583873 ns/iter 9.025349682752788 ns/iter 0.86
JSON_Object_Defines_Miss_Same_Length 4.220355034577176 ns/iter 3.756431217326507 ns/iter 1.12
JSON_Object_Defines_Miss_Too_Small 4.219498293580544 ns/iter 3.740622788147874 ns/iter 1.13
JSON_Object_Defines_Miss_Too_Large 4.220025072057573 ns/iter 3.7399452679970095 ns/iter 1.13
Pointer_Object_Traverse 27.22895199976708 ns/iter 25.22227294694752 ns/iter 1.08
Pointer_Object_Try_Traverse 29.71318894335384 ns/iter 28.313687675090243 ns/iter 1.05
Pointer_Push_Back_Pointer_To_Weak_Pointer 171.86846136896438 ns/iter 173.44182173655616 ns/iter 0.99
Pointer_Walker_Schema_ISO_Language 3161536.0178568 ns/iter 3035896.413043899 ns/iter 1.04
Pointer_Maybe_Tracked_Deeply_Nested/0 1424799.5030675048 ns/iter 1469640.2419999684 ns/iter 0.97
Pointer_Maybe_Tracked_Deeply_Nested/1 1768554.839694561 ns/iter 1779028.1125322194 ns/iter 0.99
Pointer_Position_Tracker_Get_Deeply_Nested 670.1421949529511 ns/iter 512.6628097514763 ns/iter 1.31
Schema_Frame_WoT_References 5290314.548871782 ns/iter 5193838.681483005 ns/iter 1.02
Schema_Frame_OMC_References 21889989.062497504 ns/iter 21336247.424242724 ns/iter 1.03
Schema_Frame_OMC_Locations 20304090.88571495 ns/iter 19671906.657140426 ns/iter 1.03
Schema_Frame_ISO_Language_Locations 102073196.16667594 ns/iter 100346492.5000041 ns/iter 1.02
Schema_Frame_KrakenD_References 41976919.76470624 ns/iter 41484373.58823203 ns/iter 1.01
Schema_Frame_KrakenD_Reachable 605376562.9999361 ns/iter 591216282.0002322 ns/iter 1.02
Schema_Iterator_ISO_Language 2309312.0066892505 ns/iter 2290079.0326798563 ns/iter 1.01
Schema_Frame_ISO_Language_Locations_To_JSON 109094884.33333081 ns/iter 109303731.79999152 ns/iter 1.00
Schema_Tracker_ISO_Language 4862397.33333349 ns/iter 4857580.726619542 ns/iter 1.00
Schema_Tracker_ISO_Language_To_JSON 18023697.00000159 ns/iter 19602339.27777861 ns/iter 0.92
Schema_Format_ISO_Language_To_JSON 108187483.71428098 ns/iter 106174931.66667676 ns/iter 1.02
Schema_Bundle_Meta_2020_12 1682351.7524019193 ns/iter 1680303.1414849092 ns/iter 1.00
Schema_Frame_Many_Resources_References 381545361.5000024 ns/iter 375089059.9999366 ns/iter 1.02
EditorSchema_ForEditor_EmbeddedResources 13937980.819998756 ns/iter 13850702.568619205 ns/iter 1.01
URITemplateRouter_Create 15344.13326831255 ns/iter 16354.6227504804 ns/iter 0.94
URITemplateRouter_Match 183.554438564004 ns/iter 184.20667824001424 ns/iter 1.00
URITemplateRouter_Match_BasePath 221.70558440650768 ns/iter 203.95580295226313 ns/iter 1.09
URITemplateRouterView_Restore 6343.125508856995 ns/iter 5157.170649296132 ns/iter 1.23
URITemplateRouterView_Match 144.13201927321353 ns/iter 143.8742169543575 ns/iter 1.00
URITemplateRouterView_Match_BasePath 164.89468606567016 ns/iter 161.82581076103511 ns/iter 1.02
URITemplateRouterView_Arguments 474.3000303109926 ns/iter 456.1896622116959 ns/iter 1.04
JSONL_Parse_Large 9974839.999999154 ns/iter 10798114.230769549 ns/iter 0.92
JSONL_Parse_Large_GZIP 11296911.516129995 ns/iter
HTML_Build_Table_100000 84021831.3749972 ns/iter 64103652.090910725 ns/iter 1.31
HTML_Render_Table_100000 4829372.652777251 ns/iter 5256556.187970275 ns/iter 0.92

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

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

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: 99eb1cb Previous: 369021e Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.467731039591651 ns/iter 1.8750354717990165 ns/iter 1.32
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.4634695966356954 ns/iter 2.109648467482408 ns/iter 1.17
Regex_Period_Asterisk 2.80321229748178 ns/iter 1.91105522173449 ns/iter 1.47
Regex_Group_Period_Asterisk_Group 2.3851751840626756 ns/iter 1.9654927079007996 ns/iter 1.21
Regex_Period_Plus 2.637710507519243 ns/iter 2.351882741493449 ns/iter 1.12
Regex_Period 3.142533822040287 ns/iter 2.7639168630528337 ns/iter 1.14
Regex_Caret_Period_Plus_Dollar 2.9200841983542003 ns/iter 2.7890199163660347 ns/iter 1.05
Regex_Caret_Group_Period_Plus_Group_Dollar 2.707183258887197 ns/iter 2.228184705927925 ns/iter 1.21
Regex_Caret_Period_Asterisk_Dollar 2.377751559040369 ns/iter 1.8321569727533733 ns/iter 1.30
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.422108162439469 ns/iter 1.8224416427667824 ns/iter 1.33
Regex_Caret_X_Hyphen 9.805320178767431 ns/iter 7.181695423416347 ns/iter 1.37
Regex_Period_Md_Dollar 34.744751843303 ns/iter 25.646531808548957 ns/iter 1.35
Regex_Caret_Slash_Period_Asterisk 6.019836613307836 ns/iter 5.431140930465563 ns/iter 1.11
Regex_Caret_Period_Range_Dollar 2.562903190092429 ns/iter 1.9899267353046253 ns/iter 1.29
Regex_Nested_Backtrack 35.751915850726185 ns/iter 30.061322710075203 ns/iter 1.19
JSON_Array_Of_Objects_Unique 428.3479623575053 ns/iter 401.77712272475696 ns/iter 1.07
JSON_Parse_1 5502.330409999559 ns/iter 4359.988413787713 ns/iter 1.26
JSON_Parse_Real 8510.807984464092 ns/iter 7182.181318746275 ns/iter 1.18
JSON_Parse_Decimal 11429.069214588279 ns/iter 13363.333788347834 ns/iter 0.86
JSON_Parse_Schema_ISO_Language 6166892.427272201 ns/iter 6413753.712871595 ns/iter 0.96
JSON_Fast_Hash_Helm_Chart_Lock 73.35733179524337 ns/iter 83.00204392380563 ns/iter 0.88
JSON_Equality_Helm_Chart_Lock 193.07124266895798 ns/iter 222.00636942091685 ns/iter 0.87
JSON_Divisible_By_Decimal 227.75013287921314 ns/iter 279.4770036298536 ns/iter 0.81
JSON_String_Equal/10 10.908958220836722 ns/iter 10.381842734306296 ns/iter 1.05
JSON_String_Equal/100 9.389350519903433 ns/iter 9.726921358789493 ns/iter 0.97
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9939905261973035 ns/iter 1.2114973094590222 ns/iter 0.82
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 4.875600257038055 ns/iter 5.350514815159554 ns/iter 0.91
JSON_String_Fast_Hash/10 3.01156712438634 ns/iter 3.456247553056994 ns/iter 0.87
JSON_String_Fast_Hash/100 2.886078824977065 ns/iter 3.0108179806122606 ns/iter 0.96
JSON_String_Key_Hash/10 1.6764804885981839 ns/iter 2.4773166833290032 ns/iter 0.68
JSON_String_Key_Hash/100 3.216070692576351 ns/iter 3.587809289753976 ns/iter 0.90
JSON_Object_Defines_Miss_Same_Length 2.7463728327397257 ns/iter 3.226293340347252 ns/iter 0.85
JSON_Object_Defines_Miss_Too_Small 2.7173269290981272 ns/iter 3.561659996403289 ns/iter 0.76
JSON_Object_Defines_Miss_Too_Large 3.022965869482511 ns/iter 3.894261573557757 ns/iter 0.78
Pointer_Object_Traverse 18.23921612877111 ns/iter 24.04674180923067 ns/iter 0.76
Pointer_Object_Try_Traverse 30.0609221034802 ns/iter 34.40751070563116 ns/iter 0.87
Pointer_Push_Back_Pointer_To_Weak_Pointer 196.08585373060856 ns/iter 249.71513411190682 ns/iter 0.79
Pointer_Walker_Schema_ISO_Language 7970379.453333104 ns/iter 8470118.75000021 ns/iter 0.94
Pointer_Maybe_Tracked_Deeply_Nested/0 1401450.9036145003 ns/iter 2102989.489230822 ns/iter 0.67
Pointer_Maybe_Tracked_Deeply_Nested/1 1868390.7590671065 ns/iter 3291980.5805087923 ns/iter 0.57
Pointer_Position_Tracker_Get_Deeply_Nested 465.6951159843575 ns/iter 795.4866319001873 ns/iter 0.59
Schema_Frame_WoT_References 5955609.375000393 ns/iter 11974786.106666215 ns/iter 0.50
Schema_Frame_OMC_References 34592663.3199997 ns/iter 53973580.35714562 ns/iter 0.64
Schema_Frame_OMC_Locations 36489269.95651891 ns/iter 46231553.57142293 ns/iter 0.79
Schema_Frame_ISO_Language_Locations 88883486.16666993 ns/iter 181875593.75002137 ns/iter 0.49
Schema_Frame_KrakenD_References 58390996.846154705 ns/iter 84849095.1428695 ns/iter 0.69
Schema_Frame_KrakenD_Reachable 588470207.9999897 ns/iter 775036208.9999498 ns/iter 0.76
Schema_Iterator_ISO_Language 2946104.460465375 ns/iter 3255368.604651309 ns/iter 0.90
Schema_Frame_ISO_Language_Locations_To_JSON 111936055.49999575 ns/iter 175475278.00002173 ns/iter 0.64
Schema_Tracker_ISO_Language 14268400.13792916 ns/iter 17742362.74509661 ns/iter 0.80
Schema_Tracker_ISO_Language_To_JSON 17341244.77500245 ns/iter 30940037.714285176 ns/iter 0.56
Schema_Format_ISO_Language_To_JSON 94676277.49995701 ns/iter 152873062.7499897 ns/iter 0.62
Schema_Bundle_Meta_2020_12 1667237.6666632278 ns/iter 2569715.8973471145 ns/iter 0.65
Schema_Frame_Many_Resources_References 395539583.49995357 ns/iter 712788333.0000486 ns/iter 0.55
EditorSchema_ForEditor_EmbeddedResources 16873508.767434414 ns/iter 21387477.371432137 ns/iter 0.79
URITemplateRouter_Create 23128.8982888293 ns/iter 28429.214400356726 ns/iter 0.81
URITemplateRouter_Match 230.0851464319377 ns/iter 276.6814023081031 ns/iter 0.83
URITemplateRouter_Match_BasePath 276.4347566279123 ns/iter 318.569715376481 ns/iter 0.87
URITemplateRouterView_Restore 26138.80244754935 ns/iter 33512.03124159739 ns/iter 0.78
URITemplateRouterView_Match 170.91509459977328 ns/iter 231.4057910968701 ns/iter 0.74
URITemplateRouterView_Match_BasePath 208.2439955916703 ns/iter 242.2851949729438 ns/iter 0.86
URITemplateRouterView_Arguments 658.241167122136 ns/iter 683.9130557166942 ns/iter 0.96
JSONL_Parse_Large 20385478.166666698 ns/iter 27369530.461538278 ns/iter 0.74
JSONL_Parse_Large_GZIP 18677771.92105199 ns/iter
HTML_Build_Table_100000 80056307.24997559 ns/iter 122277840.33332986 ns/iter 0.65
HTML_Render_Table_100000 4950691.193548371 ns/iter 8655142.60563416 ns/iter 0.57

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

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

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: 99eb1cb Previous: 369021e Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 3.644319100634413 ns/iter 4.149213727678053 ns/iter 0.88
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 4.002402314281284 ns/iter 4.722153358754635 ns/iter 0.85
Regex_Period_Asterisk 3.786336957524438 ns/iter 4.092912946428282 ns/iter 0.93
Regex_Group_Period_Asterisk_Group 3.9444693080360946 ns/iter 4.716032823026915 ns/iter 0.84
Regex_Period_Plus 4.261502207919495 ns/iter 3.7702098146961274 ns/iter 1.13
Regex_Period 3.9154778501502094 ns/iter 3.774466600403149 ns/iter 1.04
Regex_Caret_Period_Plus_Dollar 4.271291515950858 ns/iter 4.400861984643185 ns/iter 0.97
Regex_Caret_Group_Period_Plus_Group_Dollar 3.9109792034116784 ns/iter 4.408301249999624 ns/iter 0.89
Regex_Caret_Period_Asterisk_Dollar 3.9469376715232625 ns/iter 4.721197778395565 ns/iter 0.84
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.905584783760602 ns/iter 4.741181260583886 ns/iter 0.82
Regex_Caret_X_Hyphen 6.772449999999709 ns/iter 7.863371651785554 ns/iter 0.86
Regex_Period_Md_Dollar 34.868203301224376 ns/iter 35.54974440480393 ns/iter 0.98
Regex_Caret_Slash_Period_Asterisk 6.930446428570849 ns/iter 7.872735491071735 ns/iter 0.88
Regex_Caret_Period_Range_Dollar 4.281988125001135 ns/iter 4.726544206978219 ns/iter 0.91
Regex_Nested_Backtrack 91.13996914556441 ns/iter 102.92660701219953 ns/iter 0.89
JSON_Array_Of_Objects_Unique 520.2130357143833 ns/iter 497.04449999990175 ns/iter 1.05
JSON_Parse_1 7723.755580355223 ns/iter 8104.600446429291 ns/iter 0.95
JSON_Parse_Real 14083.91859857712 ns/iter 15794.502418546672 ns/iter 0.89
JSON_Parse_Decimal 15688.928571430592 ns/iter 15787.131696427536 ns/iter 0.99
JSON_Parse_Schema_ISO_Language 6479514.444443642 ns/iter 6126169.642858567 ns/iter 1.06
JSON_Fast_Hash_Helm_Chart_Lock 73.25275000001496 ns/iter 67.94449107143156 ns/iter 1.08
JSON_Equality_Helm_Chart_Lock 284.60982142856244 ns/iter 257.03894897492273 ns/iter 1.11
JSON_Divisible_By_Decimal 257.5698214285792 ns/iter 252.6762776030869 ns/iter 1.02
JSON_String_Equal/10 12.333635714286727 ns/iter 12.55300892857138 ns/iter 0.98
JSON_String_Equal/100 14.107726945946512 ns/iter 13.286278571428056 ns/iter 1.06
JSON_String_Equal_Small_By_Perfect_Hash/10 1.822708103899478 ns/iter 1.8823352695375202 ns/iter 0.97
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 11.465414285713189 ns/iter 12.580582142857923 ns/iter 0.91
JSON_String_Fast_Hash/10 4.384189374999892 ns/iter 3.808392360120882 ns/iter 1.15
JSON_String_Fast_Hash/100 4.268063124999344 ns/iter 3.763268564707837 ns/iter 1.13
JSON_String_Key_Hash/10 4.100315000000876 ns/iter 3.7755101718294144 ns/iter 1.09
JSON_String_Key_Hash/100 17.14340903698716 ns/iter 16.578897880051922 ns/iter 1.03
JSON_Object_Defines_Miss_Same_Length 4.070310825892471 ns/iter 3.845220424107002 ns/iter 1.06
JSON_Object_Defines_Miss_Too_Small 3.951381346342681 ns/iter 3.7699858861252986 ns/iter 1.05
JSON_Object_Defines_Miss_Too_Large 3.926251874999309 ns/iter 3.76642445755972 ns/iter 1.04
Pointer_Object_Traverse 44.4861451130557 ns/iter 40.89424563697961 ns/iter 1.09
Pointer_Object_Try_Traverse 55.555258928572066 ns/iter 50.209990000007565 ns/iter 1.11
Pointer_Push_Back_Pointer_To_Weak_Pointer 156.27352678571071 ns/iter 169.44951134709282 ns/iter 0.92
Pointer_Walker_Schema_ISO_Language 13232205.99999786 ns/iter 12564819.642855288 ns/iter 1.05
Pointer_Maybe_Tracked_Deeply_Nested/0 2323900.000000163 ns/iter 2067468.214285587 ns/iter 1.12
Pointer_Maybe_Tracked_Deeply_Nested/1 3061198.3050845484 ns/iter 3234866.197183952 ns/iter 0.95
Pointer_Position_Tracker_Get_Deeply_Nested 668.0149464254355 ns/iter 625.6492187500636 ns/iter 1.07
Schema_Frame_WoT_References 10465307.812498992 ns/iter 10072727.999998583 ns/iter 1.04
Schema_Frame_OMC_References 49883454.54545527 ns/iter 45010820.00000072 ns/iter 1.11
Schema_Frame_OMC_Locations 41779182.3529382 ns/iter 41499805.88236116 ns/iter 1.01
Schema_Frame_ISO_Language_Locations 197478000.00004646 ns/iter 201914366.6667181 ns/iter 0.98
Schema_Frame_KrakenD_References 92917688.88887316 ns/iter 94136628.57143988 ns/iter 0.99
Schema_Frame_KrakenD_Reachable 524911699.99984777 ns/iter 545768299.9999634 ns/iter 0.96
Schema_Iterator_ISO_Language 5218951.000001653 ns/iter 5040114.999999332 ns/iter 1.04
Schema_Frame_ISO_Language_Locations_To_JSON 304164399.9999906 ns/iter 299235700.0000538 ns/iter 1.02
Schema_Tracker_ISO_Language 15765131.707317647 ns/iter 16657991.111110782 ns/iter 0.95
Schema_Tracker_ISO_Language_To_JSON 51539142.85715798 ns/iter 50937072.727265336 ns/iter 1.01
Schema_Format_ISO_Language_To_JSON 197947533.33333877 ns/iter 207569749.99994782 ns/iter 0.95
Schema_Bundle_Meta_2020_12 2847838.9558257326 ns/iter 2864927.9660957507 ns/iter 0.99
Schema_Frame_Many_Resources_References 1488395000.0000823 ns/iter 1525408200.000129 ns/iter 0.98
EditorSchema_ForEditor_EmbeddedResources 30436186.363627627 ns/iter 29821909.090887032 ns/iter 1.02
URITemplateRouter_Create 21844.67239277805 ns/iter 22739.821874999678 ns/iter 0.96
URITemplateRouter_Match 236.41684374993588 ns/iter 215.13774485991013 ns/iter 1.10
URITemplateRouter_Match_BasePath 268.27199684457423 ns/iter 248.3793571428805 ns/iter 1.08
URITemplateRouterView_Restore 26392.01428571271 ns/iter 32190.218749994823 ns/iter 0.82
URITemplateRouterView_Match 169.48440197441653 ns/iter 154.1400669642558 ns/iter 1.10
URITemplateRouterView_Match_BasePath 192.7606245152527 ns/iter 182.63753008729444 ns/iter 1.06
URITemplateRouterView_Arguments 456.19218749990864 ns/iter 450.61133019336677 ns/iter 1.01
JSONL_Parse_Large 28746116.000002075 ns/iter 28207223.99999795 ns/iter 1.02
JSONL_Parse_Large_GZIP 28720495.454546258 ns/iter
HTML_Build_Table_100000 95098771.42857347 ns/iter 86664342.85714786 ns/iter 1.10
HTML_Render_Table_100000 8244056.666664315 ns/iter 7691123.333334973 ns/iter 1.07

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

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

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: 99eb1cb Previous: 369021e Ratio
HTML_Build_Table_100000 55149404.84615111 ns/iter 65930866.99998903 ns/iter 0.84
HTML_Render_Table_100000 4505147.561290399 ns/iter 4902665.3006997425 ns/iter 0.92
JSONL_Parse_Large 9663987.41666631 ns/iter 12633547.666664695 ns/iter 0.76
JSONL_Parse_Large_GZIP 10563457.287878808 ns/iter
URITemplateRouter_Create 10431.718145684403 ns/iter 14746.239122378258 ns/iter 0.71
URITemplateRouter_Match 122.99526266625462 ns/iter 170.1020974012358 ns/iter 0.72
URITemplateRouter_Match_BasePath 145.81561989248598 ns/iter 195.6503789067133 ns/iter 0.75
URITemplateRouterView_Restore 5086.141624704023 ns/iter 6433.979692246051 ns/iter 0.79
URITemplateRouterView_Match 94.8728719495828 ns/iter 127.26791151653946 ns/iter 0.75
URITemplateRouterView_Match_BasePath 111.3792420358149 ns/iter 143.85418202121662 ns/iter 0.77
URITemplateRouterView_Arguments 346.1810487118883 ns/iter 466.7770851677074 ns/iter 0.74
EditorSchema_ForEditor_EmbeddedResources 10896936.1230895 ns/iter 14065807.460001452 ns/iter 0.77
Schema_Frame_WoT_References 4335592.809816067 ns/iter 5536396.614173808 ns/iter 0.78
Schema_Frame_OMC_References 17788729.749997858 ns/iter 23182568.48386755 ns/iter 0.77
Schema_Frame_OMC_Locations 16386882.604650922 ns/iter 21412440.090905488 ns/iter 0.77
Schema_Frame_ISO_Language_Locations 78471726.37499966 ns/iter 99308754.28569509 ns/iter 0.79
Schema_Frame_KrakenD_References 34609912.4499915 ns/iter 41437902.29411881 ns/iter 0.84
Schema_Frame_KrakenD_Reachable 503395195.99992853 ns/iter 577100463.999841 ns/iter 0.87
Schema_Iterator_ISO_Language 1838689.7631581922 ns/iter 2404893.6301367837 ns/iter 0.76
Schema_Frame_ISO_Language_Locations_To_JSON 197797168.99999282 ns/iter 231573511.99999237 ns/iter 0.85
Schema_Tracker_ISO_Language 3583620.1999999452 ns/iter 4692479.395972874 ns/iter 0.76
Schema_Tracker_ISO_Language_To_JSON 17269548.099994835 ns/iter 22347980.41935861 ns/iter 0.77
Schema_Format_ISO_Language_To_JSON 88576505.87498257 ns/iter 106165094.28567562 ns/iter 0.83
Schema_Bundle_Meta_2020_12 1365684.9050385274 ns/iter 1826238.8648015903 ns/iter 0.75
Schema_Frame_Many_Resources_References 336871281.9999473 ns/iter 374287544.00002617 ns/iter 0.90
Pointer_Object_Traverse 20.398873894294503 ns/iter 25.40463084642723 ns/iter 0.80
Pointer_Object_Try_Traverse 19.37760686957289 ns/iter 22.309020875060114 ns/iter 0.87
Pointer_Push_Back_Pointer_To_Weak_Pointer 140.95607865361094 ns/iter 133.137931584714 ns/iter 1.06
Pointer_Walker_Schema_ISO_Language 2705829.949415888 ns/iter 3582050.9748744406 ns/iter 0.76
Pointer_Maybe_Tracked_Deeply_Nested/0 1164434.0500835448 ns/iter 1548475.1644448303 ns/iter 0.75
Pointer_Maybe_Tracked_Deeply_Nested/1 1324219.4990548918 ns/iter 1746474.6924997598 ns/iter 0.76
Pointer_Position_Tracker_Get_Deeply_Nested 328.5643902716442 ns/iter 424.9704061206764 ns/iter 0.77
JSON_Array_Of_Objects_Unique 323.5526134688257 ns/iter 423.6708319995975 ns/iter 0.76
JSON_Parse_1 6014.064556192192 ns/iter 8188.935633152474 ns/iter 0.73
JSON_Parse_Real 9092.455157859764 ns/iter 12021.363782793405 ns/iter 0.76
JSON_Parse_Decimal 12767.249285664273 ns/iter 16430.559889040884 ns/iter 0.78
JSON_Parse_Schema_ISO_Language 3611151.927083019 ns/iter 4968860.69503431 ns/iter 0.73
JSON_Fast_Hash_Helm_Chart_Lock 42.01254562647762 ns/iter 62.82146374219145 ns/iter 0.67
JSON_Equality_Helm_Chart_Lock 135.36557326145797 ns/iter 184.29368549660296 ns/iter 0.73
JSON_Divisible_By_Decimal 183.63066008192268 ns/iter 234.24066985293996 ns/iter 0.78
JSON_String_Equal/10 4.849227758382562 ns/iter 6.467649287985485 ns/iter 0.75
JSON_String_Equal/100 5.873908670768483 ns/iter 7.207955814976477 ns/iter 0.81
JSON_String_Equal_Small_By_Perfect_Hash/10 0.5488435627560605 ns/iter 0.7137408753674642 ns/iter 0.77
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 17.100084100606924 ns/iter 22.055709298854147 ns/iter 0.78
JSON_String_Fast_Hash/10 1.3644084673724202 ns/iter 1.7587357835628823 ns/iter 0.78
JSON_String_Fast_Hash/100 1.3639604936543563 ns/iter 1.7644292355342277 ns/iter 0.77
JSON_String_Key_Hash/10 0.8452371741649289 ns/iter 1.0829710811564703 ns/iter 0.78
JSON_String_Key_Hash/100 11.616561325177868 ns/iter 14.76046953757527 ns/iter 0.79
JSON_Object_Defines_Miss_Same_Length 2.734212515230746 ns/iter 3.8733158375977013 ns/iter 0.71
JSON_Object_Defines_Miss_Too_Small 2.7280807499991355 ns/iter 4.221572358441456 ns/iter 0.65
JSON_Object_Defines_Miss_Too_Large 2.7269816487501104 ns/iter 3.5184594167686805 ns/iter 0.78
Regex_Lower_S_Or_Upper_S_Asterisk 1.0908353504732107 ns/iter 1.4077632275089875 ns/iter 0.77
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.0915826030248228 ns/iter 1.4139063184123681 ns/iter 0.77
Regex_Period_Asterisk 1.091764987574575 ns/iter 1.4066183290878709 ns/iter 0.78
Regex_Group_Period_Asterisk_Group 1.3640522607195462 ns/iter 1.7598824878159678 ns/iter 0.78
Regex_Period_Plus 1.0910484575979873 ns/iter 1.4072664075679422 ns/iter 0.78
Regex_Period 1.091134057665085 ns/iter 1.4092257742441499 ns/iter 0.77
Regex_Caret_Period_Plus_Dollar 1.090720224020354 ns/iter 1.407320738823962 ns/iter 0.78
Regex_Caret_Group_Period_Plus_Group_Dollar 1.0942261591496008 ns/iter 1.4074067581145093 ns/iter 0.78
Regex_Caret_Period_Asterisk_Dollar 1.3637356445122042 ns/iter 1.7590683136986627 ns/iter 0.78
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.364067221669344 ns/iter 1.7628705643361098 ns/iter 0.77
Regex_Caret_X_Hyphen 8.723078563291642 ns/iter 11.606677786177984 ns/iter 0.75
Regex_Period_Md_Dollar 28.00622150501828 ns/iter 33.8910223279443 ns/iter 0.83
Regex_Caret_Slash_Period_Asterisk 8.45210574147082 ns/iter 4.573858768815645 ns/iter 1.85
Regex_Caret_Period_Range_Dollar 1.3637343362605001 ns/iter 1.7913361350975694 ns/iter 0.76
Regex_Nested_Backtrack 42.303742942500456 ns/iter 50.939602811621334 ns/iter 0.83

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

@jviotti jviotti changed the title zlib streaming [WIP] JSONL streaming with GZIP support Apr 24, 2026
@jviotti jviotti force-pushed the zlib-streaming branch 4 times, most recently from 46c2d3b to c700db6 Compare April 24, 2026 19:24
@jviotti jviotti changed the title [WIP] JSONL streaming with GZIP support JSONL streaming with GZIP support Apr 24, 2026
@jviotti jviotti marked this pull request as ready for review April 24, 2026 19:28
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Apr 24, 2026

This pull request is abnormally large and would use a significant amount of tokens to review. If you still wish to review it, comment "augment review" and we will review it.

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Copy link
Copy Markdown

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

Choose a reason for hiding this comment

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

3 issues found across 46 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="src/core/jsonl/CMakeLists.txt">

<violation number="1" location="src/core/jsonl/CMakeLists.txt:12">
P1: This adds a hard dependency on `sourcemeta::core::gzip` without wiring JSONL to enable GZIP, so builds that turn JSONL on and GZIP off will fail at configure time.</violation>
</file>

<file name="cmake/FindZLIB.cmake">

<violation number="1" location="cmake/FindZLIB.cmake:94">
P2: Installed target name is exported as `ZLIB::zlib` while build-tree uses `ZLIB::ZLIB`, causing inconsistent linkage names for consumers.</violation>

<violation number="2" location="cmake/FindZLIB.cmake:116">
P1: `zlib-config.cmake` calls `check_required_components()` without defining it, which can fail package discovery at configure time.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread src/core/jsonl/CMakeLists.txt
Comment thread cmake/FindZLIB.cmake
Comment thread cmake/FindZLIB.cmake Outdated
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@jviotti jviotti merged commit c25ff75 into main Apr 24, 2026
13 checks passed
@jviotti jviotti deleted the zlib-streaming branch April 24, 2026 20:03
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