Skip to content

WiFiClient.read in 3.2.0 is very slow #11294

Open
@kungfupizza

Description

@kungfupizza

Board

ESP32S3

Device Description

ESP32S3 board wifi connected

Hardware Configuration

Nothing connected.

Version

v3.2.0

IDE Name

VSCode

Operating System

Windows 11

Flash frequency

80M

PSRAM enabled

yes

Upload speed

115200

Description

When using WiFiClient* _client; to read from a server, _client->read(InBuff.getWritePtr(), availableBytes); I see difference in speed in 3.0.7 vs 3.2.0

in 3.0.7(IDF version 5.1.4 I can see

I (403056) content-length: 2335192
I (403264) stream ready, buffer filled in 193 ms

in 3.2.0
stream ready, buffer filled in 4054 ms for same length of content.

Sketch

WiFiClient _client;
void setup()
{
 // setup the client
 // call a GET
 // read from server
 // check time taken to fill the entire buffer
}

void loop()
{
 // do nothing
}

Debug Message

N/A

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Labels

Area: WiFiIssue related to WiFi

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions