Search found 9 matches

by Joegi_Lov
Mon Apr 09, 2018 5:03 pm
Forum: ESP32 Arduino
Topic: which to prefer: int8, int16, int32 ?
Replies: 6
Views: 6368

Re: which to prefer: int8, int16, int32 ?

I forgot that most compilers are able to compile to asm. I will use this in future to see how things are compiled! - Thanks!
by Joegi_Lov
Sun Apr 08, 2018 7:32 pm
Forum: ESP32 Arduino
Topic: which to prefer: int8, int16, int32 ?
Replies: 6
Views: 6368

Re: which to prefer: int8, int16, int32 ?

Thanks!
by Joegi_Lov
Sun Apr 08, 2018 6:59 pm
Forum: ESP32 Arduino
Topic: which to prefer: int8, int16, int32 ?
Replies: 6
Views: 6368

which to prefer: int8, int16, int32 ?

Hi, on x86 32/64 bit CPUs 32bit variables often are processed faster than 16 or 8 bit variables. What about the ESP32? Which type is fastest for calculations (in average): in8_t, int16_t or int32_t?
Thanks for the answers in advance!
by Joegi_Lov
Sun Mar 11, 2018 3:31 pm
Forum: ESP32 Arduino
Topic: ESP32 slower than ESP8266
Replies: 7
Views: 4822

Re: ESP32 slower than ESP8266

You can also try the "StreamHttpClient"-example and remove all "USE_SERIAL" (as the serial output else would be the bottleneck) and time the loop. You will see that the ESP8266 is much faster (with any website), or better to say that the ESP32 is very slow!
by Joegi_Lov
Sun Mar 04, 2018 8:23 pm
Forum: ESP32 Arduino
Topic: ESP32 slower than ESP8266
Replies: 7
Views: 4822

Re: ESP32 slower than ESP8266

It might also be of interest that I'm using a LOLIN32 (ESP32) and a WEMOS MINI (ESP8266)!
by Joegi_Lov
Sun Mar 04, 2018 8:13 pm
Forum: ESP32 Arduino
Topic: ESP32 slower than ESP8266
Replies: 7
Views: 4822

Re: ESP32 slower than ESP8266

Strange. I ran it again, but still the same (different speed) results! Could my AP have something to do with the different speeds?
by Joegi_Lov
Sat Mar 03, 2018 8:51 pm
Forum: ESP32 Arduino
Topic: ESP32 slower than ESP8266
Replies: 7
Views: 4822

Re: ESP32 slower than ESP8266

The following code (searching for a string in a website) takes <2000ms on a ESP8266 and >9500ms (~5 times slower) on a ESP32: #include <Arduino.h> //For use on ESP8266 change the following 4 lines as per comment!------- #include <WiFi.h> //<ESP8266WiFi.h> #include <WiFiMulti.h> //<ESP8266WiFiMulti.h...
by Joegi_Lov
Wed Feb 28, 2018 2:19 pm
Forum: ESP32 Arduino
Topic: ESP32 slower than ESP8266
Replies: 7
Views: 4822

Re: ESP32 slower than ESP8266

I'm at work at the Moment, but I just found this: https://github.com/espressif/arduino-esp32/issues/32 and I'm also reading Byte by Byte! When I'm home I will try to chnage the code so that it reads more at once!
by Joegi_Lov
Tue Feb 27, 2018 9:08 pm
Forum: ESP32 Arduino
Topic: ESP32 slower than ESP8266
Replies: 7
Views: 4822

ESP32 slower than ESP8266

I just wrote my first code for an ESP32 and it seems that both, connection to an AP and web server (website) access, on an ESP32 are significant slower than on an ESP8266! Is that a known "issue"?
Thanks for the answers in advance!

Go to advanced search