These questions have been niggling me all weekend, and I've been running a number of benchmarks to answer them. I'm not finished yet, but so far the viper code generator is around 10x slower than C code, plus or minus, which is much slower, but not as much as some people seem to think. The specifics of running an ADC at 20KHz are that the Pi Pico's can do it, the Pico2 at 28ks/s and the RISV 38ks/s. At stock clock speeds. It's prompted me to write a block input node that would run dma and emit sample frames for batch processing.
It's worth remembering that for stuff that really takes some cycles, you can drop down to machine code, like this fft from Peter Hinch. https://github.com/peterhinch/micropython-fourier