It depends on what you mean by simple. I'd say using XCTest APIs is not as simple as:
- Write/download/copy-paste a single source file (command line) program
- Compile (from command line according to instructions within the file)
- Run
And XCTest is macOS (and Xcode?) only.
Also, according to my experience, testing for performance will almost always mean bumping into various context dependent optimizer glitches etc, and therefore it's important to be able to measure and profile some piece of code in many different contexts. XCTest forces your code into a specific context and is a lot of boilerplate.