What speed is the ESP8266 serial using? It defaults to 9600 baud with most ESP8266 firmware, which is <960 bytes per second - that's pretty slow. There's an AT command to change the serial speed, so what you do I think is send that command, then another call to serial.setup() to do the same on your end.
(it'd 10 bits per byte over serial - start bit, 8 data bit, stop bit for each character, and baud is in bits per second)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
What speed is the ESP8266 serial using? It defaults to 9600 baud with most ESP8266 firmware, which is <960 bytes per second - that's pretty slow. There's an AT command to change the serial speed, so what you do I think is send that command, then another call to serial.setup() to do the same on your end.
(it'd 10 bits per byte over serial - start bit, 8 data bit, stop bit for each character, and baud is in bits per second)