如何在openEuler-22.03上运行WebGPU测试用例?

  1. 从如下链接下载webGPU测试用例
    https://github.com/yyc-git/WebGPU-Performance-Test.git

  2. 安装依赖的npm工具
    image

  3. 执行#npm install命令
    image

  4. 修改配置文件./WebGPU-Performance-Test/package.json, 为自己本机IP地址
    image

  5. 执行:npm run dev
    image

  6. 关闭当前系统的防火墙: systemctl stop firewalld

  7. 在浏览器中输入本机的如下地址:
    http://128.224.179.83:3000/test/draw_triangles/webgl/index.html
    image