Paste Search Dynamic
performance now
  1. const compile_before = performance.now();
  2.       computePipeline = device.createComputePipeline({
  3.         compute:
  4.             {module: module, entryPoint: 'main', constants: pipelineConstant}
  5.       });
  6.       console.log("wgsl createComputePipeline = "+ (performance.now() - compile_before));
  7.       bindGroupLayout = computePipeline.getBindGroupLayout(0);
Parsed in 0.002 seconds