tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

concurrent-profilers.https.html (624B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <script src="/resources/testharness.js"></script>
      5  <script src="/resources/testharnessreport.js"></script>
      6 </head>
      7 <body>
      8  <script>
      9    promise_test(async t => {
     10      const profiler_a = new Profiler({
     11        sampleInterval: 10,
     12        maxBufferSize: Number.MAX_SAFE_INTEGER,
     13      });
     14 
     15      const profiler_b = new Profiler({
     16        sampleInterval: 10,
     17        maxBufferSize: Number.MAX_SAFE_INTEGER,
     18      });
     19 
     20      const trace_b = await profiler_b.stop();
     21      const trace_a = await profiler_a.stop();
     22    }, 'concurrent profilers should be supported');
     23  </script>
     24 </body>
     25 </html>