For my experiments here I used the uPyCraft IDE v1.1 available for Windows and Mac-OS. uPyCraft for Windows can be downloaded from https://github.com/DFRobot/uPyCraft/raw/master/uPyCraft.exe.
AD_loop_ESP32.py
delivers results for ESP32 for adding to
ADC performance of MicroPython boards
https://forum.micropython.org/viewtopic.php?t=2682