Additional 35% Performance Increase in WebGL for 3D Floor Plans

October 24, 2014

Shaders now use explicit vertex attribute locations in 3D Wayfinder. This and other improvements gave us approximately 35% increase in FPS (frames per second) in WebGL. Change is more noticeable with larger floor plans.

Tests were done with 2 PC-s, the same one we used before:

  1. Laptop 1. Low-end laptop from Samsung: Quad-Core 1 GHz, 4GB RAM, Integrated video card AMD Radeon HD 8250, Windows 8
  2. Desktop 1. AMD Phenom II X2 550, 2 cores, 3.1GHz, 4GB RAM, video card AMD Radeon HD 6670, Windows 7

 

The same 4 floor plans were tested as previously:

  • Demo project – 2 floors, 43k solid faces and 6k transparent faces
  • Science center building – no locations entered, 520k solid faces and 13k transparent faces
  • Shopping mall 1 – 5 floors, 96k solid faces and 18k transparent faces
  • Shopping mall 2 – 7 floors, 246k solid faces and 27k transparent faces

 

 

We got following results:

  FPS in Internet Explorer FPS in Firefox FPS in Google Chrome
  Before Now Change Before Now Change Before Now Change
Demo project
Laptop 1 6,0 7,7 28% 10 13,0 30% 20 24 20%
Desktop 1 3*  –  – 30 30 Capped to 30 FPS 30 30 Capped to 30 FPS
Science center
Laptop 1 7 8,8 26% 15 15 0% 24 28,3 18%
Desktop 1 2*  –  – 30 30 Capped to 30 FPS 30 30 Capped to 30 FPS
Shopping mall 1
Laptop 1 2 2,4 20% 3 5,4 80% 7 8,5 21%
Desktop 1 2,5*  –  – 13 22 69% 25 30 20%
Shopping mall 2
Laptop 1 0,8 1,0 25% 1,7 3,0 76% 3,4 4,6 35%
Desktop 1 2*  –  – 7 12 71% 11 17,5 59%

 

Where marked with * IE used software rendering for WebGL. There for we didn’t measure IE in this test with PC1.

« »