4 <script src=
"../resources/runner.js"></script>
7 var canvas
= document
.createElement("canvas");
8 var ctx
= canvas
.getContext("2d");
9 var font1
= "bold 15px Arial";
10 var font2
= "italic 20pt Calibri";
22 PerfTestRunner
.measureRunsPerSecond({
23 description
: "Measures performance of setting the current font and measuring text on a canvas.",