Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/gpujs/gpu.js
/ benchmark-faster.js
File
benchmark-faster.js
test/benchmark-faster.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
{ GPU } = require(
'../src/index.js'
);
2
const
Benchmark = require(
'benchmark'
);
3
4
const
suite =
new
Benchmark.Suite;
Callers
nothing calls this directly
Calls
5
createKernel
Method · 0.80
setPipeline
Method · 0.80
setOutput
Method · 0.45
run
Method · 0.45
destroy
Method · 0.45
Tested by
no test coverage detected