Issue Description
I'm experiencing significant performance degradation with builds created recently compared to builds from mid-April. The LCD rendering is noticeably slower, and the binary size has increased from 125KB to 127KB despite no code changes. This affects a Particle P1 device running Device OS 2.0.1.
Environment Details
- Device: Particle P1
- Device OS: 2.0.1
- Particle CLI: Recently updated to 3.35.7 (problem persisted after downgrading)
- Particle Workbench: Updated to 1.16.37 on April 16, 2025 (problem persisted after downgrading)
- Build system: Using VS Code Particle Workbench plugin
- Build scripts: Multiple versions in environment (1.10.0, 1.10.1, 1.15.0)
- Operating System: macOS 14.6.1
Timeline
- Last known good build: April 14, 2025
- Particle Workbench updated: April 16, 2025
- Particle CLI updated to 3.35.7: Very recently
Video Demonstration
I've created a video showing the performance difference between the older working build and the newer slow build. The video clearly demonstrates the LCD rendering speed difference. You can view it at: (https://drive.google.com/file/d/1zCX4_tsuWrjc02RX448JG7XSeh1aaZs8/view?usp=share_link)
Troubleshooting Steps Already Taken
- Verified code is identical (using git)
- Downgraded Particle CLI to previous version
- Downgraded Particle Workbench to previous version
- Attempted to force different buildscript versions
- Performed clean builds
- Tried various Device OS versions (1.0.1, 2.3.1, 3.3.1) - issue persists across all versions
- Tried cloud compile instead of local compile
Observed vs Expected Behavior
- Expected: LCD rendering at normal speed as seen in builds from April 14 and earlier
- Observed: Noticeably slower LCD rendering, larger binary size with identical code
Questions for Support
- What changes in the build system would simultaneously cause performance degradation and increased binary size with identical source code?
- Have there been changes to default compiler settings (optimisation flags, debug info, etc.) in recent build tools that would affect performance?
- Could recent updates to the build system be implicitly enabling debug mode or reducing optimisation levels?
- Are there known issues with the Particle Workbench 1.16.37 update from April 16 affecting build performance?
Additional Information
I'm willing to provide any logs, binary comparisons, or other information that might help diagnose this issue. The performance degradation is consistent across multiple builds with no code changes.