ESP8266 Connection Time

J-M-L:
I think the question was are you using AT commands or something else on your ESP-01 and are you « bare metal » over Serial sending yourself the commands or are you using a library to drive those AT commands?

The result is the same either way.
Regards,
Ray L.