[Bug]: Excessive CPU usage
Bug description
CPU usage increases when editing blade files, load average spikes at around 15. CPU usage decreases from 1700% to less than 300% on the phpstorm activity monitor when the plugin is disabled.
Plugin version
8.1.4.241
Operating system
Linux
Steps to reproduce
Enable the plugin and edit blade files.
Relevant log output
I have collected log files if you let me know where to upload them.
$ uname -a
Linux 6.8.4-zabbly+ #ubuntu22.04 SMP PREEMPT_DYNAMIC Fri Apr 5 19:25:12 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ free -h
total used free shared buff/cache available
Mem: 31Gi 5.6Gi 14Gi 2.5Gi 10Gi 22Gi
I analyzed it a bit and probably found a reason. I'll try to make an option to turn one feature off. And you could check if it was a reason. Thank you for posting.
Will do. Thanks for the quick response.
If you still have this issue, could you please update to Laravel Idea 8.2, turn off this option and check again?
Thanks. I've actually had the plugin deactivated since having that problem, and have only reactivated it in the past 2-3 days. Not seen the cpu usage spiking. Updated now and will keep you informed.