Report only three digits of time in gentest.html
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Wed, 07 Sep 2011 11:42:00 -0600
changeset 571 efda2a3a76b8
parent 570 de488704b7c6
child 572 6fde8c6d7c8b
Report only three digits of time in gentest.html

Not actually tested, since testing would take like six minutes.
conformancetest/gentest.html
--- a/conformancetest/gentest.html	Wed Sep 07 11:40:40 2011 -0600
+++ b/conformancetest/gentest.html	Wed Sep 07 11:42:00 2011 -0600
@@ -60,7 +60,7 @@
 		.removeChild(document.getElementById("test-container"));
 	var elapsed = Math.round(Date.now() - startTime)/1000;
 	document.getElementById("timing").textContent =
-		"Time elapsed: " + Math.floor(elapsed/60) + ":" + (elapsed % 60) + " min.";
+		"Time elapsed: " + Math.floor(elapsed/60) + ":" + (elapsed % 60).toFixed(3) + " min.";
 	getSelection().selectAllChildren(document.getElementById("output"));
 }