pedr0fontoura / fivem-appearance

👀 A flexible player customization script for FiveM.
https://forum.cfx.re/t/release-fivem-appearance/2438537
MIT License
120 stars 72 forks source link

Resource optimization #69

Closed irineudores closed 2 years ago

irineudores commented 2 years ago

When opening the interface once, even after closing, it continues using cpu, as if it were in a loop. Is it possible to optimize this? Or at least I wanted to understand why stay in a loop when the system is not even being used

franfdezmorales commented 2 years ago

Hey @irineudores, no loops are active when you dont use the resource. JS performance is worse (not a lot) than lua on FiveM, the resource itself consume 0.01 ms, talking about computing time, thats ridiculous.