Added more information to DOMRect performance test

This commit is contained in:
kkapsner 2019-05-09 23:10:22 +02:00
parent e441a3f668
commit c1e92dcceb
1 changed files with 5 additions and 1 deletions

View File

@ -109,7 +109,11 @@
);
}
}
alert((count / (duration / 1000)).toFixed(2) + " tests/s (" + count + " samples)");
alert(
(count / (duration / 1000)).toFixed(2) + " tests/s\n" +
(duration * 1000 / count).toFixed(2) + " µs/test\n" +
"(" + count + " samples)"
);
};
}());