Similar, from years ago - laser vs mosquito.

https://www.youtube.com/watch?v=BKm8FolQ7jw

I’d imagine a cockroach is generally a bit harder to kill than a mosquito.

A high-speed galvo LASER (20,000mm/sec) with a proper vision system could track and sweep fast enough to obliterate a German cockroach in under a tenth of a second. One of those big 'waterbug' roaches would take about half a second. I operate one at 15,000mm/sec at work. It covers area RAPIDLY.