From 652c7cb4667594a21395c1b2bb7ab9f5f454df6f Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Tue, 22 Apr 2025 13:31:26 +0200 Subject: [PATCH] Add example results --- apps/com.example.cputest/assets/main.py | 6 +++++ apps/com.example.memtester/assets/main.py | 28 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/apps/com.example.cputest/assets/main.py b/apps/com.example.cputest/assets/main.py index ff9fe3d5..d7d54a7b 100644 --- a/apps/com.example.cputest/assets/main.py +++ b/apps/com.example.cputest/assets/main.py @@ -1,3 +1,9 @@ +# Example results for ESP32-S3 with 8MB SPIRAM: +# Test Summary: +# Busy loop: 153018.20 iterations/second +# Busy loop with yield: 40303.37 iterations/second +# SHA-256 (1KB): 7357.60 iterations/second + import time import hashlib import os diff --git a/apps/com.example.memtester/assets/main.py b/apps/com.example.memtester/assets/main.py index 1c0f7686..33bd9fa3 100644 --- a/apps/com.example.memtester/assets/main.py +++ b/apps/com.example.memtester/assets/main.py @@ -1,3 +1,31 @@ +# Example results for ESP32-S3 with 8MB SPIRAM: +# +#=== Memory Allocation Test Summary === +#Buffer Size (bytes) | Max Buffers Allocated +#---------------------------------------- +# 2 | 25762 +# 4 | 25760 +# 8 | 25771 +# 16 | 25759 +# 32 | 35541 +# 64 | 11276 +# 128 | 6517 +# 256 | 3521 +# 512 | 1832 +# 1024 | 932 +# 2048 | 466 +# 4096 | 232 +# 8192 | 115 +# 16384 | 56 +# 32768 | 26 +# 65536 | 12 +# 131072 | 9 +# 262144 | 4 +# 524288 | 2 +# 1048576 | 1 +# 2097152 | 0 +#===================================== + import gc import time