| 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 | 102.2 Ops/sec |
| Create instances of Path2D | 36666.3 Ops/sec |
| Render offscreen canvases | 10567.3 Ops/sec |
| Render Path2D | 38284.5 Ops/sec |
| Render directly with ctx.fillRect() | 51749.7 Ops/sec |