tor-browser

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

ad-hack-simple-binops2.js (480B)


      1 // |jit-test| skip-if: !wasmSimdEnabled()
      2 
      3 // This test is very slow with GenerationalGC zeal mode, especially if
      4 // CheckHeapBeforeMinorGC is also enabled. GenerationalGC makes the number of
      5 // minor GCs go from 13 -> 50000.
      6 if (this.unsetgczeal) {
      7    unsetgczeal("GenerationalGC");
      8 }
      9 
     10 // Do not include these in the preamble, they must be loaded after lib/wasm.js
     11 load(scriptdir + "ad-hack-preamble.js")
     12 load(scriptdir + "ad-hack-binop-preamble.js")
     13 
     14 runSimpleBinopTest(2, 3);