-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce the idea of framing modes (#1549)
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
19 changed files
with
386 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
f48ed88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (linux/llvm)
Regex_Lower_S_Or_Upper_S_Asterisk
2.2832968705878525
ns/iter2.2349538849972546
ns/iter1.02
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.1990017906969794
ns/iter2.1942738388335385
ns/iter1.00
Regex_Period_Asterisk
2.1903647178785715
ns/iter2.184912592899142
ns/iter1.00
Regex_Group_Period_Asterisk_Group
2.189082508143088
ns/iter2.1917092653176926
ns/iter1.00
Regex_Period_Plus
2.486903123921891
ns/iter2.490796317542416
ns/iter1.00
Regex_Period
2.4874169656252896
ns/iter2.4871989478952465
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
2.401375308118531
ns/iter2.491267001993584
ns/iter0.96
Regex_Caret_Group_Period_Plus_Group_Dollar
2.239363371129661
ns/iter2.487302898267284
ns/iter0.90
Regex_Caret_Period_Asterisk_Dollar
2.4894573505094164
ns/iter3.106538363801349
ns/iter0.80
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.4864786428741534
ns/iter2.1801077423006796
ns/iter1.14
Regex_Caret_X_Hyphen
12.527470918932536
ns/iter12.470036935261204
ns/iter1.00
Regex_Period_Md_Dollar
73.01065899767119
ns/iter73.30295523316838
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
6.283943849602274
ns/iter5.911520557436913
ns/iter1.06
Regex_Caret_Period_Range_Dollar
2.4967149161570057
ns/iter2.5108495732630898
ns/iter0.99
Regex_Nested_Backtrack
491.02054472827336
ns/iter496.679884812141
ns/iter0.99
JSON_Array_Of_Objects_Unique
447.9086054900762
ns/iter392.63670107594385
ns/iter1.14
JSON_Parse_1
30877.517679656194
ns/iter30490.11678264249
ns/iter1.01
JSON_Fast_Hash_Helm_Chart_Lock
68.35021667155996
ns/iter56.01237821565964
ns/iter1.22
JSON_Equality_Helm_Chart_Lock
168.1113208475415
ns/iter161.54335727558734
ns/iter1.04
JSON_String_Equal/10
7.781218142376171
ns/iter7.014440762903042
ns/iter1.11
JSON_String_Equal/100
8.40902593549119
ns/iter6.8515540511659525
ns/iter1.23
JSON_String_Equal_Small_By_Perfect_Hash/10
0.9373260950202259
ns/iter0.9391825579963624
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.623624054941267
ns/iter10.260861052693743
ns/iter1.43
JSON_String_Fast_Hash/10
2.797607312108063
ns/iter2.1768002459246993
ns/iter1.29
JSON_String_Fast_Hash/100
2.839632949494221
ns/iter2.176187345810927
ns/iter1.30
JSON_String_Key_Hash/10
2.6987592832596623
ns/iter2.491150479145749
ns/iter1.08
JSON_String_Key_Hash/100
2.178050797748676
ns/iter2.179533000461269
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
3.7357007158856277
ns/iter3.7318839931830614
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
3.735991990175984
ns/iter3.73185613286778
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.7350307069598183
ns/iter3.7354132471788604
ns/iter1.00
Pointer_Object_Traverse
44.6575248171356
ns/iter44.96096012680536
ns/iter0.99
Pointer_Object_Try_Traverse
52.34610891843722
ns/iter52.30335672145912
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
317.526053001478
ns/iter349.95490662113014
ns/iter0.91
Schema_Frame_OMC_Full
237860608.33329734
ns/iter241514758.33332372
ns/iter0.98
Schema_Bundle_Meta_2020_12
10523800.522385012
ns/iter10386397.253723567
ns/iter1.01
This comment was automatically generated by workflow using github-action-benchmark.
f48ed88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (macos/llvm)
Regex_Lower_S_Or_Upper_S_Asterisk
1.7393100714803982
ns/iter1.8444213923781547
ns/iter0.94
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.8024295297888875
ns/iter1.8183604934551092
ns/iter0.99
Regex_Period_Asterisk
1.9131495492521682
ns/iter1.7942702796952148
ns/iter1.07
Regex_Group_Period_Asterisk_Group
1.7384239082150208
ns/iter1.7961001637624718
ns/iter0.97
Regex_Period_Plus
1.998810738473833
ns/iter2.1200654575678533
ns/iter0.94
Regex_Period
2.2698473605988974
ns/iter2.1769124799194315
ns/iter1.04
Regex_Caret_Period_Plus_Dollar
2.004663200926856
ns/iter2.05146954692257
ns/iter0.98
Regex_Caret_Group_Period_Plus_Group_Dollar
2.050043573706597
ns/iter2.072047340594785
ns/iter0.99
Regex_Caret_Period_Asterisk_Dollar
1.8559631028941008
ns/iter1.7205541920359066
ns/iter1.08
Regex_Caret_Group_Period_Asterisk_Group_Dollar
1.7910573447746174
ns/iter1.6753444860202664
ns/iter1.07
Regex_Caret_X_Hyphen
7.728935152691551
ns/iter7.421579655167888
ns/iter1.04
Regex_Period_Md_Dollar
74.3130373608784
ns/iter74.04714701995356
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
5.3882732214591424
ns/iter5.746620726938812
ns/iter0.94
Regex_Caret_Period_Range_Dollar
2.408510915491961
ns/iter2.355355144535292
ns/iter1.02
Regex_Nested_Backtrack
796.9466938088323
ns/iter765.6018249025426
ns/iter1.04
JSON_Array_Of_Objects_Unique
357.26877182765406
ns/iter426.00059730069825
ns/iter0.84
JSON_Parse_1
24256.96683977963
ns/iter22370.080549534705
ns/iter1.08
JSON_Fast_Hash_Helm_Chart_Lock
61.66722626930113
ns/iter55.2421625000079
ns/iter1.12
JSON_Equality_Helm_Chart_Lock
151.85498112050928
ns/iter128.12546689342
ns/iter1.19
JSON_String_Equal/10
9.915483061120131
ns/iter7.847758956212208
ns/iter1.26
JSON_String_Equal/100
8.482371471410538
ns/iter6.346505843573472
ns/iter1.34
JSON_String_Equal_Small_By_Perfect_Hash/10
0.3588597324516792
ns/iter0.3354873845267403
ns/iter1.07
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
3.1856514523355273
ns/iter3.0269105104197616
ns/iter1.05
JSON_String_Fast_Hash/10
1.7727949039577697
ns/iter1.6083211754770361
ns/iter1.10
JSON_String_Fast_Hash/100
2.1302347432764495
ns/iter1.9520491207902047
ns/iter1.09
JSON_String_Key_Hash/10
1.438914698242369
ns/iter1.3576679287423095
ns/iter1.06
JSON_String_Key_Hash/100
1.670806944272945
ns/iter1.3763617160442967
ns/iter1.21
JSON_Object_Defines_Miss_Same_Length
2.443371086968884
ns/iter2.3100718052589
ns/iter1.06
JSON_Object_Defines_Miss_Too_Small
2.60780324955961
ns/iter2.302926452706485
ns/iter1.13
JSON_Object_Defines_Miss_Too_Large
2.371858409713314
ns/iter2.310927124726863
ns/iter1.03
Pointer_Object_Traverse
16.820806370864904
ns/iter16.104087297463778
ns/iter1.04
Pointer_Object_Try_Traverse
26.979792425873477
ns/iter22.460817472779482
ns/iter1.20
Pointer_Push_Back_Pointer_To_Weak_Pointer
230.7717943223696
ns/iter173.625981077812
ns/iter1.33
Schema_Frame_OMC_Full
202657652.9999981
ns/iter161518675.0000021
ns/iter1.25
Schema_Bundle_Meta_2020_12
9329684.14865535
ns/iter7383415.343743612
ns/iter1.26
This comment was automatically generated by workflow using github-action-benchmark.
f48ed88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (windows/msvc)
Regex_Lower_S_Or_Upper_S_Asterisk
6.76734821428531
ns/iter6.534661830358399
ns/iter1.04
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
6.986962499999955
ns/iter6.561756696429809
ns/iter1.06
Regex_Period_Asterisk
6.638455357143818
ns/iter6.705693749998837
ns/iter0.99
Regex_Group_Period_Asterisk_Group
6.572868303571511
ns/iter7.028895089286534
ns/iter0.94
Regex_Period_Plus
7.08168482142822
ns/iter7.002263392856938
ns/iter1.01
Regex_Period
7.715477678571503
ns/iter7.055739955355022
ns/iter1.09
Regex_Caret_Period_Plus_Dollar
6.979827008929565
ns/iter6.8786557728630395
ns/iter1.01
Regex_Caret_Group_Period_Plus_Group_Dollar
7.000033928571879
ns/iter7.048380580358631
ns/iter0.99
Regex_Caret_Period_Asterisk_Dollar
6.584970982142581
ns/iter6.8280696428563
ns/iter0.96
Regex_Caret_Group_Period_Asterisk_Group_Dollar
6.821566964285708
ns/iter6.738003348214505
ns/iter1.01
Regex_Caret_X_Hyphen
11.875676785714568
ns/iter14.42048660714639
ns/iter0.82
Regex_Period_Md_Dollar
149.31977678571684
ns/iter153.9481473214112
ns/iter0.97
Regex_Caret_Slash_Period_Asterisk
10.318203971793247
ns/iter10.284473437501163
ns/iter1.00
Regex_Caret_Period_Range_Dollar
7.357111607142792
ns/iter7.416595982141822
ns/iter0.99
Regex_Nested_Backtrack
601.9520535714053
ns/iter598.6018750001725
ns/iter1.01
JSON_Array_Of_Objects_Unique
441.83184147363124
ns/iter404.27340159490024
ns/iter1.09
JSON_Parse_1
80014.04017857285
ns/iter98320.45312499815
ns/iter0.81
JSON_Fast_Hash_Helm_Chart_Lock
68.94674107142252
ns/iter55.8829553571424
ns/iter1.23
JSON_Equality_Helm_Chart_Lock
186.11242540932446
ns/iter195.42917816333147
ns/iter0.95
JSON_String_Equal/10
9.626424064166972
ns/iter10.0505421874999
ns/iter0.96
JSON_String_Equal/100
10.174285668864837
ns/iter9.922209330706126
ns/iter1.03
JSON_String_Equal_Small_By_Perfect_Hash/10
2.172105624999787
ns/iter2.1672815625002784
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.786729910714056
ns/iter14.52056249999905
ns/iter1.02
JSON_String_Fast_Hash/10
3.7256753504898885
ns/iter3.0986915178569268
ns/iter1.20
JSON_String_Fast_Hash/100
3.721634101327458
ns/iter3.0968401785713695
ns/iter1.20
JSON_String_Key_Hash/10
7.517417377154597
ns/iter7.602110491072368
ns/iter0.99
JSON_String_Key_Hash/100
3.7745099717813555
ns/iter3.721802494184263
ns/iter1.01
JSON_Object_Defines_Miss_Same_Length
4.066019873331802
ns/iter4.033598221487906
ns/iter1.01
JSON_Object_Defines_Miss_Too_Small
3.4132813331907506
ns/iter3.404046734992544
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.720927314783827
ns/iter3.7241571362065766
ns/iter1.00
Pointer_Object_Traverse
52.39319999999452
ns/iter49.52667999998539
ns/iter1.06
Pointer_Object_Try_Traverse
71.07249999999915
ns/iter65.41366071429269
ns/iter1.09
Pointer_Push_Back_Pointer_To_Weak_Pointer
179.92729285064365
ns/iter172.11602938276425
ns/iter1.05
Schema_Frame_OMC_Full
493992200.00009334
ns/iter467771350.0000209
ns/iter1.06
Schema_Bundle_Meta_2020_12
23203153.571415666
ns/iter23530150.000033244
ns/iter0.99
This comment was automatically generated by workflow using github-action-benchmark.
f48ed88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (macos/gcc)
Regex_Lower_S_Or_Upper_S_Asterisk
1.8842273992348497
ns/iter1.9623587462481782
ns/iter0.96
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.9166816023192932
ns/iter1.9389800422400334
ns/iter0.99
Regex_Period_Asterisk
1.962934704058309
ns/iter1.9430573569690823
ns/iter1.01
Regex_Group_Period_Asterisk_Group
2.2274376747411075
ns/iter1.9315860470131037
ns/iter1.15
Regex_Period_Plus
1.585609007710961
ns/iter1.6469516550742778
ns/iter0.96
Regex_Period
1.6064802239264724
ns/iter1.6048549335370854
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
1.591965515041057
ns/iter1.609542701422055
ns/iter0.99
Regex_Caret_Group_Period_Plus_Group_Dollar
1.591744524946517
ns/iter1.6073993145748244
ns/iter0.99
Regex_Caret_Period_Asterisk_Dollar
1.8941118006219209
ns/iter1.9194988434251163
ns/iter0.99
Regex_Caret_Group_Period_Asterisk_Group_Dollar
1.9101490146644111
ns/iter2.1522351345438167
ns/iter0.89
Regex_Caret_X_Hyphen
5.965509252167312
ns/iter6.298595813902177
ns/iter0.95
Regex_Period_Md_Dollar
69.55630625268383
ns/iter71.60120222788728
ns/iter0.97
Regex_Caret_Slash_Period_Asterisk
4.613582778709544
ns/iter4.5435037996503285
ns/iter1.02
Regex_Caret_Period_Range_Dollar
1.892761526364777
ns/iter1.937888686642154
ns/iter0.98
Regex_Nested_Backtrack
873.6987897106665
ns/iter871.3501839445506
ns/iter1.00
JSON_Array_Of_Objects_Unique
205.93040164997478
ns/iter220.37023887432863
ns/iter0.93
JSON_Parse_1
22973.397719081506
ns/iter23285.991348683572
ns/iter0.99
JSON_Fast_Hash_Helm_Chart_Lock
23.513372104071877
ns/iter23.554110409972214
ns/iter1.00
JSON_Equality_Helm_Chart_Lock
114.74309202362564
ns/iter118.74767725557751
ns/iter0.97
JSON_String_Equal/10
5.4228338684897235
ns/iter5.539579021320741
ns/iter0.98
JSON_String_Equal/100
5.114642024864316
ns/iter5.161372626561699
ns/iter0.99
JSON_String_Equal_Small_By_Perfect_Hash/10
0.9446143112956834
ns/iter0.7688125651763483
ns/iter1.23
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
3.5063553679656034
ns/iter3.512942353391748
ns/iter1.00
JSON_String_Fast_Hash/10
1.900813257317266
ns/iter1.9352444280434358
ns/iter0.98
JSON_String_Fast_Hash/100
1.9049022497535737
ns/iter1.9168920420170066
ns/iter0.99
JSON_String_Key_Hash/10
1.445597800111734
ns/iter1.4485998285392312
ns/iter1.00
JSON_String_Key_Hash/100
1.9208206774562784
ns/iter1.9569132927677755
ns/iter0.98
JSON_Object_Defines_Miss_Same_Length
1.726144784306689
ns/iter1.7886911163765666
ns/iter0.97
JSON_Object_Defines_Miss_Too_Small
1.8822703950911441
ns/iter1.902881334413093
ns/iter0.99
JSON_Object_Defines_Miss_Too_Large
1.7242903813651471
ns/iter1.7500228488881844
ns/iter0.99
Pointer_Object_Traverse
51.60019459303983
ns/iter55.48826080445096
ns/iter0.93
Pointer_Object_Try_Traverse
35.70941709977653
ns/iter36.13547214158979
ns/iter0.99
Pointer_Push_Back_Pointer_To_Weak_Pointer
154.49149500064092
ns/iter158.3370523203024
ns/iter0.98
Schema_Frame_OMC_Full
190235733.98590088
ns/iter186933517.4560547
ns/iter1.02
Schema_Bundle_Meta_2020_12
8561454.16818014
ns/iter8879676.277254835
ns/iter0.96
This comment was automatically generated by workflow using github-action-benchmark.
f48ed88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (linux/gcc)
Schema_Frame_OMC_Full
235988345.33333957
ns/iter240810116.99998572
ns/iter0.98
Schema_Bundle_Meta_2020_12
10552611.230771339
ns/iter10653629.984610163
ns/iter0.99
Pointer_Object_Traverse
47.78324236195358
ns/iter50.10181337816171
ns/iter0.95
Pointer_Object_Try_Traverse
26.498764095404617
ns/iter26.48701212236391
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
163.9962425728427
ns/iter160.3842267949935
ns/iter1.02
JSON_Array_Of_Objects_Unique
378.7551558575065
ns/iter368.7576082835198
ns/iter1.03
JSON_Parse_1
33346.32657722198
ns/iter33664.598658038114
ns/iter0.99
JSON_Fast_Hash_Helm_Chart_Lock
66.21069341679393
ns/iter63.10566210321151
ns/iter1.05
JSON_Equality_Helm_Chart_Lock
149.27403106586573
ns/iter147.62962380371624
ns/iter1.01
JSON_String_Equal/10
5.71895513666253
ns/iter5.7180804649717665
ns/iter1.00
JSON_String_Equal/100
6.340516353816064
ns/iter6.341592454392342
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
0.623404756016833
ns/iter0.936118025855481
ns/iter0.67
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
25.470462508238207
ns/iter11.796535363305372
ns/iter2.16
JSON_String_Fast_Hash/10
0.9330939637953263
ns/iter0.9349994851976029
ns/iter1.00
JSON_String_Fast_Hash/100
0.9361458798457987
ns/iter0.9349096664057152
ns/iter1.00
JSON_String_Key_Hash/10
1.2451846076995081
ns/iter1.2459202575492172
ns/iter1.00
JSON_String_Key_Hash/100
0.9345726628493335
ns/iter0.9350979995925786
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
2.488935597546653
ns/iter2.5039604706308958
ns/iter0.99
JSON_Object_Defines_Miss_Too_Small
2.801102082700217
ns/iter2.7979364309627925
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
2.4959492400186636
ns/iter2.4919375334949616
ns/iter1.00
Regex_Lower_S_Or_Upper_S_Asterisk
3.1187436797187047
ns/iter3.1097577152027553
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
3.1082515770139105
ns/iter2.8049638218244226
ns/iter1.11
Regex_Period_Asterisk
3.167274167315304
ns/iter2.8044289572892
ns/iter1.13
Regex_Group_Period_Asterisk_Group
3.1079998204290997
ns/iter2.7995481916335945
ns/iter1.11
Regex_Period_Plus
3.4214366269521905
ns/iter2.8053615591773706
ns/iter1.22
Regex_Period
3.419888399265424
ns/iter2.7987294357855714
ns/iter1.22
Regex_Caret_Period_Plus_Dollar
3.4213984058686493
ns/iter2.7992268966977267
ns/iter1.22
Regex_Caret_Group_Period_Plus_Group_Dollar
3.4203433082118795
ns/iter2.804095929160143
ns/iter1.22
Regex_Caret_Period_Asterisk_Dollar
4.359788325793043
ns/iter2.803574431115508
ns/iter1.56
Regex_Caret_Group_Period_Asterisk_Group_Dollar
4.356615792620213
ns/iter2.7979432369983868
ns/iter1.56
Regex_Caret_X_Hyphen
13.6816921575374
ns/iter13.106464171448842
ns/iter1.04
Regex_Period_Md_Dollar
90.03560171781106
ns/iter92.6849144553758
ns/iter0.97
Regex_Caret_Slash_Period_Asterisk
8.39309824875925
ns/iter7.784457339785916
ns/iter1.08
Regex_Caret_Period_Range_Dollar
4.356293398158149
ns/iter3.4195804532759606
ns/iter1.27
Regex_Nested_Backtrack
819.8311226522526
ns/iter829.4732182879665
ns/iter0.99
This comment was automatically generated by workflow using github-action-benchmark.