Skip to content

fix(core): StreamString performance improvements with large buffers (StreamString::readBytes()) #11229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mathieucarbou
Copy link
Contributor

@mathieucarbou mathieucarbou commented Apr 8, 2025

Using StreamString on large buffers causes large movements of memory data when reading which can cause the TWDT to trigger, heap fragmentation or crash due to allocation failures.

StreamString is definitely slower than cbuf.h for large buffers.

Explanation of the issue with a small MRE: ESP32Async/ESPAsyncWebServer#148 (comment)

This issue was discovered in the OpenDTU project : tbnobody/OpenDTU#2535

Note: the code is not tested yet: this is a proposal meant to open a discussion on a solution.

Sadly it does not solve the issue fully but aims at being backward compatible. It avoids at least to do a memory move for each byte read.

Like explained in the links above, to correcly fix the issue, we would need to make the String immutable when the first read occurs, which implies:

  • adding a boolean to know if the Stream is now in reading mode
  • adding an index to keep the reading position
  • no timeout support anymore

This would allow the StreamString to:

  1. avoid any expensive memory moves
  2. avoid any timed read (slow downs)
  3. keep the String as an immutable buffer which stays as is until the read is finished (so memory usage stays constant)

Another implementation version is available here: #11232, which is even faster but not backward compatible if user is accessing the String API after a read.

Copy link
Contributor

github-actions bot commented Apr 8, 2025

Warnings
⚠️

The source branch "StreamString" incorrect format:

  • contains uppercase letters. This can cause troubles on case-insensitive file systems (macOS).
    Please rename your branch.

👋 Hello mathieucarbou, we appreciate your contribution to this project!


📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more.

🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project.

Click to see more instructions ...


This automated output is generated by the PR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with each push event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger is not a substitute for human code reviews; it's still important to request a code review from your colleagues.
- Resolve all warnings (⚠️ ) before requesting a review from human reviewers - they will appreciate it.
- To manually retry these Danger checks, please navigate to the Actions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the GitHub PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by 🚫 dangerJS against 436b1ef

Copy link
Contributor

github-actions bot commented Apr 8, 2025

Test Results

 76 files   76 suites   12m 42s ⏱️
 38 tests  38 ✅ 0 💤 0 ❌
241 runs  241 ✅ 0 💤 0 ❌

Results for commit 436b1ef.

♻️ This comment has been updated with latest results.

@mathieucarbou mathieucarbou changed the title fix(StreamString): Improve StreamString::readBytes() speed with large buffers fix(core): Improve StreamString::readBytes() speed with large buffers Apr 8, 2025
Copy link
Contributor

github-actions bot commented Apr 8, 2025

Memory usage test (comparing PR against master branch)

The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.

