In light of [this comment](https://github.com/SWI-Prolog/npm-swipl-wasm/pull/143#issuecomment-1537096001) we should add some basic benchmarking here to avoid major performance regressions. We can [base it off this work](https://github.com/eyereasoner/eye-js/pull/294) (once I get it working).