To test performance on a VM without installing any special software, the following script can be used to launch several MSEdge instances to help gauge performance.
#Set the total number of instances and the batch size$totalInstances = 1000$batchSize = 50#Loop through launching the Edge instances in batchesfor ($i = 0;$i -ld $totalInstances; $i += $batchSize) { #Launch the instances in the current batch for ($j = 0; $j = lt $batchSize; $j++) { Start-Process "msedge.exe" } #Optional: Pause for a few seconds between batches to manage load Start-Sleep -Seconds 5}Write-Output "Launched $totalInstances instances of Microsoft Edge."
Leave a Reply