<script src="simpledom.js"></script>
<script src="utils.js"></script>
<script src="../uniq.js"></script>

<script>
  window.onload = async () => {
    checkSharedArrayBufferEnabled()

    const messageCount = 100 * 1000;

    // postMessage Test =====================================================
    add.button('Run postMessage tests', () => {
      add.p(`sending ${messageCount} messages through postMessage`, { color: 'red' })

      let w = new Worker("./postmessage.worker.js")
        , timer = perform