Skip to content

simo-11/webgl-perf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webgl-perf GPU/webgl performance tester

Much nicer one for WebGPU is at https://webgpufundamentals.org/webgpu/lessons/webgpu-optimization.html. It uses a lot of memory (over 5 GB) on the gpu side.

Usage or development

Suggested method is to clone repository and add directory in Chrome's Sources/Filesystem tab.

For view only download webgl-perf.html and open it with browser.

References

WebGPU

Add support for WebGPU and compare its performance to webgl. Device is selected using powerPreference: "high-performance" or "low-power" in navigator.gpu.requestAdapter https://webgpu.rocks/reference/enum/gpupowerpreference/

webgl-perf.html:302 The powerPreference option is currently ignored when calling requestAdapter() on Windows. See https://crbug.com/369219127 https://issues.chromium.org/issues/369219127?pli=1

High-performance adapter can be selected using command line options or using Display settings image

Compare to desktop implementation (wgpu)

References

About

GPU/webgl performance tester

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages