Performance
Performance Benchmarks
Performance benchmarks were conducted to analyze the relationship between Vision Source count, refresh intervals, and frame rate performance. Testing parameters included a 4096x4096 resolution fog texture with uncapped frame rate.
| Vision Sources \ Refresh Interval | 0 | 0.0167 | 0.02 |
|---|---|---|---|
| 0 | 540 FPS | 1100 FPS | 1200 FPS |
| 1000 | 530 FPS | 1100 FPS | 1200 FPS |
| 3000 | 520 FPS | 1095 FPS | 1200 FPS |
| 5000 | 500 FPS | 1095 FPS | 1190 FPS |
| 10000 | 480 FPS | 1090 FPS | 1185 FPS |
Benchmark Analysis
The benchmark results show excellent performance characteristics:
Low Unit Count Performance: Adding the first 1000 vision sources causes almost no performance drop - the system handles them with minimal overhead. This is great news for typical RTS games, which usually have a few hundred units at most.
Test Conditions: These benchmarks used an extremely large 4096x4096 fog texture, which is much larger than most games need. This texture size would only be necessary for very large maps. In most real-world scenarios, a 1024x1024 texture will provide good visual quality while running significantly faster than the results shown above.