MCPcopy
hub / github.com/gpujs/gpu.js / benchmark.js

File benchmark.js

test/benchmark.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { GPU } = require('../src/index.js');
2const Benchmark = require('benchmark');
3
4const suite = new Benchmark.Suite();

Callers

nothing calls this directly

Calls 8

randomMatrixFunction · 0.85
setPipelineMethod · 0.80
setConstantsMethod · 0.80
createKernelMethod · 0.80
setOutputMethod · 0.45
setPrecisionMethod · 0.45
runMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected