Hi.
I use ESP8266 (4MB) with SPIFFS webserwer and simpleftp.
I works great.
Now, I would like to use my code with ESP32 (4MB) - because od bluetooth, IOs, etc.
I changed my code, it woks, but I am confused because of speed of it !
I have to wait 4-5 seconds for page refresh.
I am sending HTML files from SPIFFS and I don't know what is to slow - flash file system or wifi ?
I think it is a flash problem because if i have page declareg with PROGMEM - it works fast (normal).
I lost all my day for testing and I don't know what to do.
Stay with ESP8266 and cry or... or believe it is my fault, SPIFFS library problem (LittleFS doesn't work with ESP32 so I use SPIFFS) and try another solutions (declare all my html pages as PROGMEM - but it is awfull when page is big).
I believe someone had the same problem and can help.
Regards,
Mariusz
Slow webserver after upgrade from ESP8266 to ESP32
-
- Posts: 9759
- Joined: Thu Nov 26, 2015 4:08 am
Re: Slow webserver after upgrade from ESP8266 to ESP32
I'm no expert on this, but it'll likely help if you can post the code you're having issues with.
Re: Slow webserver after upgrade from ESP8266 to ESP32
I'm also seeing issues with the ESP32 camera web server demo (expanded with my own application)
But even the default application has issues too I find.
I'm feeding paged read from SD Card and I've done some profiling.
The card data gets read and then passed to httpd_resp_send which can take many seconds to return the data - often timing out.
Usually a power off / on again will sort it.
I've seen lots of questions about this - is it a wifi thing ? How to get the wifi debugging info might be handy to know.
Regards
Hardy
But even the default application has issues too I find.
I'm feeding paged read from SD Card and I've done some profiling.
The card data gets read and then passed to httpd_resp_send which can take many seconds to return the data - often timing out.
Usually a power off / on again will sort it.
I've seen lots of questions about this - is it a wifi thing ? How to get the wifi debugging info might be handy to know.
Regards
Hardy
Who is online
Users browsing this forum: No registered users and 40 guests