Skip to content

Don't write every byte of log messages individually - #3479

Merged
CapnBry merged 2 commits into
ExpressLRS:masterfrom
CapnBry:dbg-faster
Feb 8, 2026
Merged

CapnBry merged 2 commits into
ExpressLRS:masterfrom
CapnBry:dbg-faster

Conversation

@CapnBry

@CapnBry CapnBry commented Jan 4, 2026

Copy link
Copy Markdown
Member

Speeds DBGLN printing by not outputting every character individually via Stream.write() and instead gathers the largest contiguous string and writes it with a single call.

Message Old (us) New (us)
TLM crc error 250 15-45
Set parameter [Enable WiFi]=%u 310 75
Adjusted max packet size %u-%u 430 135

@CapnBry CapnBry added enhancement 🪄 New feature or request V4.1 🍑 labels Jan 4, 2026
@CapnBry
CapnBry merged commit d3fba31 into ExpressLRS:master Feb 8, 2026
@CapnBry
CapnBry deleted the dbg-faster branch February 8, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🪄 New feature or request V4.1 🍑

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants