Feedback on failed project

I’ve been mulling this over and decided I want to give this another go but with a different design.

So I’m back with the pico and micropython and doing super simple science.


''' ** What's my top speed?' ** '''

from machine import Pin, ADC

pin = machine.Pin(15, machine.Pin.OUT)

while True:
    pin.high()
    pin.low()

I’m literally toggling a pin and getting only ~62khz.
It’s not even a reliable 62khz.
There is no shot it takes 2000 clock cycles to toggle a pin… right?
What am I doing wrong?