Mode | Resolution | Time p/ frame | Speedup |
---|---|---|---|
Single-thread | 320x240 | ~430ms | 1x |
Single-thread | 640x480 | ~1750ms | 1x |
GoRoutine | 320x240 | ~220ms | 1.95x |
GoRoutine | 640x480 | ~650ms | 2.69x |
Explicit Data Copy | 320x240 | ~120ms | 3.58x |
Explicit Data Copy | 640x480 | ~620ms | 3.64x |
go:norace | 320x240 | ~160ms | 2.54x |
go:norace | 640x480 | ~650ms | 2.69x |
Mode | Resolution | Time p/ frame |
---|---|---|
Single-thread | 320x240 | ~590ms |
Single-thread | 640x480 | ~2250ms |
GoRoutine | 320x240 | ~295ms |
GoRoutine | 640x480 | ~1100ms |
Explicit Data Copy | 320x240 | ~280ms |
Explicit Data Copy | 640x480 | ~1200ms |
go:norace | 320x240 | ~285ms |
go:norace | 640x480 | ~1090ms |