Add a Benchmark button that measures the solver and the GPU's clock ramp
test 21s
Runner
Job test on ubuntu-latest Checking out concept-collection/turing-sphere-2 at 3221abd8 Container started from catthehacker/ubuntu:act-latest Cleaning up the job container
actions/checkout@v40s
▸ actions/checkout@v4 Using cofferdam's built-in checkout (actions/checkout@v4) concept-collection/turing-sphere-2 is already checked out at 3221abd8 (cofferdam checks out before the job starts)
actions/setup-node@v46s
▸ actions/setup-node@v4 Using cached actions/setup-node@v4 (49933ea5288c) Attempting to download 24... (node:54) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) Bad credentials Falling back to download directly from Node Acquiring 24.19.0 - x64 from https://nodejs.org/dist/v24.19.0/node-v24.19.0-linux-x64.tar.gz Extracting ... [command]/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /cofferdam/temp/85c8af11-ab65-4c5d-93d2-343c101665f7 -f /cofferdam/temp/92c4886b-9b1d-4637-aa8c-9926f5f28ad1 Adding to the cache ... Done ▾ Environment details node: v24.19.0 npm: 11.17.0 yarn: WARNING: Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.
Check out numbl (sibling dependency)3s
▸ Check out numbl (sibling dependency) Cloning into '/cofferdam/workspace/../../numbl'...
Run npm ci --ignore-scripts4s
▸ Run npm ci --ignore-scripts added 122 packages, and audited 124 packages in 3s 18 packages are looking for funding run `npm fund` for details 6 vulnerabilities (1 moderate, 5 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details.
Run npm run test:node -- --skip-without-gpu3s
▸ Run npm run test:node -- --skip-without-gpu
> turing-sphere@0.1.0 test:node
> vite-node scripts/test-node.ts --skip-without-gpu
Warning: Couldn't load Vulkan: libvulkan.so.1: cannot open shared object file: No such file or directory
at operator() (/home/runner/work/node-webgpu/node-webgpu/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:363)
SKIP no WebGPU available here, so these checks did not run.
No WebGPU adapter available
Dawn reaches the GPU through Vulkan on Linux and Windows, Metal on macOS,
so a headless box may have no adapter at all. DAWN_FLAGS='backend=vulkan'
makes it explain itself.
Run npm run test:gpu4s
▸ Run npm run test:gpu
> turing-sphere@0.1.0 test:gpu
> vite build && node scripts/test-gpu.mjs
[36mvite v5.4.21 [32mbuilding for production...[36m[39m
transforming...
[32m✓[39m 506 modules transformed.
rendering chunks...
computing gzip size...
[2mdist/[22m[32mtest.html [39m[1m[2m 0.39 kB[22m[1m[22m[2m │ gzip: 0.26 kB[22m
[2mdist/[22m[32mindex.html [39m[1m[2m 9.77 kB[22m[1m[22m[2m │ gzip: 3.01 kB[22m
[2mdist/[22m[2massets/[22m[36mtest-QqPQYYWp.js [39m[1m[2m 10.56 kB[22m[1m[22m[2m │ gzip: 4.83 kB[22m
[2mdist/[22m[2massets/[22m[36mmain-CYFHi6pM.js [39m[1m[33m 527.35 kB[39m[22m[2m │ gzip: 135.03 kB[22m
[2mdist/[22m[2massets/[22m[36mrunSpec-DpbV0AVd.js [39m[1m[33m1,399.87 kB[39m[22m[2m │ gzip: 394.48 kB[22m
[33m
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.[39m
[32m✓ built in 2.89s[39m
file:///cofferdam/workspace/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js:50
throw new Error(`Browser was not found at the configured executablePath (${launchArgs.executablePath})`);
^
Error: Browser was not found at the configured executablePath (/usr/bin/google-chrome)
at ChromeLauncher.launch (file:///cofferdam/workspace/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js:50:19)
at async file:///cofferdam/workspace/scripts/test-gpu.mjs:45:19
Node.js v24.19.0
Process completed with exit code 1.