# What is UpdateRSI? (Profiler abnormal values)

**URL:** <https://forum.defold.com/t/what-is-updatersi-profiler-abnormal-values/78993>\
**Category:** Questions\
**Created:** [November 26, 2024, 6:43pm UTC](https://forum.defold.com/t/what-is-updatersi-profiler-abnormal-values/78993 "2024-11-26T18:43:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dragosha](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dragosha/32/5103_2.png) [@Dragosha](https://forum.defold.com/u/Dragosha)\
**Post date:** [November 26, 2024, 6:43pm UTC](https://forum.defold.com/t/what-is-updatersi-profiler-abnormal-values/78993/1 "2024-11-26T18:43:51Z")

</div>

In some game launches I see high values of the UpdateRSI parameter in the profiler, but I don’t really understand what they are based on. What exactly does this value mean? Searching the forum and manual did not give an answer.

 ![2024-11-26_23-31-32](https://forum-defold-uploads.b-cdn.net/original/3X/6/4/6412eb4d4c16bc9db893e872851fc0ff7ed693d6.png)

 ![2024-11-26_23-38-30](https://forum-defold-uploads.b-cdn.net/original/3X/5/f/5f7e38811574e3cdbad80722643b07d3f85a2b8b.png)

upd.  
Hmm. From source code it looks like it’s the render script execution time, but that doesn’t give any insight into what’s taking so long.

[https://github.com/defold/defold/blob/4ec17be65ff55bc5f54fa8120f2ece925d870c3f/engine/render/src/render/render\_script.cpp#L3477](https://github.com/defold/defold/blob/4ec17be65ff55bc5f54fa8120f2ece925d870c3f/engine/render/src/render/render_script.cpp#L3477)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [November 26, 2024, 7:21pm UTC](https://forum.defold.com/t/what-is-updatersi-profiler-abnormal-values/78993/2 "2024-11-26T19:21:44Z")

</div>

> [@Dragosha](#):
>
> Hmm. From source code it looks like it’s the render script execution time, but that doesn’t give any insight into what’s taking so long.

It looks like we are not measuring all parts of the `UpdateRenderScriptInstance()` function. In your screenshot there’s a few sub-scopes

- Update 0.001
- RenderScript 0.068 from [defold/engine/render/src/render/render\_script.cpp at dev · defold/defold · GitHub](https://github.com/defold/defold/blob/dev/engine/render/src/render/render_script.cpp#L3555)

Then we iterate over the command buffer via `ParseCommands`:

> <https://github.com/defold/defold/blob/dev/engine/render/src/render/render_script.cpp#L3558>

I bet it is one of the commands that take long and we do not profile all of them.

> <https://github.com/defold/defold/blob/dev/engine/render/src/render/render_command.cpp#L58-L231>

---

<div class="post-metadata">

**Author:** ![Dragosha](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dragosha/32/5103_2.png) [@Dragosha](https://forum.defold.com/u/Dragosha)\
**Post date:** [November 27, 2024, 10:51am UTC](https://forum.defold.com/t/what-is-updatersi-profiler-abnormal-values/78993/3 "2024-11-27T10:51:22Z")

</div>

> [@britzl](#):
>
> I bet it is one of the commands that take long and we do not profile all of them.

Thanks for the reply. I did some more research comparing two technically identical projects, but one has a large RSI the other is regular and found out suddenly that in the first project the checkbox verify graphics calls was switched off. After switching it on the values normalised. 🤪

 ![2024-11-27_15-48-02](https://forum-defold-uploads.b-cdn.net/original/3X/8/5/8517482b1af0c9fa23e265cad5c94cb5dc9914c1.png)
