I'm not sure if I did the test correctly, but my test results are not ideal. Is there something wrong? #37
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hi, Profiling in Editor typically doesn't give precise performance test results. Please check this Benchmarks repo and run tests on a real device (preferably non-mobile because mobile phones have capped fps). See the "How to run the benchmarks?" section in this article to ensure you're running PrimeTween with release performance. Also, you're using an allocating version of Tween.Delay(). Please refer to this documentation section on how to prevent memory allocations in delegates. |
Beta Was this translation helpful? Give feedback.
-
I modified it as requested to |
Beta Was this translation helpful? Give feedback.
@newday11 Oh, I just spotted an extra zero in your PrimeTween test, so the actual result should be 10 times quicker.