# Why is the first CharacterMovementComponent slower?

**URL:** <https://forums.unrealengine.com/t/why-is-the-first-charactermovementcomponent-slower/2067674>\
**Category:** Programming & Scripting\
**Tags:** Trace, charactermovementcom, unreal-engine, Performance\
**Created:** [October 14, 2024, 9:17am UTC](https://forums.unrealengine.com/t/why-is-the-first-charactermovementcomponent-slower/2067674 "2024-10-14T09:17:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BDjerigian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BDjerigian](https://forums.unrealengine.com/u/BDjerigian)\
**Post date:** [October 14, 2024, 9:17am UTC](https://forums.unrealengine.com/t/why-is-the-first-charactermovementcomponent-slower/2067674/1 "2024-10-14T09:17:15Z")

</div>

Hello!

I’m trying to optimize Character Movements for my game, and I have been able to reduce it to a few µs per Character, except for the first one…

In the UnrealInsights Trace, every frame, I can see that the first Character Movement to tick will take a significant amount of time longer than the following components (173µs vs 7µs).

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/6/946d25e42ecf7141bd7212b58ec0eabbc82c6238.png)

How can this be explained? Is there something to be cached by the first tick that can be reused by subsequent ticks for the current frame? If so, is there a way to cache this data for several frames?

Thanks!
