Is it more performant to run optimize table commands on a serverless SQL warehouse or elsewhere?

ac0
Contributor

Is it more performant to run optimize table commands on a serverless SQL warehouse or in a job or all-purpose compute cluster? I would presume a serverless warehouse would be faster, but I don't know how to test this.