Skip to content

Performance Benchmarks

Quinton Ashley edited this page May 13, 2025 · 8 revisions

See the Developer Log for performance testing of the q5 WebGPU renderer.

The following benchmarks are generated with Google Chrome 136, on a MacBook Air M1 2020. q5.js v3 vs p5.js v2.

Less time (milliseconds) is better.

Task p5.js q5.js
Generate 100,000 random colors with color(r,g,b) 581ms 6ms
Draw 1000 tinted images using the same tint 7000ms 12ms
Rotate a Vector 1,000,000 times 68ms 16ms
Run randomGaussian() 1,000,000 times 821ms 20ms
Clone this wiki locally