If you only need visualization, there is something called the “goldfeather csg” algorithm that would perform better.
Here’s a sandbox with goldfeather… that I fixed up from this medium article which had the sample but broken:
scs-csg-subtraction-webgl (forked) - CodeSandbox
and the article: