Who are these scripts for? You need to troubleshoot performance problems with SQL Server, and you need to do it now. You don't have time to track down a bunch of DMVs, figure out Extended Events, ...
The main use case is benchmarking simple CPU-bound query variants against each other during local development. Only PostgreSQL is supported at this point, but pull requests for MySQL or other ...