Performance
Andy Williams edited this page Aug 27, 2021
·
7 revisions
Clone this wiki locally
Graphical toolkits vary in many ways and each has various pros and cons in their design and implementation. This page aims to provide some context for different toolkits in a reasonably subjective manner. Of course we can't measure developer enjoyment or ease of learning - but we can measure runtime statistics :).
The application we will use is a simple Game of Life simulation. To keep things as equal as possible the board will be loaded with 50 * 50 cells each approximately 10 pixels in size, the game should run at 3 frames per second.
Statistics
| Toolkit | Lang | File size | Compressed | CPU | Mem Usage | Start time | URL |
|---|---|---|---|---|---|---|---|
| Fyne | Go | 12MB | 6.0MB | 1.8% | 52.0MB | 0.3s | github |
| Swing | Java | 0.5MB | 0.5MB | 3.0% | 261.7MB | 5s | github |
| Cocoa | Obj-C | 1.7MB | 0.7MB | 9.4% | 20.8MB | 0.2s | github |
Contributions
Please feel free to add your own examples to this list. The reference platform is macOS on a 2.66GHz Intel Xeon with 32GB RAM.