-
-
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.
Re-introduce a faster
LoopItems
instruction (#218)
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
7 changed files
with
83 additions
and
30 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
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
d6aea03
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)
Compiler_Draft6_AdaptiveCard
33869077958.999924
ns/iter32371868500.000004
ns/iter1.05
Compiler_2019_09_OMC_JSON_V2
6893266458.99996
ns/iter7010034667.000013
ns/iter0.98
Evaluator_Draft4_Meta_1_No_Callback
266.40316116308855
ns/iter256.3379369079197
ns/iter1.04
Evaluator_Draft4_Required_Properties
337.65030726711564
ns/iter339.41037806598865
ns/iter0.99
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
20.457076963231675
ns/iter20.963272856703544
ns/iter0.98
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
10.483426542326681
ns/iter10.33756230146335
ns/iter1.01
Evaluator_Draft4_Items_Schema
347.64746910374345
ns/iter524.4800051060521
ns/iter0.66
Evaluator_Draft4_Nested_Object
3.0133256788435414
ns/iter3.053990288781511
ns/iter0.99
Evaluator_Draft4_Properties_Triad_Optional
991.6583600440894
ns/iter1033.5932360493698
ns/iter0.96
Evaluator_Draft4_Properties_Triad_Closed
701.6918274638583
ns/iter689.1956247686363
ns/iter1.02
Evaluator_Draft4_Properties_Triad_Required
976.9737431708752
ns/iter992.3540822548066
ns/iter0.98
Evaluator_Draft4_Properties_Closed
83.63887673495408
ns/iter78.64556513416193
ns/iter1.06
Evaluator_Draft4_Non_Recursive_Ref
12.258270716103311
ns/iter11.248897333105095
ns/iter1.09
Evaluator_Draft4_Pattern_Properties_True
1196.663927935761
ns/iter1153.0573476238887
ns/iter1.04
Evaluator_Draft4_Ref_To_Single_Property
11.87445820660855
ns/iter11.108759150218766
ns/iter1.07
Evaluator_Draft4_Additional_Properties_Type
26.480663383939103
ns/iter25.589226780679624
ns/iter1.03
Evaluator_Draft4_Nested_Oneof
70.98830290277623
ns/iter69.7717052900564
ns/iter1.02
Evaluator_Draft4_Long_Enum
30.72684585537686
ns/iter29.121188046368793
ns/iter1.06
Evaluator_Draft4_Type_Object
6.37519875182017
ns/iter6.338763723215878
ns/iter1.01
Evaluator_Draft6_Property_Names
257.74715057130607
ns/iter250.4676580790255
ns/iter1.03
Evaluator_Draft7_If_Then_Else
29.096329076018588
ns/iter28.05853545442551
ns/iter1.04
Evaluator_Draft7_Vercel_1
102135.18707186017
ns/iter94922.93039538481
ns/iter1.08
Evaluator_2019_09_Unevaluated_Properties
170.68889269150628
ns/iter161.6922150440839
ns/iter1.06
Evaluator_2019_09_OMC_JSON_V2_1
6280.866148292133
ns/iter5956.391282513435
ns/iter1.05
Evaluator_2020_12_Dynamic_Ref
568.2713481464624
ns/iter528.0956155727199
ns/iter1.08
This comment was automatically generated by workflow using github-action-benchmark.
d6aea03
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)
Compiler_Draft6_AdaptiveCard
58893088289.000046
ns/iter57876894523.99996
ns/iter1.02
Compiler_2019_09_OMC_JSON_V2
11195867361.999945
ns/iter11106052109.000017
ns/iter1.01
Evaluator_Draft4_Meta_1_No_Callback
361.9677162174206
ns/iter355.96484778863197
ns/iter1.02
Evaluator_Draft4_Required_Properties
766.6552314593915
ns/iter734.5598405678757
ns/iter1.04
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
40.30960661873921
ns/iter37.749948992883944
ns/iter1.07
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
23.523185371483923
ns/iter22.912928830076467
ns/iter1.03
Evaluator_Draft4_Items_Schema
758.0379596280372
ns/iter1038.7256872166943
ns/iter0.73
Evaluator_Draft4_Nested_Object
4.9504171767395055
ns/iter4.3313366516312115
ns/iter1.14
Evaluator_Draft4_Properties_Triad_Optional
1246.5781734599136
ns/iter1229.2010565732191
ns/iter1.01
Evaluator_Draft4_Properties_Triad_Closed
974.9353048671987
ns/iter948.9072186472238
ns/iter1.03
Evaluator_Draft4_Properties_Triad_Required
1283.020744959124
ns/iter1274.091914104856
ns/iter1.01
Evaluator_Draft4_Properties_Closed
141.52355147525572
ns/iter133.95973714802255
ns/iter1.06
Evaluator_Draft4_Non_Recursive_Ref
30.007971356071316
ns/iter30.358493182237886
ns/iter0.99
Evaluator_Draft4_Pattern_Properties_True
1902.4718212369528
ns/iter1928.5216070493532
ns/iter0.99
Evaluator_Draft4_Ref_To_Single_Property
24.598298758373307
ns/iter22.904151431379788
ns/iter1.07
Evaluator_Draft4_Additional_Properties_Type
54.259794200293356
ns/iter53.51238254224642
ns/iter1.01
Evaluator_Draft4_Nested_Oneof
138.39530548982674
ns/iter128.0015285532819
ns/iter1.08
Evaluator_Draft4_Long_Enum
23.221803262944125
ns/iter21.969333659009536
ns/iter1.06
Evaluator_Draft4_Type_Object
12.375304491955866
ns/iter11.130041145073092
ns/iter1.11
Evaluator_Draft6_Property_Names
466.4936170666491
ns/iter469.36456887432314
ns/iter0.99
Evaluator_Draft7_If_Then_Else
58.733582352516514
ns/iter56.29640779677361
ns/iter1.04
Evaluator_Draft7_Vercel_1
115829.96717610193
ns/iter120706.5770458808
ns/iter0.96
Evaluator_2019_09_Unevaluated_Properties
200.16455642522655
ns/iter204.21134114812224
ns/iter0.98
Evaluator_2019_09_OMC_JSON_V2_1
8647.617590345804
ns/iter8544.129691229216
ns/iter1.01
Evaluator_2020_12_Dynamic_Ref
868.2653890025888
ns/iter862.7108346878377
ns/iter1.01
This comment was automatically generated by workflow using github-action-benchmark.
d6aea03
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)
Compiler_Draft6_AdaptiveCard
43370833873.74878
ns/iter45701021909.713745
ns/iter0.95
Compiler_2019_09_OMC_JSON_V2
8194782972.335815
ns/iter8509001016.616821
ns/iter0.96
Evaluator_Draft4_Meta_1_No_Callback
253.648569536704
ns/iter264.28945732202675
ns/iter0.96
Evaluator_Draft4_Required_Properties
440.973953295715
ns/iter465.3571244895609
ns/iter0.95
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
23.985162751524268
ns/iter23.57821680228467
ns/iter1.02
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
13.433983368046526
ns/iter14.299650277554058
ns/iter0.94
Evaluator_Draft4_Items_Schema
515.9943533737711
ns/iter690.5117621134142
ns/iter0.75
Evaluator_Draft4_Nested_Object
1.9861854115403037
ns/iter2.0187358143258223
ns/iter0.98
Evaluator_Draft4_Properties_Triad_Optional
1068.0669437436925
ns/iter1070.0710760349077
ns/iter1.00
Evaluator_Draft4_Properties_Triad_Closed
839.2309391283948
ns/iter849.0893052161464
ns/iter0.99
Evaluator_Draft4_Properties_Triad_Required
1052.0462207465412
ns/iter1059.4036352156966
ns/iter0.99
Evaluator_Draft4_Properties_Closed
96.72706989614377
ns/iter97.55012049395523
ns/iter0.99
Evaluator_Draft4_Non_Recursive_Ref
18.87851455151047
ns/iter19.875150471952388
ns/iter0.95
Evaluator_Draft4_Pattern_Properties_True
1632.8889591506124
ns/iter1671.5057676738504
ns/iter0.98
Evaluator_Draft4_Ref_To_Single_Property
12.694319412727875
ns/iter13.24434392378638
ns/iter0.96
Evaluator_Draft4_Additional_Properties_Type
37.63557732053503
ns/iter45.001936567579804
ns/iter0.84
Evaluator_Draft4_Nested_Oneof
80.93208739516467
ns/iter103.16027359492428
ns/iter0.78
Evaluator_Draft4_Long_Enum
10.713009032857563
ns/iter12.798838858974372
ns/iter0.84
Evaluator_Draft4_Type_Object
6.173911860943417
ns/iter6.3421487216778685
ns/iter0.97
Evaluator_Draft6_Property_Names
351.3940163015555
ns/iter415.4755781919503
ns/iter0.85
Evaluator_Draft7_If_Then_Else
31.33725347025839
ns/iter42.48673344164721
ns/iter0.74
Evaluator_Draft7_Vercel_1
90356.50419775175
ns/iter117747.09390610764
ns/iter0.77
Evaluator_2019_09_Unevaluated_Properties
160.2965547555714
ns/iter213.39953282165484
ns/iter0.75
Evaluator_2019_09_OMC_JSON_V2_1
5698.569860845759
ns/iter6303.751006533201
ns/iter0.90
Evaluator_2020_12_Dynamic_Ref
593.8471607607722
ns/iter573.7167832047095
ns/iter1.04
This comment was automatically generated by workflow using github-action-benchmark.
d6aea03
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)
Evaluator_2020_12_Dynamic_Ref
845.3444419667239
ns/iter860.9754548976923
ns/iter0.98
Evaluator_2019_09_Unevaluated_Properties
268.72120235295534
ns/iter269.6817975792568
ns/iter1.00
Evaluator_2019_09_OMC_JSON_V2_1
11142.97419045907
ns/iter11389.127172595463
ns/iter0.98
Evaluator_Draft7_If_Then_Else
50.607249387272645
ns/iter51.99399021581725
ns/iter0.97
Evaluator_Draft7_Vercel_1
129519.9979059654
ns/iter142260.56989461146
ns/iter0.91
Evaluator_Draft6_Property_Names
1156.1136129339777
ns/iter1154.949756651416
ns/iter1.00
Evaluator_Draft4_Meta_1_No_Callback
435.291148409125
ns/iter413.13674744685954
ns/iter1.05
Evaluator_Draft4_Required_Properties
1761.8012973321054
ns/iter1701.6717437460045
ns/iter1.04
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
40.83235649825776
ns/iter37.21850363514737
ns/iter1.10
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
34.23012864308106
ns/iter32.195143023058336
ns/iter1.06
Evaluator_Draft4_Items_Schema
582.7814701130959
ns/iter904.3123356447452
ns/iter0.64
Evaluator_Draft4_Nested_Object
3.788085042816423
ns/iter3.4836189958076638
ns/iter1.09
Evaluator_Draft4_Properties_Triad_Optional
1355.7292977413808
ns/iter1306.6416149124532
ns/iter1.04
Evaluator_Draft4_Properties_Triad_Closed
1070.855547879727
ns/iter1027.9459068952988
ns/iter1.04
Evaluator_Draft4_Properties_Triad_Required
1399.7997985791112
ns/iter1348.548059950198
ns/iter1.04
Evaluator_Draft4_Properties_Closed
188.45298723391895
ns/iter196.31645949837312
ns/iter0.96
Evaluator_Draft4_Non_Recursive_Ref
49.8452510795477
ns/iter48.29771109087109
ns/iter1.03
Evaluator_Draft4_Pattern_Properties_True
2058.779947544089
ns/iter2065.6447248269956
ns/iter1.00
Evaluator_Draft4_Ref_To_Single_Property
38.33232538408909
ns/iter36.537270337243655
ns/iter1.05
Evaluator_Draft4_Additional_Properties_Type
103.91156577874136
ns/iter102.64828036792204
ns/iter1.01
Evaluator_Draft4_Nested_Oneof
119.36425023248025
ns/iter107.6921090453851
ns/iter1.11
Evaluator_Draft4_Long_Enum
22.12074829247047
ns/iter19.63349135114521
ns/iter1.13
Evaluator_Draft4_Type_Object
10.630988164215294
ns/iter10.015738233858494
ns/iter1.06
Compiler_2019_09_OMC_JSON_V2
11470979284.999998
ns/iter11463723896.000032
ns/iter1.00
Compiler_Draft6_AdaptiveCard
66691768967.00003
ns/iter68550739452.000015
ns/iter0.97
This comment was automatically generated by workflow using github-action-benchmark.
d6aea03
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)
Compiler_Draft6_AdaptiveCard
118384340900.00009
ns/iter118571526399.99992
ns/iter1.00
Compiler_2019_09_OMC_JSON_V2
25912099399.99999
ns/iter25598983800.000042
ns/iter1.01
Evaluator_Draft4_Meta_1_No_Callback
446.5548268155685
ns/iter439.9823750000564
ns/iter1.01
Evaluator_Draft4_Required_Properties
720.3409598215416
ns/iter755.6485491070829
ns/iter0.95
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
36.9550446428565
ns/iter35.540559806649235
ns/iter1.04
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
22.170424999998772
ns/iter22.299621874999787
ns/iter0.99
Evaluator_Draft4_Items_Schema
616.7301785714991
ns/iter853.1087053569307
ns/iter0.72
Evaluator_Draft4_Nested_Object
4.1467017038336556
ns/iter4.040223578643813
ns/iter1.03
Evaluator_Draft4_Properties_Triad_Optional
4255.341537794064
ns/iter4305.830309897123
ns/iter0.99
Evaluator_Draft4_Properties_Triad_Closed
3510.9784124610787
ns/iter3437.8376122096874
ns/iter1.02
Evaluator_Draft4_Properties_Triad_Required
4297.066343869334
ns/iter4326.8499999996375
ns/iter0.99
Evaluator_Draft4_Properties_Closed
142.34110078833208
ns/iter141.55956734108585
ns/iter1.01
Evaluator_Draft4_Non_Recursive_Ref
15.280386160715207
ns/iter15.495551339285946
ns/iter0.99
Evaluator_Draft4_Pattern_Properties_True
8801.566957289457
ns/iter7008.820312499609
ns/iter1.26
Evaluator_Draft4_Ref_To_Single_Property
23.09612585830569
ns/iter29.297864601345257
ns/iter0.79
Evaluator_Draft4_Additional_Properties_Type
29.617900239561283
ns/iter29.490621442934273
ns/iter1.00
Evaluator_Draft4_Nested_Oneof
145.35180154681441
ns/iter137.05221486378284
ns/iter1.06
Evaluator_Draft4_Long_Enum
21.64194687500043
ns/iter20.49739915844135
ns/iter1.06
Evaluator_Draft4_Type_Object
9.622400849900545
ns/iter9.610120312498083
ns/iter1.00
Evaluator_Draft6_Property_Names
553.207200000088
ns/iter549.9600000000555
ns/iter1.01
Evaluator_Draft7_If_Then_Else
51.649187499996124
ns/iter49.34329999998681
ns/iter1.05
Evaluator_Draft7_Vercel_1
134478.98754519786
ns/iter135984.8533547354
ns/iter0.99
Evaluator_2019_09_Unevaluated_Properties
436.3473125000894
ns/iter446.207749999985
ns/iter0.98
Evaluator_2019_09_OMC_JSON_V2_1
9845.017209744972
ns/iter9851.879679108068
ns/iter1.00
Evaluator_2020_12_Dynamic_Ref
1416.2281177554162
ns/iter1382.44337837369
ns/iter1.02
This comment was automatically generated by workflow using github-action-benchmark.