From c9ddcf3233b34f1225afa52b89b12c6835103152 Mon Sep 17 00:00:00 2001 From: Jackson Walters Date: Wed, 19 Feb 2025 16:09:20 -0500 Subject: [PATCH 1/2] add benchmark times --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c8126a7..aaae067 100644 --- a/README.md +++ b/README.md @@ -41,3 +41,8 @@ Generates the ciphertext. Decrypts the ciphertext given a secret key, printing the plaintext message. +**Benchmarks** + +| n | q | k | keygen | encrypt | decrypt | keygen_string | encrypt_string | decrypt_string | +|----|-------|----|----------|-----------|-----------|---------------|----------------|----------------| +| 32 | 12289 | 8 | 286.05 µs| 230.64 µs | 24.253 µs | 397.93 µs | 545.25 µs | 64.615 µs | From 724bd2bfca4396b5eabe8867409af69ebb938d86 Mon Sep 17 00:00:00 2001 From: Jackson Walters Date: Wed, 19 Feb 2025 16:11:01 -0500 Subject: [PATCH 2/2] whitespace --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aaae067..946d19a 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,6 @@ Decrypts the ciphertext given a secret key, printing the plaintext message. **Benchmarks** -| n | q | k | keygen | encrypt | decrypt | keygen_string | encrypt_string | decrypt_string | -|----|-------|----|----------|-----------|-----------|---------------|----------------|----------------| -| 32 | 12289 | 8 | 286.05 µs| 230.64 µs | 24.253 µs | 397.93 µs | 545.25 µs | 64.615 µs | +| n | q | k | keygen | encrypt | decrypt | keygen_string | encrypt_string | decrypt_string | +|----|-------|---|----------|-----------|-----------|---------------|----------------|----------------| +| 32 | 12289 | 8 | 286.05 µs| 230.64 µs | 24.253 µs | 397.93 µs | 545.25 µs | 64.615 µs |