https://github.com/pixelscommander/webgpu-vs-webgl-compute-matrix-multiplication
WebGL vs WebGPU vs JavaScript demo shows the difference in performance when naively multiplying some matrices
https://github.com/pixelscommander/webgpu-vs-webgl-compute-matrix-multiplication
Last synced: 11 months ago
JSON representation
WebGL vs WebGPU vs JavaScript demo shows the difference in performance when naively multiplying some matrices
- Host: GitHub
- URL: https://github.com/pixelscommander/webgpu-vs-webgl-compute-matrix-multiplication
- Owner: PixelsCommander
- License: other
- Created: 2021-10-03T10:44:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-03T11:25:53.000Z (over 4 years ago)
- Last Synced: 2025-04-15T20:09:20.236Z (about 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webgl-webgpu-matrix-benchmark
## High Performance Matrix Multiplication Utilizing WebGL and WebGPU.
WebGPU compute shaders performance is expected to be superior to the one you can get with WebGL.
This should happen because WebGPU does not have overhead of creating / initializing canvas and writing/reading from framebuffers.
The benchmark is built in order to experimentally confirm this assumption and also determine by how much WebGPU performance is superior to WebGL.