I’d like to see your solution in total.
I set it up a bit like a game, https://pastebin.com/FGA6E7fA
My part one hovers around 600 microseconds.
Ohhh, that says my part 1 is slow already, i was sure my approach for 2 was the problem. Good to know!
Alright, I completely forgot about
--release
because i normally use just to run my stuff. That brings part 2 down to around 400ms, i am okay with that for now :D