This project measures the performance of tween libraries published on Github, Asset Store, etc. using the Performance Testing API, and includes the results and the source code used.
Note This project does not contain the actual library source code, as it contains libraries that are not allowed to be redistributed. If you want to test yourself, please manually add the libraries required for testing.
Measurements were taken on builds for macOS. Also, details regarding machines and versions are below.
MacBook Pro
OS: macOS Ventura 13.0
CPU: Apple M2
Memory: 24GB
Unity: 2022.3.1f1
Scripting Backend: IL2CPP
- MagicTween (0.2.0)
- DOTween Pro (1.0.375)
- LeanTween (2.5.1)
- PrimeTween (1.0.15)
- GoKit
- ZestKit
- AnimeRx (1.3.2)
- AnimeTask (1.13.1)
- unity-tweens (3.2.0)
Time represents the median processing time for each frame.
The StartUp item is the result of measuring the time it takes to create the tween.
Time | |
---|---|
AnimeRx | 7.88ms |
AnimeTask | 7.42ms |
DOTween | 1.97ms |
UnityTweens | 1.9ms |
LeanTween | 1.86ms |
GoKit | 1.45ms |
ZestKit | 1.29ms |
PrimeTween | 0.97ms |
MagicTween | 0.5ms |
MagicTween (for ECS) | 0.3ms |
Time | |
---|---|
AnimeRx | 18.9ms |
AnimeTask | 13ms |
DOTween | 5.67ms |
LeanTween | 4.45ms |
GoKit | 4.03ms |
UnityTweens | 3.98ms |
ZestKit | 3.45ms |
PrimeTween | 2.14ms |
MagicTween | 1ms |
MagicTween (for ECS) | 0.5ms |
Tween | Average |
---|---|
AnimeTask | 9.16ms |
AnimeRx | 6.29ms |
GoKit | 3.55ms |
LeanTween | 2.97ms |
DOTween | 2.85ms |
UnityTweens | 2.79ms |
PrimeTween | 2.52ms |
ZestKit | 1.88ms |
MagicTween | 1.7ms |
MagicTween (Job) | 1.4ms |
Tween | Average |
---|---|
AnimeTask | 19.11ms |
AnimeRx | 17.64ms |
GoKit | 11.21ms |
LeanTween | 8.5ms |
DOTween | 7.89ms |
UnityTweens | 7.28ms |
PrimeTween | 7.28ms |
ZestKit | 6.55ms |
MagicTween | 5.31ms |
MagicTween (Job) | 3.3ms |
Time | |
---|---|
AnimeTask | 8.59ms |
AnimeRx | 6.84ms |
GoKit | 3.67ms |
LeanTween | 3.06ms |
DOTween | 2.99ms |
UnityTweens | 2.73ms |
PrimeTween | 2.61ms |
ZestKit | 1.93ms |
MagicTween | 1.69ms |
MagicTween (Job) | 1.5ms |
Time | |
---|---|
AnimeTask | 19.11ms |
AnimeRx | 17.64ms |
GoKit | 11.21ms |
LeanTween | 8.5ms |
DOTween | 7.89ms |
UnityTweens | 7.28ms |
PrimeTween | 7.28ms |
ZestKit | 6.55ms |
MagicTween | 5.31ms |
MagicTween (Job) | 3.3ms |
Time | |
---|---|
GoKit | 3,341.76ms |
ZestKit | 416.03ms |
AnimeRx | 300.48ms |
AnimeTask | 90.57ms |
DOTween | 83.46ms |
UnityTweens | 75.21ms |
LeanTween | 51.45ms |
MagicTween | 31.14ms |
MagicTween (for ECS) | 16.7ms |
PrimeTween | 4.38ms |
Time | |
---|---|
GoKit | 1,721ms |
AnimeRx | 241ms |
AnimeTask | 206ms |
UnityTweens | 45.68ms |
MagicTween (Job) | 45.22ms |
DOTween | 42.95ms |
LeanTween | 36.39ms |
MagicTween | 25.91ms |
ZestKit | 19.08ms |
PrimeTween | 7.53ms |
Note Magic Tween can speed up the start of animations by caching tweens. For details, please refer to Optimization in README.