diff --git a/benches/boringssl/CMakeLists.txt b/benches/boringssl/CMakeLists.txt index 0c1c4ff99..d6dfdbdcc 100644 --- a/benches/boringssl/CMakeLists.txt +++ b/benches/boringssl/CMakeLists.txt @@ -8,6 +8,8 @@ project(BENCHMARKS CXX) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_BUILD_TYPE Release) + FetchContent_Declare( boringssl GIT_REPOSITORY https://boringssl.googlesource.com/boringssl diff --git a/src/kem/kyber768/PERFORMANCE.md b/src/kem/kyber768/PERFORMANCE.md new file mode 100644 index 000000000..93bf98dd9 --- /dev/null +++ b/src/kem/kyber768/PERFORMANCE.md @@ -0,0 +1,8 @@ +N.B.: All measurements were taken on an M1 MacBook Air with 16 GB of memory. + +| | Key Generation (µs) | Encapsulation (µs) | Decapsulation (µs) | +|:----------|----------------------:|---------------------:|---------------------:| +| libcrux | 30.671 | 36.31 | 36.3 | +| BoringSSL | 33.8152 | 28.7323 | 35.2664 | +| CIRCL | 39.785 | 44.517 | 49.626 | +| PQClean | 30.671 | 38.511 | 43.458 | \ No newline at end of file