Add a Benchmark button that measures the solver and the GPU's clock ramp
test 21sRaw log
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 vite v5.4.21 building for production... transforming... ✓ 506 modules transformed. rendering chunks... computing gzip size... dist/test.html 0.39 kB │ gzip: 0.26 kB dist/index.html 9.77 kB │ gzip: 3.01 kB dist/assets/test-QqPQYYWp.js 10.56 kB │ gzip: 4.83 kB dist/assets/main-CYFHi6pM.js 527.35 kB │ gzip: 135.03 kB dist/assets/runSpec-DpbV0AVd.js 1,399.87 kB │ gzip: 394.48 kB (!) 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. ✓ built in 2.89s 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.