Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3552

SDK • Debug faster than Release?

$
0
0
I've been developing code that displays to a 16 channel (16 GPIO pins) WS2812B matrix using PIO and DMA to bang out the data to the 16 strips of pixels, after the matrix array in row bit major to column bit major.

By default the build mode is Debug, where a framerate test for a 16x30 matrix resulted in 446 FPS.
But when I set the build mode to Release, which is supposed to optimize for speed, the FPS actually drops to 436 FPS.

Anyone have ideas as to why the FPS actually drops when using Release build mode?

Statistics: Posted by DanMan32 — Sun Jan 07, 2024 2:45 am



Viewing all articles
Browse latest Browse all 3552

Trending Articles