Automatic bench-marking of Azure VMs - Example with Cinebench R15
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Autobench.PS1 first commit Oct 24, 2017
Cycle-VMs.PS1 Update Cycle-VMs.PS1 Oct 24, 2017
Push-Autobench.PS1 first commit Oct 24, 2017
ReadMe.MD Update ReadMe.MD Oct 24, 2017


AutoBench v 0.1

So this script is thrown together to solve a personal problem and for sure has many bugs and errors!

Status: Probably broken!


You need a VM in your subscription to work on. You should build it and wait for it to calm down. Update the image and set it up how you wish. This example will install & run Cinebench R15 in single/multi CPU mode.

You will see there are 2 places for a loop to execute the benchmark - one inside the VM, one outside. Azure has a time limit of (I think) 1 hour to run a script extension therefore I moved the benchmark loop out of the script that runs inside the VM to stay within that limit on smaller VMs.


contains the main loop and is the one that will modify the VM type, execute the script, then loop through the available VM types.


contains the logic to upload and execute the Autobench.PS1 script inside the VM


contains the script to run inside the VM - waits for CPU idle, downloads and executes Cinebench