Skip to content

Commit

Permalink
Merge pull request #617 from pq-code-package/c99_c11_build
Browse files Browse the repository at this point in the history
CI: Generalize compiler test to exercise various C standards
  • Loading branch information
hanno-becker authored Jan 6, 2025
2 parents b99d14a + 472f946 commit 8868f4e
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 37 deletions.
1 change: 1 addition & 0 deletions .github/actions/functest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ runs:
- name: ${{ env.MODE }} ${{ inputs.opt }} tests (${{ env.FUNC }}, ${{ env.KAT }}, ${{ env.NISTKAT }})
shell: ${{ env.SHELL }}
run: |
make clean
./scripts/tests all --exec-wrapper="${{ inputs.exec_wrapper }}" --cross-prefix="${{ inputs.cross_prefix }}" --cflags="${{ inputs.cflags }}" --opt=${{ inputs.opt }} --${{ env.FUNC }} --${{ env.KAT }} --${{ env.NISTKAT }} --${{ env.ACVP }} -v
- name: Check namespacing ${{ env.MODE }} ${{ inputs.opt }} tests (${{ env.FUNC }}, ${{ env.KAT }}, ${{ env.NISTKAT }})
shell: ${{ env.SHELL }}
Expand Down
83 changes: 46 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,31 +243,48 @@ jobs:
compile_mode: native
cflags: "-DMLKEM_DEBUG -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
compiler_tests:
name: Compiler tests (${{ matrix.target.name }})
name: Compiler tests (${{ matrix.compiler.name }}, ${{ matrix.target.name }})
needs: [quickcheck, quickcheck-windows, quickcheck-c90, quickcheck-lib, examples, lint, lint-markdown-link]
strategy:
fail-fast: false
matrix:
external:
- ${{ github.repository_owner != 'pq-code-package' }}
target:
- runner: pqcp-arm64
name: 'aarch64'
- runner: ubuntu-latest
name: 'x86_64'
- runner: macos-latest
name: 'macos'
exclude:
- {external: true,
target: {
runner: pqcp-arm64,
name: 'aarch64'
}}
compiler:
- name: gcc-4.8
shell: ci_gcc48
darwin: False
c17: False
- name: gcc-4.9
shell: ci_gcc49
darwin: False
c17: False
- name: gcc-7
shell: ci_gcc7
darwin: False
c17: False
- name: gcc-11
shell: ci_gcc11
darwin: True
- name: gcc-13
shell: ci
darwin: True
- name: gcc-14
shell: ci_gcc14
darwin: True
- name: clang-18
shell: ci_clang18
darwin: True
runs-on: ${{ matrix.target.runner }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: native build+functest (gcc-4.8)
if: ${{ matrix.target.runner != 'macos-latest' }}
- name: native build+functest (default)
if: ${{ matrix.compiler.darwin || matrix.target.runner != 'macos-latest' }}
uses: ./.github/actions/multi-functest
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -276,10 +293,10 @@ jobs:
nistkat: false
kat: false
acvp: false
nix-shell: "ci_gcc48"
nix-shell: ${{ matrix.compiler.shell }}
cflags: "-O1" # _FORTIFY_SOURCE requires compiling with optimization
- name: native build+functest (gcc-4.9)
if: ${{ matrix.target.runner != 'macos-latest' }}
- name: native build+functest (C90)
if: ${{ matrix.compiler.darwin || matrix.target.runner != 'macos-latest' }}
uses: ./.github/actions/multi-functest
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -288,10 +305,10 @@ jobs:
nistkat: false
kat: false
acvp: false
nix-shell: "ci_gcc49"
cflags: "-O1" # _FORTIFY_SOURCE requires compiling with optimization
- name: native build+functest (gcc-7)
if: ${{ matrix.target.runner != 'macos-latest' }}
nix-shell: ${{ matrix.compiler.shell }}
cflags: "-O1 -std=c90" # _FORTIFY_SOURCE requires compiling with optimization
- name: native build+functest (C99)
if: ${{ matrix.compiler.darwin || matrix.target.runner != 'macos-latest' }}
uses: ./.github/actions/multi-functest
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -300,9 +317,10 @@ jobs:
nistkat: false
kat: false
acvp: false
nix-shell: "ci_gcc7"
cflags: "-O1" # _FORTIFY_SOURCE requires compiling with optimization
- name: native build+functest (gcc-11)
nix-shell: ${{ matrix.compiler.shell }}
cflags: "-O1 -std=c99" # _FORTIFY_SOURCE requires compiling with optimization
- name: native build+functest (C11)
if: ${{ matrix.compiler.darwin || matrix.target.runner != 'macos-latest' }}
uses: ./.github/actions/multi-functest
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -311,9 +329,11 @@ jobs:
nistkat: false
kat: false
acvp: false
nix-shell: "ci_gcc11"
cflags: "-O1" # _FORTIFY_SOURCE requires compiling with optimization
- name: native build+functest (gcc-14)
nix-shell: ${{ matrix.compiler.shell }}
cflags: "-O1 -std=c11" # _FORTIFY_SOURCE requires compiling with optimization
- name: native build+functest (C17)
if: ${{ (matrix.compiler.darwin || matrix.target.runner != 'macos-latest') &&
matrix.compiler.c17 }}
uses: ./.github/actions/multi-functest
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -322,19 +342,8 @@ jobs:
nistkat: false
kat: false
acvp: false
nix-shell: "ci_gcc14"
cflags: "-O1" # _FORTIFY_SOURCE requires compiling with optimization
- name: native build+functest (clang-18)
uses: ./.github/actions/multi-functest
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
compile_mode: native
func: true
nistkat: false
kat: false
acvp: false
nix-shell: "ci_clang18"
cflags: "-O1" # _FORTIFY_SOURCE requires compiling with optimization
nix-shell: ${{ matrix.compiler.shell }}
cflags: "-O1 -std=c17" # _FORTIFY_SOURCE requires compiling with optimization
# The purpose of this job is to test non-default yet valid configurations
config_variations:
name: Non-standard configurations
Expand Down

18 comments on commit 8868f4e

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 29058 cycles 29067 cycles 1.00
ML-KEM-512 encaps 35382 cycles 35385 cycles 1.00
ML-KEM-512 decaps 45860 cycles 45862 cycles 1.00
ML-KEM-768 keypair 49389 cycles 49392 cycles 1.00
ML-KEM-768 encaps 55565 cycles 55568 cycles 1.00
ML-KEM-768 decaps 70304 cycles 70309 cycles 1.00
ML-KEM-1024 keypair 72051 cycles 72049 cycles 1.00
ML-KEM-1024 encaps 80826 cycles 80822 cycles 1.00
ML-KEM-1024 decaps 100699 cycles 100697 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 13503 cycles 13932 cycles 0.97
ML-KEM-512 encaps 17257 cycles 17229 cycles 1.00
ML-KEM-512 decaps 22970 cycles 23067 cycles 1.00
ML-KEM-768 keypair 22552 cycles 22541 cycles 1.00
ML-KEM-768 encaps 24486 cycles 24579 cycles 1.00
ML-KEM-768 decaps 32444 cycles 32616 cycles 0.99
ML-KEM-1024 keypair 31399 cycles 31347 cycles 1.00
ML-KEM-1024 encaps 34899 cycles 34871 cycles 1.00
ML-KEM-1024 decaps 45814 cycles 45724 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 18137 cycles 18131 cycles 1.00
ML-KEM-512 encaps 23204 cycles 23320 cycles 1.00
ML-KEM-512 decaps 30535 cycles 30514 cycles 1.00
ML-KEM-768 keypair 31111 cycles 31099 cycles 1.00
ML-KEM-768 encaps 34183 cycles 34188 cycles 1.00
ML-KEM-768 decaps 44761 cycles 44753 cycles 1.00
ML-KEM-1024 keypair 44622 cycles 44903 cycles 0.99
ML-KEM-1024 encaps 49946 cycles 50096 cycles 1.00
ML-KEM-1024 decaps 64347 cycles 64467 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 20340 cycles 20328 cycles 1.00
ML-KEM-512 encaps 27013 cycles 27011 cycles 1.00
ML-KEM-512 decaps 35811 cycles 35816 cycles 1.00
ML-KEM-768 keypair 34884 cycles 34877 cycles 1.00
ML-KEM-768 encaps 38143 cycles 38125 cycles 1.00
ML-KEM-768 decaps 50962 cycles 50938 cycles 1.00
ML-KEM-1024 keypair 47941 cycles 47970 cycles 1.00
ML-KEM-1024 encaps 54104 cycles 54127 cycles 1.00
ML-KEM-1024 decaps 71632 cycles 71661 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 15062 cycles 15064 cycles 1.00
ML-KEM-512 encaps 19683 cycles 19672 cycles 1.00
ML-KEM-512 decaps 26322 cycles 26302 cycles 1.00
ML-KEM-768 keypair 25620 cycles 25556 cycles 1.00
ML-KEM-768 encaps 28260 cycles 28234 cycles 1.00
ML-KEM-768 decaps 38044 cycles 37837 cycles 1.01
ML-KEM-1024 keypair 35650 cycles 35628 cycles 1.00
ML-KEM-1024 encaps 41064 cycles 40992 cycles 1.00
ML-KEM-1024 decaps 54484 cycles 54513 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 34901 cycles 34861 cycles 1.00
ML-KEM-512 encaps 45102 cycles 45002 cycles 1.00
ML-KEM-512 decaps 58999 cycles 58952 cycles 1.00
ML-KEM-768 keypair 59232 cycles 59205 cycles 1.00
ML-KEM-768 encaps 71909 cycles 71841 cycles 1.00
ML-KEM-768 decaps 89376 cycles 89360 cycles 1.00
ML-KEM-1024 keypair 87492 cycles 87803 cycles 1.00
ML-KEM-1024 encaps 104562 cycles 104187 cycles 1.00
ML-KEM-1024 decaps 127571 cycles 126933 cycles 1.01

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

Choose a reason for hiding this comment

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

Graviton4

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 18131 cycles 18136 cycles 1.00
ML-KEM-512 encaps 22163 cycles 22163 cycles 1
ML-KEM-512 decaps 28770 cycles 28771 cycles 1.00
ML-KEM-768 keypair 30568 cycles 30564 cycles 1.00
ML-KEM-768 encaps 33617 cycles 33614 cycles 1.00
ML-KEM-768 decaps 43141 cycles 43141 cycles 1
ML-KEM-1024 keypair 44192 cycles 44194 cycles 1.00
ML-KEM-1024 encaps 49654 cycles 49661 cycles 1.00
ML-KEM-1024 decaps 62650 cycles 62652 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

Choose a reason for hiding this comment

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

Graviton3

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 18965 cycles 18964 cycles 1.00
ML-KEM-512 encaps 23587 cycles 23585 cycles 1.00
ML-KEM-512 decaps 30670 cycles 30670 cycles 1
ML-KEM-768 keypair 32289 cycles 32287 cycles 1.00
ML-KEM-768 encaps 35876 cycles 35883 cycles 1.00
ML-KEM-768 decaps 46041 cycles 46044 cycles 1.00
ML-KEM-1024 keypair 46615 cycles 46610 cycles 1.00
ML-KEM-1024 encaps 52447 cycles 52444 cycles 1.00
ML-KEM-1024 decaps 66246 cycles 66247 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

Choose a reason for hiding this comment

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

Graviton2

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 29190 cycles 29058 cycles 1.00
ML-KEM-512 encaps 35531 cycles 35382 cycles 1.00
ML-KEM-512 decaps 46128 cycles 45900 cycles 1.00
ML-KEM-768 keypair 49417 cycles 49420 cycles 1.00
ML-KEM-768 encaps 55570 cycles 55573 cycles 1.00
ML-KEM-768 decaps 70317 cycles 70322 cycles 1.00
ML-KEM-1024 keypair 72050 cycles 72049 cycles 1.00
ML-KEM-1024 encaps 80851 cycles 80866 cycles 1.00
ML-KEM-1024 decaps 100731 cycles 100730 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 52248 cycles 52176 cycles 1.00
ML-KEM-512 encaps 65810 cycles 65790 cycles 1.00
ML-KEM-512 decaps 88449 cycles 88431 cycles 1.00
ML-KEM-768 keypair 84761 cycles 84781 cycles 1.00
ML-KEM-768 encaps 101508 cycles 101483 cycles 1.00
ML-KEM-768 decaps 132101 cycles 132128 cycles 1.00
ML-KEM-1024 keypair 124061 cycles 124170 cycles 1.00
ML-KEM-1024 encaps 145681 cycles 145849 cycles 1.00
ML-KEM-1024 decaps 183669 cycles 183830 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 45725 cycles 45719 cycles 1.00
ML-KEM-512 encaps 56854 cycles 56852 cycles 1.00
ML-KEM-512 decaps 76263 cycles 76247 cycles 1.00
ML-KEM-768 keypair 74474 cycles 74484 cycles 1.00
ML-KEM-768 encaps 88525 cycles 88550 cycles 1.00
ML-KEM-768 decaps 114364 cycles 114386 cycles 1.00
ML-KEM-1024 keypair 109435 cycles 109353 cycles 1.00
ML-KEM-1024 encaps 127282 cycles 127175 cycles 1.00
ML-KEM-1024 decaps 159919 cycles 159880 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 56645 cycles 56644 cycles 1.00
ML-KEM-512 encaps 69522 cycles 69480 cycles 1.00
ML-KEM-512 decaps 91463 cycles 91435 cycles 1.00
ML-KEM-768 keypair 91884 cycles 91889 cycles 1.00
ML-KEM-768 encaps 107837 cycles 107799 cycles 1.00
ML-KEM-768 decaps 136365 cycles 136386 cycles 1.00
ML-KEM-1024 keypair 134815 cycles 135046 cycles 1.00
ML-KEM-1024 encaps 155385 cycles 155466 cycles 1.00
ML-KEM-1024 decaps 191590 cycles 191632 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 58362 cycles 58349 cycles 1.00
ML-KEM-512 encaps 65783 cycles 65766 cycles 1.00
ML-KEM-512 decaps 84571 cycles 84504 cycles 1.00
ML-KEM-768 keypair 99084 cycles 98967 cycles 1.00
ML-KEM-768 encaps 110269 cycles 110526 cycles 1.00
ML-KEM-768 decaps 137275 cycles 136543 cycles 1.01
ML-KEM-1024 keypair 150077 cycles 150255 cycles 1.00
ML-KEM-1024 encaps 166232 cycles 166388 cycles 1.00
ML-KEM-1024 decaps 202211 cycles 202644 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

Choose a reason for hiding this comment

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

Graviton4 (no-opt)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 41964 cycles 41962 cycles 1.00
ML-KEM-512 encaps 50110 cycles 50107 cycles 1.00
ML-KEM-512 decaps 66079 cycles 66082 cycles 1.00
ML-KEM-768 keypair 69189 cycles 69190 cycles 1.00
ML-KEM-768 encaps 79959 cycles 79959 cycles 1
ML-KEM-768 decaps 101145 cycles 101148 cycles 1.00
ML-KEM-1024 keypair 102475 cycles 102474 cycles 1.00
ML-KEM-1024 encaps 117437 cycles 117439 cycles 1.00
ML-KEM-1024 decaps 143379 cycles 143362 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

Choose a reason for hiding this comment

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

Graviton3 (no-opt)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 45389 cycles 45390 cycles 1.00
ML-KEM-512 encaps 54245 cycles 54243 cycles 1.00
ML-KEM-512 decaps 71152 cycles 71152 cycles 1
ML-KEM-768 keypair 74900 cycles 74901 cycles 1.00
ML-KEM-768 encaps 86137 cycles 86138 cycles 1.00
ML-KEM-768 decaps 108645 cycles 108643 cycles 1.00
ML-KEM-1024 keypair 111111 cycles 111107 cycles 1.00
ML-KEM-1024 encaps 125936 cycles 125936 cycles 1
ML-KEM-1024 decaps 154640 cycles 154645 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

Choose a reason for hiding this comment

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

Graviton2 (no-opt)

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 71212 cycles 71212 cycles 1
ML-KEM-512 encaps 85156 cycles 85158 cycles 1.00
ML-KEM-512 decaps 112560 cycles 112564 cycles 1.00
ML-KEM-768 keypair 117664 cycles 117692 cycles 1.00
ML-KEM-768 encaps 135284 cycles 135274 cycles 1.00
ML-KEM-768 decaps 172110 cycles 172100 cycles 1.00
ML-KEM-1024 keypair 175153 cycles 175049 cycles 1.00
ML-KEM-1024 encaps 197217 cycles 197120 cycles 1.00
ML-KEM-1024 decaps 243474 cycles 243344 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

Choose a reason for hiding this comment

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

Bananapi bpi-f3 benchmarks

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 335147 cycles 335300 cycles 1.00
ML-KEM-512 encaps 445926 cycles 445884 cycles 1.00
ML-KEM-512 decaps 594027 cycles 594357 cycles 1.00
ML-KEM-768 keypair 556494 cycles 556555 cycles 1.00
ML-KEM-768 encaps 698473 cycles 698492 cycles 1.00
ML-KEM-768 decaps 891120 cycles 891135 cycles 1.00
ML-KEM-1024 keypair 822000 cycles 822055 cycles 1.00
ML-KEM-1024 encaps 999007 cycles 998959 cycles 1.00
ML-KEM-1024 decaps 1231313 cycles 1231242 cycles 1.00

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

@oqs-bot
Copy link

@oqs-bot oqs-bot commented on 8868f4e Jan 6, 2025

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

Benchmark suite Current: 8868f4e Previous: b99d14a Ratio
ML-KEM-512 keypair 51736 cycles 52198 cycles 0.99
ML-KEM-512 encaps 58329 cycles 58763 cycles 0.99
ML-KEM-512 decaps 74419 cycles 74513 cycles 1.00
ML-KEM-768 keypair 87917 cycles 87838 cycles 1.00
ML-KEM-768 encaps 96403 cycles 96645 cycles 1.00
ML-KEM-768 decaps 119282 cycles 119756 cycles 1.00
ML-KEM-1024 keypair 131698 cycles 131413 cycles 1.00
ML-KEM-1024 encaps 145336 cycles 144831 cycles 1.00
ML-KEM-1024 decaps 175844 cycles 175325 cycles 1.00

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

Please sign in to comment.