rder-radius: 6px;
}
</style>
<script src="resources/perf_test_helper.js"></script>
<script>
var measurementReady = false;
var stageWidth = 600;
var stageHeight = 600;
var maxParticles = 2500;
var minVelocity = 50;
var maxVelocity = 500;
var particleRadius = 6;
var colors = ["#cc0000", "#ffcc00", "#aaff00", "#0099cc", "#194c99", "#661999"];

var canvas;
var context;
var testRunning = true;
var particles = [];
var prevTime;

window.onload = function () {
    // Prepare the canvas.
    canvas = document.queryS