This is just general info for those that might be interested...
In the Arduino sphere, the ESP32 is one of the most versatile, fast, powerful, cheap and well supported MCU's available.
For everthing ESP check out -
Random Nerd Tutorials - Rui's tutorials and examples are well written and great! (No, I have no affiliation with RNT)
Here are some results after running a series of stepper 'steps/second' speed program:
RUN() RUNSPEED()
UNO 4,191 14,865
MEGA 3,851 12,130
DUE 14,159 31,167
ESP32 44,280 75,953
Yes, multi-task applications like combining serial and wifi communications with accelstepper are more complex but it is not uncommon for communication tasks to be handled on one core while the main 'control' loop runs on the other.
See Shawn Hymel's tutorial #12 for multi-core tasking with example.
For anyone interested here are some links to help you learn about FreeRTOS.
Shawn Hymel's tutorials are excellent and include examples.