Run "perf" tests as external scripts
Porting another small bit to ESM allows us to stop bundling the automatic scripts we use for testing, and instead just load them from the source tree.
This is a first step of making the test-tool useful for other projects (like distros or extensions).