ESP32 AP and website access significantly slower than ESP8266

I posted this yesterday in the ESP32 forum, but no response up to now:
I just wrote my first code (with ARDUINO-IDE) for an ESP32 and it seems that both, connecting to an AP and web server (website) access, on an ESP32 is significantly slower than on an ESP8266 (I ran the same code on both)! Is that a known "issue"?
I did a Benchmark (s. here) that reveals that the CPU of the ESP32 is much faster (as expected)!
Thanks for the answers in advance!

Please add a link to your ESP32 forum post to make it easy for people to find all the relevant information.

arduino esp32 core issue tracker on GitHub

Link to my ESP32 Forum post: ESP32 slower than ESP8266 - ESP32 Forum

The following code (searching for a string in a website) takes <2000ms on a ESP8266 and >9500ms (~5 times slower) on a ESP32! I also posted the code in the ESP32 forum and someone (“tele_player”) ran it, but for him it took ~10000ms on BOTH systems.
Maybe someone here might try this code on a ESP8266 and ESP32. If you are getting similar results as “tele_player” and if you are not living in germany (where the website is located) it would be nice if you could use a website in your country and use a search string which is located somewhere near the end of the html-code!

#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>
#include <HTTPClient.h>  //<ESP8266HTTPClient.h>
WiFiMulti WiFiMulti; //ESP8266WiFiMulti WiFiMulti;
void setup()
  WiFiMulti.addAP("SSID", "PW");
  while( != WL_CONNECTED){delay(10);}
  Serial.println("Connected to AP!");

void loop()
WiFiClient *pStream;
HTTPClient http;
unsigned int time;

  time = millis();
  if(http.GET() == HTTP_CODE_OK)
    pStream = http.getStreamPtr();
    if (pStream->find("Vonovia"))
      time = millis() - time;
      Serial.print("Finding the String \"Vonovia\" in \"\" took ");
      Serial.println(" ms");
    else Serial.println("String not found!");
  else Serial.println("Unable to connect to server!");

I also tested this code running on CPU1 and tried using “pStream->readBytes(&buff, x), …” insted of (“pStream->find(“Vonovia”)”), but still the same difference.
I will have to switch back to a ESP8266 for my current project if there is no speedup for the esp32 as at the moment the ESP32 website access (with ARDUINO-IDE) is way too slow!

I read somewhere that the speed issue with the ESP32 could have something to do with too small "input buffers"! Which values would I have to change to increase those "input buffers"?

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!