mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
Added more information to DOMRect performance test
This commit is contained in:
parent
e441a3f668
commit
c1e92dcceb
@ -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)"
|
||||
);
|
||||
};
|
||||
}());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user