Tween creation and update benchmarks
MeatMotion had the lowest median in all 31 timed update workloads. It was also the fastest of the seven libraries in both creation workloads.
Frame time and creation cost
| Workload (ms) | MeatMotion | LitMotion | MyMotion | PrimeTween | DOTween | LeanTween | Unity Tweens |
|---|---|---|---|---|---|---|---|
| 64,000 float properties | 1.855 | 2.175 | 2.099 | 9.947 | 6.943 | 7.421 | 6.813 |
| 64,000 Vector3 properties | 1.709 | 2.119 | 2.018 | 10.427 | 5.843 | 11.068 | 8.647 |
| 50,000 Transform positions | 3.558 | 3.740 | 3.642 | 7.289 | 6.575 | 6.428 | 8.376 |
| 1,024 sequences with four children | 1.372 | 1.910 | 1.377 | 1.701 | 1.695 | - | - |
| Create 64,000 float tweens | 6.000 | 12.905 | 13.869 | 25.463 | 33.276 | 23.311 | 45.523 |
| Create 50,000 position tweens | 4.617 | 13.821 | 17.386 | 14.478 | 15.857 | 13.142 | 31.131 |
LeanTween and Unity Tweens cannot insert children at absolute times, so their sequence cells show a dash. Update rows cover 600 whole frames per launch after three warm-up frames, including rendering. Creation rows time one batch per launch after capacity and targets are prepared. MeatMotion used its dedicated LocalPositionTweens.AddWorldPosition batch for Transforms and its public MMotion factory for floats.
Float frame times by launch
| Library | Run 1 | Run 2 | Run 3 | Median | P95 |
|---|---|---|---|---|---|
| MeatMotion | 1.855 | 1.988 | 1.462 | 1.855 | 3.785 |
| LitMotion | 2.689 | 2.175 | 1.973 | 2.175 | 4.812 |
| MyMotion | 2.099 | 2.110 | 1.847 | 2.099 | 3.975 |
| PrimeTween | 14.067 | 9.760 | 9.947 | 9.947 | 13.956 |
| DOTween | 7.012 | 5.772 | 6.943 | 6.943 | 9.294 |
| LeanTween | 7.420 | 6.809 | 7.723 | 7.420 | 10.750 |
| Unity Tweens | 7.454 | 6.308 | 6.813 | 6.813 | 9.730 |
All values are in milliseconds. Median and P95 are the medians of the three per-launch statistics.
Additional workloads
Labels identify the test and its parameters. Glyph and Vector3 rows measure whole frames. Other rows time a manual update or the named batch. For eight-update samples, the table gives milliseconds per update. Each cell is the median of three launch medians. A dash means the library has no equivalent feature or the combination was not measured.
| Workload (ms) | MeatMotion | LitMotion | MyMotion | PrimeTween | DOTween | LeanTween | Unity Tweens |
|---|---|---|---|---|---|---|---|
Churn.ReplaceOnePercent(1) |
0.304 | 0.900 | 0.822 | - | 896.843 | - | - |
Churn.ReplaceOnePercent(997) |
0.462 | 1.206 | 1.172 | - | 606.000 | - | - |
Collection.BoundWeighted64000 |
0.151 | 1.895 | 1.134 | - | 14.623 | - | - |
Collection.SampleCurves64000(False) |
0.320 | 1.777 | 0.592 | - | - | - | - |
Collection.SampleCurves64000(True) |
1.132 | 4.021 | 1.303 | - | - | - | - |
ComponentBinding.SpriteAlpha1024 |
0.016 | 0.065 | 0.034 | - | 0.066 | - | - |
Debugger.TrackedLifecycle1024(False) |
0.266 | 1.492 | 0.701 | - | - | - | - |
Debugger.TrackedLifecycle1024(True) |
0.602 | 1.639 | 0.717 | - | - | - | - |
Glyph.ChangingText |
1.984 | 3.768 | 2.207 | - | - | - | - |
Glyph.Update |
1.244 | 2.393 | - | - | - | - | - |
Handle.ValueTaskLifecycle1024 |
0.230 | 0.479 | 0.436 | - | - | - | - |
Integration.UniTaskLifecycle1024 |
0.239 | 0.479 | 0.378 | - | - | - | - |
LoopParityTests.DelayedYoyo64000 |
0.264 | 0.698 | - | - | 15.606 | - | - |
RenderPackage.VolumeWeights1024 |
0.0018 | 0.031 | 0.011 | - | 0.058 | - | - |
Scheduler.ManualFloat64000 |
0.253 | 0.815 | - | - | - | - | - |
String.ChangingText512(False,False) |
0.019 | 0.091 | 0.103 | - | - | - | - |
String.ChangingText512(False,True) |
0.019 | 0.090 | 0.112 | - | - | - | - |
String.ChangingText512(True,False) |
0.025 | 0.177 | 0.206 | - | - | - | - |
String.ChangingText512(True,True) |
0.025 | 0.147 | 0.194 | - | - | - | - |
String.Update1024(0) |
0.032 | 0.079 | 0.151 | - | - | - | - |
String.Update1024(1) |
0.052 | 0.081 | 0.149 | - | - | - | - |
String.Update1024(2) |
0.021 | 0.123 | 0.194 | - | - | - | - |
UIText.SetTMPText256 |
0.043 | 0.113 | 0.111 | - | - | - | - |
VectorProperty.Varied |
1.663 | 2.023 | 1.959 | 10.506 | 6.091 | 11.619 | 9.443 |
Vibration.Update4096(0) |
0.032 | 0.092 | - | - | - | - | - |
Vibration.Update4096(1) |
0.071 | 0.103 | - | - | - | - | - |
Vibration.Update4096(2) |
0.065 | 0.110 | - | - | - | - | - |
Churn takes a replacement stride. The curve flag enables weights, the debugger flag reads tracking details, and the two ChangingText512 flags enable rich text and Japanese text. String modes 0, 1 and 2 select plain, scrambled and rich text. Vibration modes 0, 1 and 2 select punch, random shake and Perlin shake.
DOTween was measured in a separate set of three launches on the same manual clock, through UpdateType.Manual and DOTween.ManualUpdate, with the same counts, steps and value checks. DOTween has no per-loop delay, so its DelayedYoyo64000 is an endlessly looping sequence that starts with an interval. DOTween's Churn frames include 640 Kill calls and creations and took 0.6 to 0.9 seconds each.
The fixed-text MyMotion glyph case exceeded the uploaded vertex error tolerance. Its changing-text result passed the geometry check and is included.
MeatMotion