<html>
<head>
<title>Stress</title>
<script language="Javascript">
function dowork(){
var start = new Date();
var max=100; // set amount of times ran
for (var i=0;i<max;i++)
{
    // your code to be tested time
}
 var end = new Date();
 alert("took " + (end.getTime()-start.getTime()) + " milliseconds.");
}
 
</script>
</head>
 
<body bgcolor="#ffffff">
<a href="javascript:dowork()>Start" The Test</a>
</body>
</html>
8an

Reply via email to