From 46d1b8f6b63b38a967d33791e46219d9201a073c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 24 Jan 2021 18:14:41 +0100 Subject: update performance measurements --- README.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'README.md') 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 | -- cgit v1.2.3