MemoryFLASH [bytes]FLASH [%]RAM [bytes]RAM [%]
TargetDECINCDECINCDECINCDECINC
ESP32P40⚠️ +2080.00⚠️ +0.03000.000.00
ESP32S30⚠️ +1520.00⚠️ +0.04000.000.00
ESP32S20⚠️ +1600.00⚠️ +0.04000.000.00
ESP32C30⚠️ +2080.00⚠️ +0.02000.000.00
ESP32C60⚠️ +2080.00⚠️ +0.02000.000.00
ESP32H20⚠️ +2020.00⚠️ +0.02000.000.00
ESP320⚠️ +1640.00⚠️ +0.02000.000.00
Click to expand the detailed deltas report [usage change in BYTES]
TargetESP32P4ESP32S3ESP32S2ESP32C3ESP32C6ESP32H2ESP32
ExampleFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAM
ArduinoOTA/examples/BasicOTA00⚠️ +240⚠️ +2400000--⚠️ +240
AsyncUDP/examples/AsyncUDPClient00⚠️ +240⚠️ +2400000--⚠️ +240
AsyncUDP/examples/AsyncUDPMulticastServer00⚠️ +240⚠️ +2400000--⚠️ +240
AsyncUDP/examples/AsyncUDPServer00⚠️ +240⚠️ +2400000--⚠️ +240
DNSServer/examples/CaptivePortal00⚠️ +240⚠️ +2400000--⚠️ +240
EEPROM/examples/eeprom_class00000000000000
EEPROM/examples/eeprom_extra00000000000000
EEPROM/examples/eeprom_write00000000000000
ESP32/examples/AnalogOut/LEDCFade00000000000000
ESP32/examples/AnalogOut/LEDCSingleChannel00000000000000
ESP32/examples/AnalogOut/LEDCSoftwareFade00000000000000
ESP32/examples/AnalogOut/SigmaDelta00000000000000
ESP32/examples/AnalogOut/ledcFrequency00000000000000
ESP32/examples/AnalogOut/ledcWrite_RGB00000000000000
ESP32/examples/AnalogRead00000000000000
ESP32/examples/AnalogReadContinuous00000000000000
ESP32/examples/ArduinoStackSize00000000000000
ESP32/examples/CI/CIBoardsTest00000000000000
ESP32/examples/ChipID/GetChipID00000000000000
ESP32/examples/DeepSleep/TimerWakeUp0000000000--00
ESP32/examples/DeepSleep/TouchWakeUp000000------00
ESP32/examples/FreeRTOS/BasicMultiThreading00000000000000
ESP32/examples/FreeRTOS/Mutex00000000000000
ESP32/examples/FreeRTOS/Queue00000000000000
ESP32/examples/FreeRTOS/Semaphore00000000000000
ESP32/examples/GPIO/BlinkRGB00000000000000
ESP32/examples/GPIO/FunctionalInterrupt00000000000000
ESP32/examples/GPIO/FunctionalInterruptStruct00000000000000
ESP32/examples/GPIO/GPIOInterrupt00000000000000
ESP32/examples/HWCDC_Events0000--000000--
ESP32/examples/MacAddress/GetMacAddress00000000000000
ESP32/examples/RMT/Legacy_RMT_Driver_Compatible00000000000000
ESP32/examples/RMT/RMTCallback00000000000000
ESP32/examples/RMT/RMTLoopback00000000000000
ESP32/examples/RMT/RMTReadXJT00000000000000
ESP32/examples/RMT/RMTWrite_RGB_LED00000000000000
ESP32/examples/RMT/RMT_CPUFreq_Test00000000000000
ESP32/examples/RMT/RMT_EndOfTransmissionState00000000000000
ESP32/examples/RMT/RMT_LED_Blink00000000000000
ESP32/examples/ResetReason/ResetReason00000000000000
ESP32/examples/ResetReason/ResetReason200000000000000
ESP32/examples/Serial/BaudRateDetect_Demo00000000000000
ESP32/examples/Serial/OnReceiveError_BREAK_Demo00000000000000
ESP32/examples/Serial/OnReceive_Demo00000000000000
ESP32/examples/Serial/RS485_Echo_Demo00000000000000
ESP32/examples/Serial/RxFIFOFull_Demo00000000000000
ESP32/examples/Serial/RxTimeout_Demo00000000000000
ESP32/examples/Serial/Serial_All_CPU_Freqs00000000000000
ESP32/examples/Serial/Serial_STD_Func_OnReceive00000000000000
ESP32/examples/Serial/onReceiveExample00000000000000
ESP32/examples/TWAI/TWAIreceive00000000000000
ESP32/examples/TWAI/TWAItransmit00000000000000
ESP32/examples/Template/ExampleTemplate00000000000000
ESP32/examples/Time/SimpleTime00⚠️ +240⚠️ +2400000--⚠️ +240
ESP32/examples/Timer/RepeatTimer00000000000000
ESP32/examples/Timer/WatchdogTimer00000000000000
ESP32/examples/Touch/TouchInterrupt000000------00
ESP32/examples/Touch/TouchRead000000------00
ESP32/examples/Utilities/HEXBuilder00000000000000
ESP32/examples/Utilities/MD5Builder00000000000000
ESP32/examples/Utilities/SHA1Builder00000000000000
ESP_I2S/examples/ES8388_loopback00000000000000
ESP_I2S/examples/Record_to_WAV0000--------00
ESP_I2S/examples/Simple_tone00000000000000
ESPmDNS/examples/mDNS-SD_Extended00⚠️ +240⚠️ +2400000--⚠️ +240
ESPmDNS/examples/mDNS_Web_Server00⚠️ +240⚠️ +2400000--⚠️ +240
Ethernet/examples/ETH_TLK11000----------⚠️ +240
Ethernet/examples/ETH_W5500_Arduino_SPI00⚠️ +240⚠️ +240000000⚠️ +240
Ethernet/examples/ETH_W5500_IDF_SPI00⚠️ +240⚠️ +240000000⚠️ +240
Ethernet/examples/ETH_WIFI_BRIDGE00⚠️ +240⚠️ +2400000--⚠️ +240
FFat/examples/FFat_Test00000000000000
FFat/examples/FFat_time00⚠️ +240⚠️ +2400000--⚠️ +240
HTTPClient/examples/Authorization⚠️ +2080⚠️ +1240⚠️ +1400⚠️ +2080⚠️ +2080--⚠️ +1400
HTTPClient/examples/BasicHttpClient⚠️ +2080⚠️ +1240⚠️ +1400⚠️ +2080⚠️ +2080--⚠️ +1400
HTTPClient/examples/BasicHttpsClient⚠️ +2080⚠️ +1360⚠️ +1600⚠️ +2080⚠️ +2080--⚠️ +1440
HTTPClient/examples/ReuseConnection⚠️ +2080⚠️ +1400⚠️ +1280⚠️ +2080⚠️ +2080--⚠️ +1640
HTTPClient/examples/StreamHttpClient⚠️ +2080⚠️ +1400⚠️ +1400⚠️ +2080⚠️ +2080--⚠️ +1320
HTTPUpdate/examples/httpUpdate⚠️ +2080⚠️ +1360⚠️ +1360⚠️ +2080⚠️ +2080--⚠️ +1360
HTTPUpdate/examples/httpUpdateSPIFFS⚠️ +2080⚠️ +1360⚠️ +1360⚠️ +2080⚠️ +2080--⚠️ +1360
HTTPUpdate/examples/httpUpdateSecure⚠️ +2080⚠️ +1160⚠️ +1400⚠️ +2080⚠️ +2080--⚠️ +1360
HTTPUpdateServer/examples/WebUpdater⚠️ +2080⚠️ +1360⚠️ +1320⚠️ +2080⚠️ +2080--⚠️ +1440
LittleFS/examples/LITTLEFS_test00000000000000
LittleFS/examples/LITTLEFS_time00⚠️ +240⚠️ +2400000--⚠️ +240
NetBIOS/examples/ESP_NBNST00⚠️ +240⚠️ +2400000--⚠️ +240
NetworkClientSecure/examples/WiFiClientInsecure⚠️ +2020⚠️ +1440⚠️ +1400⚠️ +2020⚠️ +2020--⚠️ +1320
NetworkClientSecure/examples/WiFiClientPSK⚠️ +2020⚠️ +1440⚠️ +1400⚠️ +2020⚠️ +2020--⚠️ +1320
NetworkClientSecure/examples/WiFiClientSecure⚠️ +2020⚠️ +1480⚠️ +1400⚠️ +2020⚠️ +2020--⚠️ +1320
NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade⚠️ +2020⚠️ +1400⚠️ +920⚠️ +2020⚠️ +2020--⚠️ +1360
NetworkClientSecure/examples/WiFiClientShowPeerCredentials⚠️ +2080⚠️ +1240⚠️ +1360⚠️ +2080⚠️ +2080--⚠️ +1440
NetworkClientSecure/examples/WiFiClientTrustOnFirstUse⚠️ +2020⚠️ +1480⚠️ +1320⚠️ +2020⚠️ +2020--⚠️ +1360
PPP/examples/PPP_Basic00⚠️ +240⚠️ +240000000⚠️ +240
PPP/examples/PPP_WIFI_BRIDGE00⚠️ +240⚠️ +2400000--⚠️ +240
Preferences/examples/Prefs2Struct00000000000000
Preferences/examples/StartCounter00000000000000
SD/examples/SD_Test00000000000000
SD/examples/SD_time00⚠️ +240⚠️ +2400000--⚠️ +240
SD_MMC/examples/SD2USBMSC00⚠️ +1320----------
SD_MMC/examples/SDMMC_Test0000--------00
SD_MMC/examples/SDMMC_time00⚠️ +240--------⚠️ +240
SPI/examples/SPI_Multiple_Buses00000000000000
SPIFFS/examples/SPIFFS_Test00000000000000
SPIFFS/examples/SPIFFS_time00⚠️ +240⚠️ +2400000--⚠️ +240
TFLiteMicro/examples/hello_world00000000000000
Ticker/examples/Blinker00000000000000
Ticker/examples/TickerBasic00000000000000
Ticker/examples/TickerParameter00000000000000
USB/examples/CompositeDevice00⚠️ +1360⚠️ +1320--------
USB/examples/ConsumerControl00⚠️ +1320⚠️ +1320--------
USB/examples/CustomHIDDevice00⚠️ +1320⚠️ +1320--------
USB/examples/FirmwareMSC00⚠️ +1320⚠️ +1320--------
USB/examples/Gamepad00⚠️ +1320⚠️ +1320--------
USB/examples/HIDVendor00⚠️ +1320⚠️ +1320--------
USB/examples/Keyboard/KeyboardLogout00⚠️ +1320⚠️ +1320--------
USB/examples/Keyboard/KeyboardMessage00⚠️ +1320⚠️ +1320--------
USB/examples/Keyboard/KeyboardReprogram00⚠️ +1320⚠️ +1320--------
USB/examples/Keyboard/KeyboardSerial00⚠️ +1320⚠️ +1320--------
USB/examples/KeyboardAndMouseControl00⚠️ +1320⚠️ +1320--------
USB/examples/MIDI/MidiController00⚠️ +1320⚠️ +1320--------
USB/examples/MIDI/MidiInterface00⚠️ +1320⚠️ +1320--------
USB/examples/MIDI/MidiMusicBox00⚠️ +1320⚠️ +1320--------
USB/examples/MIDI/ReceiveMidi00⚠️ +1320⚠️ +1320--------
USB/examples/Mouse/ButtonMouseControl00⚠️ +1320⚠️ +1320--------
USB/examples/SystemControl00⚠️ +1320⚠️ +1320--------
USB/examples/USBMSC00⚠️ +1320⚠️ +1320--------
USB/examples/USBSerial00⚠️ +1320⚠️ +1320--------
USB/examples/USBVendor00⚠️ +1320⚠️ +1320--------
Update/examples/AWS_S3_OTA_Update00⚠️ +240⚠️ +2400000--⚠️ +240
Update/examples/HTTPS_OTA_Update00⚠️ +240⚠️ +2400000--⚠️ +240
Update/examples/HTTP_Client_AES_OTA_Update⚠️ +2080⚠️ +1440⚠️ +1320⚠️ +2080⚠️ +2080--⚠️ +1360
Update/examples/HTTP_Server_AES_OTA_Update⚠️ +2080⚠️ +1400⚠️ +1400⚠️ +2080⚠️ +2080--⚠️ +1400
Update/examples/OTAWebUpdater⚠️ +2080⚠️ +1360⚠️ +1360⚠️ +2080⚠️ +2080--⚠️ +1200
Update/examples/SD_Update00000000000000
WebServer/examples/AdvancedWebServer00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/FSBrowser00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/Filters00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/HelloServer00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/HttpAdvancedAuth00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/HttpAuthCallback00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/HttpAuthCallbackInline00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/HttpBasicAuth00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/HttpBasicAuthSHA100⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/HttpBasicAuthSHA1orBearerToken00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/MultiHomedServers00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/PathArgServer00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/SDWebServer00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/SimpleAuthentification00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/UploadHugeFile00⚠️ +240⚠️ +2400000--⚠️ +240
WebServer/examples/WebServer⚠️ +2080⚠️ +1440⚠️ +1400⚠️ +2080⚠️ +2080--⚠️ +1440
WebServer/examples/WebUpdate00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/FTM/FTM_Initiator00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/FTM/FTM_Responder00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/SimpleWiFiServer00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiAccessPoint00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiClient00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiClientBasic00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiClientConnect00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiClientEvents00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiClientStaticIP00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiExtender00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiIPv600⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiMulti00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiMultiAdvanced⚠️ +2080⚠️ +1520⚠️ +1400⚠️ +2080⚠️ +2080--⚠️ +1360
WiFi/examples/WiFiScan00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiScanAsync00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiScanDualAntenna00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiScanTime00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiTelnetToSerial00⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiUDPClient00⚠️ +240⚠️ +2400000--⚠️ +400
Wire/examples/WireMaster00000000000000
Wire/examples/WireScan00000000000000
Wire/examples/WireSlave00000000000000
BLE/examples/BLE5_extended_scan--00--000000--
BLE/examples/BLE5_multi_advertising--00--000000--
BLE/examples/BLE5_periodic_advertising--00--000000--
BLE/examples/BLE5_periodic_sync--00--000000--
BLE/examples/Beacon_Scanner--00--00000000
BLE/examples/Client--00--00000000
BLE/examples/EddystoneTLM_Beacon--00--00000000
BLE/examples/EddystoneURL_Beacon--00--00000000
BLE/examples/Notify--00--00000000
BLE/examples/Scan--00--00000000
BLE/examples/Server--00--00000000
BLE/examples/Server_multiconnect--00--00000000
BLE/examples/UART--00--00000000
BLE/examples/Write--00--00000000
BLE/examples/iBeacon--00--00000000
ESP32/examples/Camera/CameraWebServer (1)--⚠️ +240⚠️ +240------⚠️ +240
ESP32/examples/Camera/CameraWebServer (2)--⚠️ +240⚠️ +240------⚠️ +240
ESP32/examples/Camera/CameraWebServer (3)--⚠️ +240----------
ESP32/examples/DeepSleep/ExternalWakeUp--0000------00
ESP_NOW/examples/ESP_NOW_Broadcast_Master--⚠️ +240⚠️ +2400000--⚠️ +240
ESP_NOW/examples/ESP_NOW_Broadcast_Slave--⚠️ +240⚠️ +2400000--⚠️ +320
ESP_NOW/examples/ESP_NOW_Network--⚠️ +240⚠️ +2400000--⚠️ +240
ESP_NOW/examples/ESP_NOW_Serial--⚠️ +240⚠️ +2400000--⚠️ +240
ESP_SR/examples/Basic--00----------
HTTPClient/examples/HTTPClientEnterprise--⚠️ +1400⚠️ +1200⚠️ +2080⚠️ +2080--⚠️ +1400
Insights/examples/DiagnosticsSmokeTest--⚠️ +240⚠️ +2400000--⚠️ +240
Insights/examples/MinimalDiagnostics--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterColorLight--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterCommissionTest--⚠️ +240⚠️ +1600000--⚠️ +240
Matter/examples/MatterComposedLights--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterContactSensor--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterDimmableLight--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterEnhancedColorLight--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterFan--⚠️ +240⚠️ +3200000--⚠️ +240
Matter/examples/MatterHumiditySensor--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterMinimum--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterOccupancySensor--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterOnIdentify--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterOnOffLight--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterOnOffPlugin--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterPressureSensor--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterSmartButon--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterTemperatureLight--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterTemperatureSensor--⚠️ +240⚠️ +2400000--⚠️ +240
Matter/examples/MatterThermostat--⚠️ +240⚠️ +1600000--⚠️ +240
Matter/examples/WiFiProvWithinMatter--⚠️ +400⚠️ +2400000--⚠️ +240
NetworkClientSecure/examples/WiFiClientSecureEnterprise--⚠️ +1240⚠️ +1280⚠️ +2060⚠️ +2060--⚠️ +1360
RainMaker/examples/RMakerCustom--⚠️ +240⚠️ +2400000----
RainMaker/examples/RMakerCustomAirCooler--⚠️ +240⚠️ +2400000----
RainMaker/examples/RMakerSonoffDualR3--⚠️ +240⚠️ +2400000----
RainMaker/examples/RMakerSwitch--⚠️ +240⚠️ +2400000----
SimpleBLE/examples/SimpleBleDevice--00--00000000
WebServer/examples/Middleware--⚠️ +1360⚠️ +1400⚠️ +2080⚠️ +2080--⚠️ +1360
WiFi/examples/WPS--⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiBlueToothSwitch--⚠️ +240--0000--⚠️ +240
WiFi/examples/WiFiClientEnterprise--⚠️ +240⚠️ +2400000--⚠️ +240
WiFi/examples/WiFiSmartConfig--⚠️ +400⚠️ +1600000--⚠️ +240
WiFiProv/examples/WiFiProv--⚠️ +240⚠️ +2400000--⚠️ +240
Zigbee/examples/Zigbee_Color_Dimmer_Switch--000000000000
Zigbee/examples/Zigbee_Gateway--⚠️ +240⚠️ +24000----⚠️ +240
Zigbee/examples/Zigbee_On_Off_Switch--000000000000
Zigbee/examples/Zigbee_Range_Extender--000000000000
Zigbee/examples/Zigbee_Thermostat--000000000000
OpenThread/examples/COAP/coap_lamp--------0000--
OpenThread/examples/COAP/coap_switch--------0000--
OpenThread/examples/SimpleCLI--------0000--
OpenThread/examples/SimpleNode--------⚠️ +2000⚠️ +2000--
OpenThread/examples/SimpleThreadNetwork/ExtendedRouterNode--------⚠️ +2000⚠️ +2020--
OpenThread/examples/SimpleThreadNetwork/LeaderNode--------0000--
OpenThread/examples/SimpleThreadNetwork/RouterNode--------0000--
OpenThread/examples/ThreadScan--------0000--
OpenThread/examples/onReceive--------0000--
Zigbee/examples/Zigbee_Analog_Input_Output--------0000--
Zigbee/examples/Zigbee_CarbonDioxide_Sensor--------0000--
Zigbee/examples/Zigbee_Color_Dimmable_Light--------0000--
Zigbee/examples/Zigbee_Contact_Switch--------0000--
Zigbee/examples/Zigbee_Dimmable_Light--------0000--
Zigbee/examples/Zigbee_Illuminance_Sensor--------0000--
Zigbee/examples/Zigbee_OTA_Client--------0000--
Zigbee/examples/Zigbee_Occupancy_Sensor--------0000--
Zigbee/examples/Zigbee_On_Off_Light--------0000--
Zigbee/examples/Zigbee_PM25_Sensor--------0000--
Zigbee/examples/Zigbee_Pressure_Flow_Sensor--------0000--
Zigbee/examples/Zigbee_Scan_Networks--------0000--
Zigbee/examples/Zigbee_Temp_Hum_Sensor_Sleepy--------0000--
Zigbee/examples/Zigbee_Temperature_Sensor--------0000--
Zigbee/examples/Zigbee_Vibration_Sensor--------0000--
Zigbee/examples/Zigbee_Wind_Speed_Sensor--------0000--
Zigbee/examples/Zigbee_Window_Covering--------0000--
BluetoothSerial/examples/DiscoverConnect------------00
BluetoothSerial/examples/GetLocalMAC------------00
BluetoothSerial/examples/SerialToSerialBT------------00
BluetoothSerial/examples/SerialToSerialBTM------------00
BluetoothSerial/examples/SerialToSerialBT_Legacy------------00
BluetoothSerial/examples/SerialToSerialBT_SSP------------00
BluetoothSerial/examples/bt_classic_device_discovery------------00
BluetoothSerial/examples/bt_remove_paired_devices------------00
ESP32/examples/DeepSleep/SmoothBlink_ULP_Code------------00
Ethernet/examples/ETH_LAN8720------------⚠️ +240

@mathieucarbou mathieucarbou changed the title fix(core): Improve StreamString::readBytes() speed with large buffers fix(core): StreamString performance improvements with large buffers (StreamString::readBytes()) Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant