Safari 16.1 and Safari 16.4 (Technology Preview) have performance degradation up to 10 times when outline is present on Canvas element. It is most noticeable on M1 machines, but it is also present on Intel machines, but to a much lesser extent.
Created attachment 463779 [details] Reproducible example
Just noticed, you probably will need to refresh the page a couple of times for bug to reproduce.
<rdar://problem/102880775>