summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-24 18:14:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-24 18:14:41 +0100
commit46d1b8f6b63b38a967d33791e46219d9201a073c (patch)
treeee7034304eab12cf7fc2647bc79d93b285873b4f
parentddd6627c1a226d350d388a16fcfcddf8946d22b9 (diff)
update performance measurements
-rw-r--r--README.md24
1 files changed, 13 insertions, 11 deletions
diff --git a/README.md b/README.md
index 1ecbe90..65dfbe2 100644
--- a/README.md
+++ b/README.md
@@ -104,14 +104,16 @@ The code *almost* complies with RFC 1951, with the following exceptions.
* zlib-deflate-nostdlib does not yet support compressed items consisting of
more than one deflate block. I intend to fix this.
-## Requirements
-
-RAM usage excludes the space needed for input and output buffer. Numbers
-rounded up to the next multiple of 16B.
-
-| Architecture | ROM | RAM
-| :--- | ---: | ---: |
-| 8-bit ATMega328P | 1584 B | 624 B |
-| 16-bit MSP430FR5994 | 2304 B | 432 B |
-| 20-bit MSP430FR5994 | 2608 B | 432 B |
-| 32-bit STM32F446RE (ARM Cortex M3) | 1744 B | 432 B |
+## Requirements and Performance
+
+RAM usage excludes the space needed for input and output buffer. ROM/RAM usage
+rounded up to the next multiple of 16B. Performance tested with text files of
+various sizes, minimum file size 500 bytes, maximum file size determined by the
+amount of available RAM.
+
+| Architecture | ROM | RAM | Speed
+| :--- | ---: | ---: | ---: |
+| 8-bit ATMega328P @ 16 MHz | 1440 B | 624 B | 10 .. 22 kB/s |
+| 16-bit MSP430FR5994 @ 16 MHz | 2224 B | 432 B | 8 .. 16 kB/s |
+| 20-bit MSP430FR5994 @ 16 MHz | 2512 B | 432 B | 8 .. 16 kB/s |
+| 32-bit STM32F446RE (ARM Cortex M3) @ 168 MHz | 1552 B | 432 B | 258 .. 898 kB/s |