Skip to content

Commit

Permalink
Update core frequencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneider-bensch committed Nov 6, 2024
1 parent e09bd69 commit 04916d5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All numbers reported here refer to cycle counts.

| Device | Clock speed |
|---------------------------------|-------------------------------|
| [ESP32-S3] [^1] [^2] | 240 MHz |
| [STM32-L4R5xx] (our Nucleo-144) | 4 MHz (default, up to 120MHz) |
| [ESP32-C6] [^3] | 160 MHz |
| [nRF52840-DK] | 64 MHz |
| [nRF5340-DK] | 128 MHz |
| [nRF52-DK] | |
| - nRF52832 | 64 MHz |
| - nRF52810 | 64 MHz |

## ML-KEM

### ML-KEM 512
Expand Down
2 changes: 1 addition & 1 deletion libcrux-nrf52810/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use embassy_nrf as _; // memory layout

use panic_probe as _;

pub const COREFREQ: u32 = 4_000_000;
pub const COREFREQ: u32 = 64_000_000;

// same panicking *behavior* as `panic-probe` but doesn't print a panic message
// this prevents the panic message being printed *twice* when `defmt::panic` is invoked
Expand Down
2 changes: 1 addition & 1 deletion libcrux-nrf52832/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use embassy_nrf as _; // memory layout

use panic_probe as _;

pub const COREFREQ: u32 = 4_000_000;
pub const COREFREQ: u32 = 64_000_000;

// same panicking *behavior* as `panic-probe` but doesn't print a panic message
// this prevents the panic message being printed *twice* when `defmt::panic` is invoked
Expand Down
2 changes: 1 addition & 1 deletion libcrux-nrf52840/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use embassy_nrf as _; // memory layout

use panic_probe as _;

pub const COREFREQ: u32 = 4_000_000;
pub const COREFREQ: u32 = 64_000_000;

// same panicking *behavior* as `panic-probe` but doesn't print a panic message
// this prevents the panic message being printed *twice* when `defmt::panic` is invoked
Expand Down
2 changes: 1 addition & 1 deletion libcrux-nrf5340/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use embassy_nrf as _; // memory layout

use panic_probe as _;

pub const COREFREQ: u32 = 4_000_000;
pub const COREFREQ: u32 = 128_000_000;

// same panicking *behavior* as `panic-probe` but doesn't print a panic message
// this prevents the panic message being printed *twice* when `defmt::panic` is invoked
Expand Down

0 comments on commit 04916d5

Please sign in to comment.