Performance statistics
GSP 1.12.0 and LVGL 9.6.0 run the same assets, layouts and requested updates on ESP32-S3 and ESP32-P4. Historical results are marked GSP 1.10.3.
Data Comparison CSV · Resource CSV · Measurement record · 1.10.3 historical data · Historical resources · More hardware configurations
What the CSV files contain
| File | Contents |
|---|---|
comparison.csv · 75 records |
FPS, CPU, P95 commit intervals and skipped update requests with observed boot ranges. Version-comparison results are included for the workloads retested across GSP versions. |
resources.csv · 23 records |
Complete application Flash, static SRAM and minimum available SRAM / PSRAM by version. |
Results at a glance
Section titled “Results at a glance”How to read the tables Values are GSP / LVGL. The Difference column shows the FPS ratio for differences above 5% and the relative CPU change otherwise. CPU is averaged across cores, so 50% is one fully busy core on a dual-core chip. Non-animation updates request 60 Hz.
| Metric | ESP32-S3 | ESP32-P4 |
|---|---|---|
| Comparable results | 42 | 14 |
| GSP more than 5% faster | 27 | 3 |
| Similar FPS (within ±5%) | 15 | 11 |
| LVGL more than 5% faster | 0 | 0 |
| GSP CPU reduction at similar FPS | 50.6% | 70.2% |
| FPS ratio, ten core scenarios | 1.90× | 1.42× |
- Fixed decoration and live updates. At similar FPS, GSP CPU changes by −69% on the S3 HMI and −56% on the P4 instrument scene relative to LVGL.
- Image scrolling. On P4, the 16-crop scene submits at 58.17 / 30.44 FPS and the 64-crop scene at 58.17 / 4.41 FPS.
- Lists and animation. The S3 1024-row list runs at 41.97 / 11.72 FPS and four Cube views at 11.80 / 6.15 FPS.
How the overview is calculated
- Comparable results. The overview includes the 1.12.0 main-profile retests. Idle, interaction, frame preparation and the PPA reference are reported separately. Ratios from 0.95 to 1.05 count as similar.
- CPU reduction:
1 − geometric mean(GSP CPU / LVGL CPU)across the similar-FPS cases. - Core scenes. The geometric mean weights the five fixed-decoration and five image, list and animation scenes equally. Omitting the 64-PNG case gives 1.53× on S3 and 1.11× on P4.
Where GSP gains come from
Section titled “Where GSP gains come from”GSP completes work that can be decided at build time to reduce runtime computation:
- Pre-rendered fixed content (baking): backgrounds, scales, cards and other fixed decoration are composed into images at build time, then reused and composed with live values and markers at runtime.
- Preconverted images: PNGs become runtime assets at build time, avoiding on-device decoding of the original PNG; compressed assets still require decoding.
- Preprocessed animation: GIFs become animation resources with preprocessed frame differences, reducing frame preparation and redraw work on the device.
The LVGL cases use native objects and PNG / GIF playback paths, with interfaces that can be built and changed flexibly at runtime. Fixed content and known assets provide more opportunities for GSP preprocessing; this can increase Flash use, as shown in Memory and Flash.
Fixed decoration and live updates
Section titled “Fixed decoration and live updates”GSP bakes fixed decoration while values and markers update live. LVGL uses native objects with the same layout. The 32 changing-layer scene updates the blended content itself. In a separate same-board release A/B on P4, the instrument scene used 5.75% CPU on GSP 1.11.0 and 5.70% on 1.12.0.
ESP32-S3
| Scene | FPS | CPU % | Difference |
|---|---|---|---|
| Fixed HMI + four live values | 42.17 / 42.17 | 12.00 / 38.47 | CPU −69% |
| 16 fixed translucent layers + moving marker | 42.18 / 42.17 | 7.51 / 18.89 | CPU −60% |
| 32 fixed translucent layers + moving marker | 42.17 / 42.17 | 7.58 / 30.89 | CPU −75% |
| Fixed instrument scales + live readings | 42.18 / 42.01 | 28.79 / 46.17 | CPU −38% |
| 32 large changing layers | 4.25 / 2.96 | 49.94 / 50.19 | FPS 1.44× |
ESP32-P4
| Scene | FPS | CPU % | Difference |
|---|---|---|---|
| Fixed HMI + four live values | 59.99 / 59.95 | 4.00 / 13.05 | CPU −69% |
| 16 fixed translucent layers + moving marker | 59.98 / 59.89 | 1.97 / 8.88 | CPU −78% |
| 32 fixed translucent layers + moving marker | 59.98 / 59.83 | 1.97 / 14.42 | CPU −86% |
| Fixed instrument scales + live readings | 59.99 / 59.96 | 5.70 / 12.89 | CPU −56% |
| 32 large changing layers | 7.09 / 5.34 | 49.42 / 49.47 | FPS 1.33× |
Images and lists
Section titled “Images and lists”Both setups use the same 160×120 PNG crops and a 2 MiB image-cache budget. GSP preconverts the crops, and LVGL decodes and caches them on the device. The 64 crops occupy about 2.34 MiB decoded. Both lists reuse visible rows. In the 1024-row list release A/B, GSP 1.11.0 → 1.12.0 measures 16.05 → 41.97 FPS on S3 and 15.67% → 11.26% CPU on P4.
ESP32-S3
| Scene | FPS | CPU % | Difference |
|---|---|---|---|
| 1024-row list | 41.97 / 11.72 | 45.39 / 49.88 | FPS 3.58× |
| 16 PNG crops scrolling | 13.21 / 6.93 | 49.72 / 50.06 | FPS 1.91× |
| 64 PNG crops scrolling | 12.85 / 1.00 | 49.73 / 49.96 | FPS 12.8× |
ESP32-P4
| Scene | FPS | CPU % | Difference |
|---|---|---|---|
| 1024-row list | 58.18 / 58.10 | 11.27 / 39.74 | CPU −72% |
| 16 PNG crops scrolling | 58.17 / 30.44 | 22.77 / 46.64 | FPS 1.91× |
| 64 PNG crops scrolling | 58.17 / 4.41 | 24.02 / 49.42 | FPS 13.2× |
Animation updates
Section titled “Animation updates”Both play the same source GIFs: GSP converts them into animation resources at build time, while LVGL uses its native GIF playback.
Normal playback
Section titled “Normal playback”One asset plays at original size and follows its source timing. FPS counts successful submissions of new source pictures.
ESP32-S3
| Single asset | Source FPS | FPS | CPU % | Difference |
|---|---|---|---|---|
| Scanning GIF (120×120) | 20 | 19.96 / 20.10 | 4.27 / 10.39 | CPU −59% |
| Sparse-change GIF (120×120) | 20 | 19.97 / 20.04 | 3.07 / 12.55 | CPU −76% |
| Cube (256×256) | 25 | 24.99 / 20.28 | 16.87 / 49.90 | FPS 1.23× |
| Paper (256×256) | 26.32 average | 26.28 / 19.11 | 36.56 / 45.72 | FPS 1.38× |
ESP32-P4 (400 MHz)
| Single asset | Source FPS | FPS | CPU % | Difference |
|---|---|---|---|---|
| Scanning GIF (120×120) | 20 | 19.99 / 20.05 | 0.87 / 1.77 | CPU −51% |
| Sparse-change GIF (120×120) | 20 | 20.03 / 20.10 | 0.62 / 2.17 | CPU −71% |
| Cube (256×256) | 25 | 24.98 / 25.09 | 1.50 / 8.15 | CPU −82% |
| Paper (256×256) | 26.32 average | 26.31 / 26.31 | 3.21 / 8.14 | CPU −61% |
Paper uses variable 30 / 70 ms delays; its source FPS is the loop average.
Multiple animations with live UI
Section titled “Multiple animations with live UI”Several animation views play in sync, with live values added in the second case. The counts include all whole-page submissions, including updates triggered by live values. In same-board retests from GSP 1.10.3 to 1.12.0, S3 four-view Cube changed from 15.07 to 11.80 FPS, and P4 mixed-animation CPU changed from 12.59% to 13.93%. The independent S3 release A/B measured 11.77 FPS on 1.11.0 and 11.80 FPS on 1.12.0. The P4 release A/B measured 14.29% CPU on 1.11.0 and 13.91% on 1.12.0.
ESP32-S3
| Scene | FPS | CPU % | Difference |
|---|---|---|---|
| Four synchronized Cube views | 11.80 / 6.15 | 49.73 / 49.85 | FPS 1.92× |
| Four synchronized animations + 16 live values | 42.21 / 16.88 | 40.09 / 50.02 | FPS 2.50× |
ESP32-P4
| Scene | FPS | CPU % | Difference |
|---|---|---|---|
| Four synchronized Cube views | 25.05 / 24.98 | 6.68 / 38.66 | CPU −83% |
| Four synchronized animations + 16 live values | 60.30 / 60.16 | 13.93 / 17.45 | CPU −20% |
Continuous frame-preparation throughput
Section titled “Continuous frame-preparation throughput”Each frame is prepared in order into an RGB565 buffer in PSRAM without waiting for source delays. GSP reaches 2.12×–18.1× the LVGL preparation rate. The measurement ends when the RGB565 playback frame is ready.
| Single asset | S3 frames/s | S3 ratio | P4 frames/s | P4 ratio |
|---|---|---|---|---|
| Scanning GIF (120×120) | 12,869 / 1,077 | 12.0× | 30,704 / 2,590 | 11.9× |
| Sparse-change GIF (120×120) | 8,779 / 485 | 18.1× | 18,600 / 1,264 | 14.7× |
| Cube (256×256) | 618 / 93 | 6.63× | 2,189 / 223 | 9.81× |
| Paper (256×256) | 184 / 87 | 2.12× | 656 / 237 | 2.77× |
Dragging and dropdown interaction
Section titled “Dragging and dropdown interaction”These S3 software-input replays pass functional end-state checks on both frameworks. The table reports observed loads during each native interaction replay. Inertia and release curves differ, so the results neither rank smoothness by frame count nor establish CPU efficiency at equal smoothness.
| Action | CPU % | Difference |
|---|---|---|
| Full-screen page drag | 20.95 / 42.05 | CPU −50% |
| Short drag and rebound | 19.74 / 23.04 | CPU −14% |
| List swipe and selection | 41.10 / 48.37 | CPU −15% |
| Pull-down panel | 19.02 / 28.30 | CPU −33% |
| Dropdown selection | 1.79 / 9.71 | CPU −82% |
More scenarios
Section titled “More scenarios”The S3 drawing cases follow LVGL benchmark workload families. The tables report individual workloads. Sensor-value and status-paragraph updates reach 42.15 / 12.65 and 42.15 / 15.03 FPS.
Transforms and controls (14 cases)
| Scene | FPS | CPU % | Difference |
|---|---|---|---|
| Flat HMI + four live values | 42.17 / 42.17 | 10.86 / 33.21 | CPU −67% |
| PNG scaling | 42.15 / 42.14 | 14.50 / 29.10 | CPU −50% |
| PNG rotation | 42.15 / 42.14 | 15.68 / 35.07 | CPU −55% |
| Sensor value updates | 42.15 / 12.65 | 29.27 / 49.82 | FPS 3.33× |
| Status paragraph updates | 42.15 / 15.03 | 22.54 / 49.76 | FPS 2.80× |
| Progress, switches and arcs | 42.17 / 42.15 | 20.41 / 22.25 | CPU −8% |
| 40-row list scrolling | 42.16 / 13.83 | 42.77 / 50.04 | FPS 3.05× |
| Sparse dashboard updates | 42.15 / 42.15 | 6.70 / 11.50 | CPU −42% |
| Live dashboard | 42.14 / 42.14 | 16.36 / 35.16 | CPU −53% |
| Moving card | 42.16 / 42.15 | 11.87 / 11.47 | CPU +3% |
| 8 changing translucent layers | 42.15 / 38.50 | 43.23 / 50.12 | FPS 1.09× |
| 32 changing translucent layers | 9.97 / 8.75 | 49.88 / 49.94 | FPS 1.14× |
| Fixed control panel and live foreground | 42.15 / 42.14 | 14.68 / 22.13 | CPU −34% |
| Static idle | 0.00 / 0.00 | 0.64 / 1.41 | — |
Static pages stop submitting on demand; 0 FPS does not indicate a stall.
Drawing and composition (15 cases)
| Scene | FPS | CPU % | Difference |
|---|---|---|---|
| Full-screen background recolor | 17.45 / 15.86 | 49.87 / 49.88 | FPS 1.10× |
| Moving background | 13.56 / 3.77 | 50.03 / 49.95 | FPS 3.59× |
| Single rectangle recolor | 42.15 / 42.14 | 15.29 / 14.26 | CPU +7% |
| Nine rectangles recolor | 27.22 / 23.61 | 49.95 / 49.80 | FPS 1.15× |
| Moving opaque images | 26.84 / 13.55 | 49.76 / 49.59 | FPS 1.98× |
| Moving alpha images | 18.37 / 13.83 | 49.82 / 49.83 | FPS 1.33× |
| Moving and rotating alpha images | 28.21 / 18.53 | 49.94 / 49.80 | FPS 1.52× |
| Label recolor | 24.83 / 8.78 | 49.63 / 49.94 | FPS 2.83× |
| Multi-screen text scrolling | 9.97 / 5.43 | 49.71 / 49.80 | FPS 1.84× |
| Multiple live arcs | 12.41 / 7.11 | 49.69 / 49.95 | FPS 1.75× |
| Moving complex cards | 25.06 / 18.53 | 49.03 / 49.33 | FPS 1.35× |
| Moving cards + translucent overlay | 11.07 / 7.57 | 49.85 / 49.98 | FPS 1.46× |
| Individually translucent cards | 22.90 / 15.74 | 49.12 / 49.56 | FPS 1.45× |
| 40 complex cards scrolling | 10.29 / 7.40 | 49.88 / 49.98 | FPS 1.39× |
| Mixed controls | 42.15 / 36.55 | 27.27 / 49.83 | FPS 1.15× |
Memory and Flash
Section titled “Memory and Flash”The fixed-decoration suites trade Flash for CPU. GSP retains page contexts and LVGL creates the current page on demand. ↓ means lower is better and ↑ means higher is better. The complete fixed-decoration app uses 2.76 MiB more Flash than LVGL on S3 and 4.34 MiB more on P4.
| Complete application | Flash MiB ↓ | Static SRAM KiB ↓ | Minimum free SRAM KiB ↑ | Minimum free PSRAM MiB ↑ |
|---|---|---|---|---|
| Fixed decoration · P4 | 5.44 / 1.10 | 131.93 / 128.71 | 222.50 / 207.78 | 23.08 / 27.44 |
| Fixed decoration · S3 | 3.69 / 0.93 | 113.13 / 112.99 | 133.00 / 105.02 | 10.07 / 12.87 |
| Images, lists and animation · P4 | 4.02 / 3.87 | 131.93 / 128.71 | 201.71 / 207.53 | 24.35 / 22.53 |
| Images, lists and animation · S3 | 3.86 / 3.70 | 113.13 / 112.99 | 103.87 / 104.76 | 9.78 / 7.96 |
| Single-GIF suite · P4 | 1.87 / 1.78 | 131.23 / 128.04 | 208.59 / 247.16 | 26.52 / 26.61 |
| Single-GIF suite · S3 | 1.72 / 1.62 | 113.25 / 113.13 | 109.37 / 143.23 | 11.94 / 12.04 |
| Single-page flat HMI · S3 | 2.24 / 1.48 | 113.13 / 112.99 | 138.36 / 106.54 | 11.54 / 10.54 |
| Transforms and controls · S3 | 2.32 / 1.48 | 101.88 / 101.73 | 109.62 / 130.16 | 9.75 / 12.23 |
| Drawing and composition · S3 | 1.11 / 0.97 | 101.88 / 101.73 | 131.98 / 82.28 | 12.46 / 12.58 |
The comparisons capture the cited configurations, including GSP build-time preprocessing and LVGL native objects, PNG and GIF decoders. The published scope excludes optional LVGL preconverted assets, image sequences and alternative decoders.
Test environment
Section titled “Test environment”| Chip | CPU | PSRAM | Display |
|---|---|---|---|
| ESP32-S3 | 240 MHz | 16 MiB | RGB · 800×480 · PCLK 18 MHz |
| ESP32-P4 | 360 MHz (single-GIF suite 400 MHz) | 32 MiB | MIPI-DSI · 1024×600 |
The main profile uses GSP 1.12.0 / GSPC 0.13.0, LVGL 9.6.0, ESP-IDF b6293eeb209, esp_display_present 1.2.2 and RGB565. Both use AUTO presentation. GSP uses its default SoC acceleration policy, and the main LVGL profile uses software rendering. The current comparison CSV reports P4 LVGL PPA with TRIPLE_FULL as a separate reference.
Measurement definitions
- FPS: successful frame submissions per second, rather than optical screen refreshes. Single-animation and mixed-page counting scopes are specified in their sections.
- CPU: the Difference column gives relative changes calculated from unrounded values, rather than percentage-point differences in CPU use.
- Repeated measurements: two independent boots after warm-up, aggregated per boot before taking the median. CSV ranges are observations, not confidence intervals; ±5% is an FPS classification rule, not statistical equivalence.
- Resources: complete application costs. Static SRAM comes from the ELF; minimum free memory is the median of the minimum free heap from each boot. PSRAM includes resident code and dynamic allocations and must not be added directly to ELF payloads. KiB / MiB mean 1,024 / 1,048,576 bytes.