Home

Awesome

Tween Performance

This repository 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 repository 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.

Testing Environment

Measurements were taken on builds for macOS. Also, details regarding machines and versions are below.

<b>MacBook Pro</b>
<b>OS:</b> macOS Ventura 13.0
<b>CPU:</b> Apple M2
<b>Memory:</b> 24GB

<b>Unity:</b> 2022.3.7f1
<b>Scripting Backend:</b> IL2CPP

Libraries

Tween 64,000 float tweens

[!Note] Libraries that do not support tweening of custom properties are excluded from the benchmark.

Startup

benchmark_startup_64000_float

LibraryTime
GoKit3,322.77ms
UTween698.83ms
GoKitLite389.22ms
ZestKit356.49ms
AnimeRx285.29ms
AnimeTask89.65ms
UnityTweens55ms
AuraTween54.87ms
DOTween45.05ms
MagicTween32.74ms
LeanTween22.66ms
FastTweener14.45ms
PrimeTween4.68ms
LitMotion3.54ms

Update

benchmark_update_64000_float

LibraryTime
AnimeRx17.76ms
AnimeTask12.63ms
UTween10.4ms
UnityTweens4.99ms
ZestKit4.68ms
GoKit3.43ms
AuraTween3.39ms
DOTween3.26ms
LeanTween3.07ms
GoKitLite2.68ms
PrimeTween2.01ms
FastTweener1.12ms
MagicTween0.9ms
LitMotion0.62ms

Tween 50,000 transform.position

Startup

benchmark_startup_50000_position

LibraryTime
GoKit1,800.97ms
iTween631.87ms
UTween607.02ms
AnimeRx247.94ms
AnimeTask204.91ms
UrMotion204.24ms
Uween79.19ms
AuraTween34.75ms
DOTween33.25ms
UnityTweens32.85ms
MagicTween29.72ms
FastTweener25.93ms
ZestKit24.16ms
GoKitLite19.35ms
LeanTween19.07ms
PrimeTween6.38ms
LitMotion6.33ms

Update

benchmark_update_50000_position

LibraryTime
iTween65.1ms
AnimeTask20.15ms
AnimeRx18.63ms
UrMotion18.51ms
Uween13.81ms
GoKit12.28ms
AuraTween10.6ms
UTween10.48ms
GoKitLite10.09ms
DOTween8.78ms
LeanTween7.3ms
PrimeTween7.1ms
UnityTweens7.01ms
FastTweener6.47ms
ZestKit6.32ms
MagicTween5.4ms
LitMotion4.68ms

GC Allocation

Allocation per position tween creation

benchmark_gc_position

LibraryGC.Alloc
UTween5,541B
AnimeRx1,817B
AnimeTask1,547B
iTween1,379B
UnityTweens887B
AuraTween851B
DOTween732B
GoKit667B
FastTweener551B
UrMotion513B
LeanTween292B
GoKitLite269B
ZestKit188B
Uween113B
PrimeTween0B
MagicTween0B
LitMotion0B