PButcher / webxr-performance-benchmarking

WebXR Performance Benchmarking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebXR Performance Benchmarking

Renders n unlit 24-vertex cubes with react-three-fiber using a choice of 3 rendering methods:

  • Naiive
  • Merged meshes
  • Instanced meshes

Benchmarking Results

Benchmarks were conducted on the following hardware:

  • Windows 11 Enterprise (21H2)
  • 12th Gen Intel Core i9-12900KF 3.19GHz
  • 32.0 GB RAM
  • NVIDIA GeForce RTX 3080 Ti
  • Valve Index HMD
  • Google Chrome 119

WebXR Benchmarks

Install

# Yarn
yarn install

# NPM
npm install

Run Tests

Run on localhost:

# Yarn
yarn dev

# NPM
npm run dev

Run over https on the network. Replace IP_ADDRESS with the IP address of the host:

# Yarn
SERVE_HOST=IP_ADDRESS yarn dev

# NPM
SERVE_HOST=IP_ADDRESS npm run dev

About

WebXR Performance Benchmarking


Languages

Language:TypeScript 87.7%Language:JavaScript 5.6%Language:HTML 4.9%Language:CSS 1.7%