4 ms·
The course had a machine solely for benchmarking. It would only compile and benchmark one program at a time and the students had to queue up. It worked well fo
by _fjb4 5y ago
The course had a machine solely for benchmarking. It would only compile and benchmark one program at a time and the students had to queue up.
It worked well for the course and the results were very consistent between runs, but that kind of setup doesn't scale well.
There may be a (slow) option though, and that would be benchmarking the code using an simulated processor. The runtime would be measured relative to the simulated processor as opposed to the computer hosting the simulator.
- mhh__ 5y agoTrue, but consider that compiling hello world takes me about 5 minutes in gem5 when using a semi-realistic model of the computer.