> for example, slowing down the injections if the program is slow to process input
It's 2021 and some people still don't separate UI into its own non-blocked thread.
E.g. When crunching a big dataset in QGIS (on Win10), every digit I type into "Classes" box [1] blocks everything and I have to wait.