-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #511 from pq-code-package/reduce_doc
reduce.c: Simplify bounds documentation and fix runtime assertion
- Loading branch information
Showing
1 changed file
with
21 additions
and
26 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
5bfad46
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.
Arm Cortex-A76 (Raspberry Pi 5) benchmarks
ML-KEM-512 keypair
29185
cycles29185
cycles1
ML-KEM-512 encaps
35550
cycles35551
cycles1.00
ML-KEM-512 decaps
46100
cycles46102
cycles1.00
ML-KEM-768 keypair
49233
cycles49235
cycles1.00
ML-KEM-768 encaps
55500
cycles55497
cycles1.00
ML-KEM-768 decaps
70227
cycles70228
cycles1.00
ML-KEM-1024 keypair
72246
cycles72247
cycles1.00
ML-KEM-1024 encaps
81106
cycles81116
cycles1.00
ML-KEM-1024 decaps
100950
cycles100953
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Intel Xeon 4th gen (c7i)
ML-KEM-512 keypair
13915
cycles13510
cycles1.03
ML-KEM-512 encaps
17245
cycles17301
cycles1.00
ML-KEM-512 decaps
23087
cycles22838
cycles1.01
ML-KEM-768 keypair
22494
cycles22517
cycles1.00
ML-KEM-768 encaps
24579
cycles24520
cycles1.00
ML-KEM-768 decaps
32576
cycles32555
cycles1.00
ML-KEM-1024 keypair
31387
cycles31395
cycles1.00
ML-KEM-1024 encaps
34871
cycles34905
cycles1.00
ML-KEM-1024 decaps
45701
cycles45825
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
AMD EPYC 3rd gen (c6a)
ML-KEM-512 keypair
18097
cycles18106
cycles1.00
ML-KEM-512 encaps
23140
cycles23149
cycles1.00
ML-KEM-512 decaps
30443
cycles30463
cycles1.00
ML-KEM-768 keypair
31128
cycles31092
cycles1.00
ML-KEM-768 encaps
34204
cycles34124
cycles1.00
ML-KEM-768 decaps
44656
cycles44663
cycles1.00
ML-KEM-1024 keypair
44576
cycles44598
cycles1.00
ML-KEM-1024 encaps
49890
cycles49915
cycles1.00
ML-KEM-1024 decaps
64382
cycles64406
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Intel Xeon 4th gen (c7i) (no-opt)
ML-KEM-512 keypair
35446
cycles35549
cycles1.00
ML-KEM-512 encaps
44054
cycles43926
cycles1.00
ML-KEM-512 decaps
58722
cycles58454
cycles1.00
ML-KEM-768 keypair
59028
cycles58968
cycles1.00
ML-KEM-768 encaps
70349
cycles70270
cycles1.00
ML-KEM-768 decaps
89084
cycles89052
cycles1.00
ML-KEM-1024 keypair
86482
cycles86573
cycles1.00
ML-KEM-1024 encaps
102183
cycles102066
cycles1.00
ML-KEM-1024 decaps
126319
cycles125645
cycles1.01
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
AMD EPYC 4th gen (c7a)
ML-KEM-512 keypair
14882
cycles14880
cycles1.00
ML-KEM-512 encaps
19683
cycles19705
cycles1.00
ML-KEM-512 decaps
26353
cycles26384
cycles1.00
ML-KEM-768 keypair
25552
cycles25559
cycles1.00
ML-KEM-768 encaps
28103
cycles28094
cycles1.00
ML-KEM-768 decaps
37813
cycles37808
cycles1.00
ML-KEM-1024 keypair
35615
cycles35636
cycles1.00
ML-KEM-1024 encaps
41001
cycles40946
cycles1.00
ML-KEM-1024 decaps
54437
cycles54436
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Graviton4
ML-KEM-512 keypair
18204
cycles18205
cycles1.00
ML-KEM-512 encaps
22233
cycles22234
cycles1.00
ML-KEM-512 decaps
28995
cycles28993
cycles1.00
ML-KEM-768 keypair
30701
cycles30696
cycles1.00
ML-KEM-768 encaps
33743
cycles33742
cycles1.00
ML-KEM-768 decaps
43339
cycles43337
cycles1.00
ML-KEM-1024 keypair
44358
cycles44364
cycles1.00
ML-KEM-1024 encaps
49793
cycles49797
cycles1.00
ML-KEM-1024 decaps
62876
cycles62878
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Intel Xeon 3rd gen (c6i)
ML-KEM-512 keypair
20329
cycles20325
cycles1.00
ML-KEM-512 encaps
26912
cycles26919
cycles1.00
ML-KEM-512 decaps
35742
cycles35730
cycles1.00
ML-KEM-768 keypair
34866
cycles34866
cycles1
ML-KEM-768 encaps
38220
cycles38205
cycles1.00
ML-KEM-768 decaps
50921
cycles50936
cycles1.00
ML-KEM-1024 keypair
47945
cycles47962
cycles1.00
ML-KEM-1024 encaps
53961
cycles53929
cycles1.00
ML-KEM-1024 decaps
71510
cycles71531
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Graviton3
ML-KEM-512 keypair
18989
cycles18990
cycles1.00
ML-KEM-512 encaps
23581
cycles23584
cycles1.00
ML-KEM-512 decaps
30740
cycles30742
cycles1.00
ML-KEM-768 keypair
32251
cycles32252
cycles1.00
ML-KEM-768 encaps
35685
cycles35686
cycles1.00
ML-KEM-768 decaps
45867
cycles45867
cycles1
ML-KEM-1024 keypair
46806
cycles46807
cycles1.00
ML-KEM-1024 encaps
52555
cycles52556
cycles1.00
ML-KEM-1024 decaps
66451
cycles66444
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
AMD EPYC 3rd gen (c6a) (no-opt)
ML-KEM-512 keypair
52306
cycles52341
cycles1.00
ML-KEM-512 encaps
65909
cycles65948
cycles1.00
ML-KEM-512 decaps
88556
cycles88633
cycles1.00
ML-KEM-768 keypair
85600
cycles85662
cycles1.00
ML-KEM-768 encaps
101705
cycles101779
cycles1.00
ML-KEM-768 decaps
132595
cycles132638
cycles1.00
ML-KEM-1024 keypair
124943
cycles125105
cycles1.00
ML-KEM-1024 encaps
146105
cycles146318
cycles1.00
ML-KEM-1024 decaps
184591
cycles184560
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Graviton2
ML-KEM-512 keypair
29202
cycles29195
cycles1.00
ML-KEM-512 encaps
35572
cycles35562
cycles1.00
ML-KEM-512 decaps
46126
cycles46112
cycles1.00
ML-KEM-768 keypair
49229
cycles49249
cycles1.00
ML-KEM-768 encaps
55496
cycles55528
cycles1.00
ML-KEM-768 decaps
70212
cycles70237
cycles1.00
ML-KEM-1024 keypair
72343
cycles72332
cycles1.00
ML-KEM-1024 encaps
81104
cycles81084
cycles1.00
ML-KEM-1024 decaps
100950
cycles100928
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
AMD EPYC 4th gen (c7a) (no-opt)
ML-KEM-512 keypair
45737
cycles45754
cycles1.00
ML-KEM-512 encaps
56887
cycles56918
cycles1.00
ML-KEM-512 decaps
76259
cycles76297
cycles1.00
ML-KEM-768 keypair
74542
cycles74524
cycles1.00
ML-KEM-768 encaps
88462
cycles88134
cycles1.00
ML-KEM-768 decaps
113874
cycles113829
cycles1.00
ML-KEM-1024 keypair
109401
cycles109467
cycles1.00
ML-KEM-1024 encaps
126981
cycles127078
cycles1.00
ML-KEM-1024 decaps
159463
cycles159481
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Graviton4 (no-opt)
ML-KEM-512 keypair
41978
cycles41968
cycles1.00
ML-KEM-512 encaps
50179
cycles50179
cycles1
ML-KEM-512 decaps
66065
cycles66064
cycles1.00
ML-KEM-768 keypair
69065
cycles69062
cycles1.00
ML-KEM-768 encaps
79787
cycles79786
cycles1.00
ML-KEM-768 decaps
101039
cycles101039
cycles1
ML-KEM-1024 keypair
102242
cycles102497
cycles1.00
ML-KEM-1024 encaps
117257
cycles117492
cycles1.00
ML-KEM-1024 decaps
143770
cycles143470
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Intel Xeon 3rd gen (c6i) (no-opt)
ML-KEM-512 keypair
56797
cycles56828
cycles1.00
ML-KEM-512 encaps
69370
cycles69420
cycles1.00
ML-KEM-512 decaps
91193
cycles91195
cycles1.00
ML-KEM-768 keypair
91995
cycles92099
cycles1.00
ML-KEM-768 encaps
107709
cycles107870
cycles1.00
ML-KEM-768 decaps
136285
cycles136514
cycles1.00
ML-KEM-1024 keypair
135037
cycles135097
cycles1.00
ML-KEM-1024 encaps
155441
cycles155495
cycles1.00
ML-KEM-1024 decaps
191923
cycles191987
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Graviton3 (no-opt)
ML-KEM-512 keypair
45347
cycles45349
cycles1.00
ML-KEM-512 encaps
54188
cycles54189
cycles1.00
ML-KEM-512 decaps
71115
cycles71113
cycles1.00
ML-KEM-768 keypair
74820
cycles74811
cycles1.00
ML-KEM-768 encaps
86067
cycles86070
cycles1.00
ML-KEM-768 decaps
108761
cycles108766
cycles1.00
ML-KEM-1024 keypair
111101
cycles111080
cycles1.00
ML-KEM-1024 encaps
125977
cycles125976
cycles1.00
ML-KEM-1024 decaps
154633
cycles154628
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Graviton2 (no-opt)
ML-KEM-512 keypair
71170
cycles71113
cycles1.00
ML-KEM-512 encaps
85068
cycles85069
cycles1.00
ML-KEM-512 decaps
112744
cycles112755
cycles1.00
ML-KEM-768 keypair
117782
cycles117788
cycles1.00
ML-KEM-768 encaps
135418
cycles135434
cycles1.00
ML-KEM-768 decaps
171942
cycles171961
cycles1.00
ML-KEM-1024 keypair
175236
cycles175359
cycles1.00
ML-KEM-1024 encaps
197359
cycles197409
cycles1.00
ML-KEM-1024 decaps
243558
cycles243621
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Bananapi bpi-f3 benchmarks
ML-KEM-512 keypair
368957
cycles368942
cycles1.00
ML-KEM-512 encaps
508177
cycles508179
cycles1.00
ML-KEM-512 decaps
682344
cycles682312
cycles1.00
ML-KEM-768 keypair
619562
cycles619600
cycles1.00
ML-KEM-768 encaps
799242
cycles799279
cycles1.00
ML-KEM-768 decaps
1025243
cycles1025223
cycles1.00
ML-KEM-1024 keypair
922566
cycles922629
cycles1.00
ML-KEM-1024 encaps
1146508
cycles1147343
cycles1.00
ML-KEM-1024 decaps
1420999
cycles1420196
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Arm Cortex-A55 (Snapdragon 888) benchmarks
ML-KEM-512 keypair
57942
cycles57917
cycles1.00
ML-KEM-512 encaps
65237
cycles65215
cycles1.00
ML-KEM-512 decaps
83893
cycles83905
cycles1.00
ML-KEM-768 keypair
98093
cycles98057
cycles1.00
ML-KEM-768 encaps
108820
cycles109135
cycles1.00
ML-KEM-768 decaps
135970
cycles136044
cycles1.00
ML-KEM-1024 keypair
148663
cycles148734
cycles1.00
ML-KEM-1024 encaps
164468
cycles165251
cycles1.00
ML-KEM-1024 decaps
200064
cycles200515
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
5bfad46
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.
Arm Cortex-A72 (Raspberry Pi 4) benchmarks
ML-KEM-512 keypair
51454
cycles51635
cycles1.00
ML-KEM-512 encaps
57979
cycles58258
cycles1.00
ML-KEM-512 decaps
73529
cycles73876
cycles1.00
ML-KEM-768 keypair
87843
cycles88910
cycles0.99
ML-KEM-768 encaps
96159
cycles97385
cycles0.99
ML-KEM-768 decaps
119337
cycles119980
cycles0.99
ML-KEM-1024 keypair
131980
cycles132451
cycles1.00
ML-KEM-1024 encaps
144414
cycles145660
cycles0.99
ML-KEM-1024 decaps
175666
cycles175776
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.