HUGE frame spikes in Studio

Not sure if this is completely the correct section, but it may(?) be something I’ve done, but I doubt it.
I can’t post in Studio Bugs anyways, so here.

Recently in Studio I’ve just been getting horrible spikes for no apparent reason. It happens in every one of my projects but not in-game. I have the micro-profiler file

msedge_pV0tz9ndKE


msedge_VEMhgfgk5F

I really have no more info on this.

The spikes are probably caused by using the TextService method ‘GetTextSize’. You might be using this too much in your code. If not, maybe it’s a plugin your using.

I have not used it once. And as I said, it appears in every single project

Check if it is still lagging after you disable all your plugins, and after restarting studio.

It is still happening, unfortunately

And you restarted roblox studio?

I did, yeah. Not sure why it’s happenin’
Is it happening to you? can u check ur micro profiler

I can’t check right now, but last time I was on (yesterday), it was perfectly fine. Although my graphics card has a terrible time in the roblox client for some reason. That’s unrelated though.
You should search all scripts to see if there is usage of GetTextSize or even game:GetService("TextService"). Those scripts might be causing the problem. You can easily search all scripts with Ctrl+Shift+F, I think.

I believe it’s being caused by a Roblox script or something. I literally have no use of GetTextSize other than some 3rd party modules that have references to it, however I put breakpoints + prints where they get called and they don’t get called at all yet the problem occurs.

Are these 3rd party modules corescripts? Or can you edit them?

No no, just regular modules, Promises, Cmdr, etc.

Cmdr probably uses GetTextSize. Try disabling the usage of this module and see if the lag stops.

however I put breakpoints + prints where they get called and they don’t get called at all yet the problem occurs.

Also I don’t use this module at all yet, and Cmdr is not present in any other project.