algorithms – How to program a GPU power or hashrate tester?

fyi I am not a programmer

Think of these Internet speed testing websites, you press on the “Test” button and it runs diagnostics to determine your bandwidth speed.

Now I am looking to program or build something similar in idea. A site where you can test your rigs or GPU’s hash rate power for mining (h/s).

Any pointers in which language could accomplish this and where to begin? I was considering using Python due to it’s usability in ML, but have no idea where to even start or what to research to build this.

All help and tips appreciated!