tor-browser

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

shader_module_allocation.spec.ts (614B)


      1 export const description = `
      2 Stress tests for allocation of GPUShaderModule objects through GPUDevice.
      3 `;
      4 
      5 import { makeTestGroup } from '../../common/framework/test_group.js';
      6 import { GPUTest } from '../../webgpu/gpu_test.js';
      7 
      8 export const g = makeTestGroup(GPUTest);
      9 
     10 g.test('coexisting')
     11  .desc(`Tests allocation of many coexisting GPUShaderModule objects.`)
     12  .unimplemented();
     13 
     14 g.test('continuous')
     15  .desc(
     16    `Tests allocation and implicit GC of many GPUShaderModule objects over time.
     17 Objects are sequentially created and dropped for GC over a very large number of
     18 iterations.`
     19  )
     20  .unimplemented();