postMessage-interval

Benchmark created by d4mn on


Preparation HTML

<iframe id="test"></iframe>

Setup

var f = document.getElementById("test");

Test runner

Ready to run.

Testing in
TestOps/sec
Simple postMessage
f.contentWindow.postMessage({hello:"hi"},"*");
ready
Interval
parent.postMessage({hello:"hi"},"*");
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.