buffer_allocation.spec.ts (832B)
1 export const description = ` 2 Stress tests for allocation of GPUBuffer 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').desc(`Tests allocation of many coexisting GPUBuffer objects.`).unimplemented(); 11 12 g.test('continuous,with_destroy') 13 .desc( 14 `Tests allocation and destruction of many GPUBuffer objects over time. Objects 15 are sequentially created and destroyed over a very large number of iterations.` 16 ) 17 .unimplemented(); 18 19 g.test('continuous,no_destroy') 20 .desc( 21 `Tests allocation and implicit GC of many GPUBuffer objects over time. Objects 22 are sequentially created and dropped for GC over a very large number of 23 iterations.` 24 ) 25 .unimplemented();