Skip to content

Commit c3265e0

Browse files
author
Martin Valigursky
committed
added safari
1 parent ecc8a58 commit c3265e0

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

README.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,82 @@ Tiled | 0.29ms | 0.53ms | 1.56ms | 5.55ms | 76.87ms
146146

147147
> **⭐ Star Highlighting**: Stars indicate the best performing upload strategy (excluding Basic test) for each texture size. This focuses on upload performance when the GPU is under realistic load, as Basic tests use minimal shader complexity and don't represent real-world usage patterns.
148148
149+
---
150+
151+
### Apple M4 Max (MacBook Pro, macOS, Safari Tech Preview 223)
152+
153+
#### WebGL Results:
154+
155+
**WebGL1 (Mutable Textures):**
156+
```
157+
Test Method | 256×256 | 512×512 | 1024×1024 | 2048×2048 | 4096×4096
158+
-------------|----------|----------|-----------|------------|----------
159+
Basic | 0.01ms | 0.03ms | 0.24ms | 0.94ms | 3.58ms
160+
GPU-Stress | 0.01ms ⭐ | 0.01ms ⭐ | 0.23ms | 0.94ms | 3.63ms ⭐
161+
Realloc | 0.01ms ⭐ | 0.01ms ⭐ | 0.25ms | 0.90ms ⭐ | 3.72ms
162+
Buf-Orphan | 0.00ms ⭐ | 0.03ms | 0.25ms | 0.92ms | 3.81ms
163+
Double-Buf | 0.00ms ⭐ | 0.03ms | 0.24ms | 0.93ms | 3.81ms
164+
Triple-Buf | 0.01ms ⭐ | 0.01ms ⭐ | 0.22ms ⭐ | 1.15ms | 3.96ms
165+
Quad-Buf | 0.00ms ⭐ | 0.01ms ⭐ | 0.36ms | 1.18ms | 3.92ms
166+
Penta-Buf | 0.00ms ⭐ | 0.03ms | 0.23ms | 1.12ms | 3.99ms
167+
PBO-Single | 0.01ms ⭐ | 0.03ms | 0.27ms | 1.30ms | 4.17ms
168+
PBO-Double | 0.02ms | 0.02ms | 0.27ms | 1.32ms | 4.18ms
169+
Pack-Aln1 | 0.02ms | 0.01ms ⭐ | 0.26ms | 0.99ms | 3.91ms
170+
Pack-Aln8 | 0.01ms ⭐ | 0.02ms | 0.26ms | 1.01ms | 3.92ms
171+
Sync-Flush | 0.01ms ⭐ | 0.02ms | 0.26ms | 0.99ms | 3.94ms
172+
Sync-Fin | 0.01ms ⭐ | 0.03ms | 0.23ms | 1.03ms | 3.91ms
173+
Sync-None | 0.01ms ⭐ | 0.01ms ⭐ | 0.25ms | 1.00ms | 3.95ms
174+
Mem-Align | 0.05ms | 0.08ms | 0.48ms | 1.81ms | 6.42ms
175+
Mem-Share | 0.00ms ⭐ | 0.02ms | 0.29ms | 1.04ms | 4.00ms
176+
```
177+
178+
**WebGL2 (Immutable Textures):**
179+
```
180+
Test Method | 256×256 | 512×512 | 1024×1024 | 2048×2048 | 4096×4096
181+
-------------|----------|----------|-----------|------------|----------
182+
Basic | 0.02ms | 0.03ms | 0.28ms | 1.02ms | 3.94ms
183+
GPU-Stress | 0.01ms | 0.01ms ⭐ | 0.27ms | 1.02ms | 4.02ms
184+
Realloc | 0.01ms | 0.01ms ⭐ | 0.27ms | 1.00ms | 3.97ms
185+
Buf-Orphan | 0.00ms ⭐ | 0.03ms | 0.24ms | 1.00ms | 3.94ms
186+
Double-Buf | 0.00ms ⭐ | 0.01ms ⭐ | 0.25ms | 1.21ms | 3.84ms
187+
Triple-Buf | 0.01ms | 0.03ms | 0.28ms | 1.18ms | 3.93ms
188+
Quad-Buf | 0.03ms | 0.06ms | 0.35ms | 1.19ms | 3.90ms
189+
Penta-Buf | 0.01ms | 0.02ms | 0.24ms | 1.00ms | 3.94ms
190+
PBO-Single | 0.00ms ⭐ | 0.02ms | 0.31ms | 1.32ms | 4.19ms
191+
PBO-Double | 0.00ms ⭐ | 0.03ms | 0.30ms | 1.32ms | 4.18ms
192+
Pack-Aln1 | 0.00ms ⭐ | 0.02ms | 0.28ms | 0.97ms ⭐ | 3.86ms
193+
Pack-Aln8 | 0.00ms ⭐ | 0.01ms ⭐ | 0.25ms | 0.99ms | 3.89ms
194+
Sync-Flush | 0.00ms ⭐ | 0.02ms | 0.24ms | 1.00ms | 3.89ms
195+
Sync-Fin | 0.01ms | 0.02ms | 0.26ms | 0.98ms | 3.97ms
196+
Sync-None | 0.00ms ⭐ | 0.02ms | 0.23ms ⭐ | 0.98ms | 3.90ms
197+
Mem-Align | 0.03ms | 0.09ms | 0.46ms | 1.67ms | 6.20ms
198+
Mem-Share | 0.01ms | 0.01ms ⭐ | 0.28ms | 0.99ms | 3.79ms ⭐
199+
```
200+
201+
**WebGPU Results:**
202+
```
203+
Test Method | 256×256 | 512×512 | 1024×1024 | 2048×2048 | 4096×4096
204+
-------------|----------|----------|-----------|------------|----------
205+
Basic | 0.12ms | 0.31ms | 1.19ms | 4.86ms | 3.74ms
206+
GPU-Stress | 0.08ms | 0.30ms | 1.20ms | 4.75ms ⭐ | 3.76ms ⭐
207+
Realloc | 0.07ms | 0.27ms ⭐ | 1.21ms | 4.84ms | 3.88ms
208+
Double-Buf | 0.06ms | 0.28ms | 1.22ms | 4.98ms | 3.91ms
209+
Triple-Buf | 0.05ms | 0.31ms | 1.28ms | 5.14ms | 3.93ms
210+
Quad-Buf | 0.04ms ⭐ | 0.31ms | 1.30ms | 5.19ms | 4.10ms
211+
Penta-Buf | 0.08ms | 0.32ms | 1.30ms | 5.22ms | 4.07ms
212+
Buf-Copy | 0.59ms | 1.27ms | 5.28ms | 19.10ms | 43.40ms
213+
Que-Submit | 0.28ms | 0.76ms | 2.83ms | 11.40ms | 15.57ms
214+
Mem-Align | 0.07ms | 0.39ms | 1.45ms | 5.76ms | 6.37ms
215+
Storage | 0.10ms | 0.42ms | 1.30ms | 5.25ms | 4.22ms
216+
Tiled | 0.55ms | 2.00ms | 7.97ms | 33.30ms | 157.12ms
217+
GPU-Realloc | 0.10ms | 0.28ms | 1.29ms | 5.06ms | 4.04ms
218+
Fresh-Buf | 0.53ms | 1.25ms | 5.28ms | 19.42ms | 45.10ms
219+
Map-Buf | 0.55ms | 1.26ms | 5.16ms | 19.11ms | 45.01ms
220+
```
221+
222+
**Platform**: Apple M4 Max, macOS, Safari Tech Preview 223
223+
**Driver**: WebKit WebGPU Implementation
224+
149225
## 🤖 Development Credits
150226

151227
This repository was built using **Windsurf with Claude Sonnet 3.5** - an AI-powered development environment that enabled rapid prototyping, comprehensive testing, and detailed performance analysis across WebGL and WebGPU APIs.

0 commit comments

Comments
 (0)