| Test case name | Result |
|---|---|
| Create instances of offscreen canvas | |
| Create instances of Path2D | |
| Render offscreen canvases | |
| Render Path2D | |
| Render directly with ctx.fillRect() |
| Test name | Executions per second |
|---|---|
| Create instances of offscreen canvas | 280.3 Ops/sec |
| Create instances of Path2D | 16371.8 Ops/sec |
| Render offscreen canvases | 7356.3 Ops/sec |
| Render Path2D | 15588.6 Ops/sec |
| Render directly with ctx.fillRect() | 20717.4 Ops/sec |