PHPStorm processor usage when editing javascript files

I am using PHPStorm mainly to edit php and javascript files. When I edit php files, no mater how big, no matter how complicated, all is fine.

When I edit javascript files which contain objects, not very big files, not libraries, just my js files, PHPStorm UI often becomes unresponsive for two-three seconds (many times during edits).

I noticed that it keeps the processor busy at ~50%.

I also noticed that when this happens the processor temperature is significantly higher (almost 50% higher). You could say "get a better processor" - but I use Sketchup, Photoshop, Video editing software and generally these programs don't increase the temperature almost at all (with exception to rendering a movie, which takes 100% tics). This makes me think that the PHP Storm UI is not optimised for something related to javascript, or something useless is keeping the processor busy.

P.S. This is about version 7, I think there was no such problem with the previous version.

2
24 comments

Hello!

Please can you provide CPU snapshots/thread dumps taken at the moments when the IDE is unresponsive? See http://devnet.jetbrains.com/docs/DOC-192 and http://devnet.jetbrains.com/docs/DOC-260 for more information on reporting performance issues

1
Avatar
Permanently deleted user





Same problem. MacOS 10.12 (core i5, 12 Gb RAM)
storm 2017.1

1

Please provide CPU snapshots per instructions above

1
Avatar
Permanently deleted user
1

Please try 2017.3 EAP (https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program) - it includes some improvements. If the problem persists, please try taking longer snapshot

0
Avatar
Permanently deleted user

problem not sloved :-(
computer collapsed by storm... its hard to make CPU snapshot

0

without snapshots we have no chance to see what's going on:(

0
Avatar
Permanently deleted user

i launch  2017.2.4 version. After indexing will try to make snapshot

0
Avatar
Permanently deleted user

new error

0

please provide a memory snapshot + idea.log

0
Avatar
Permanently deleted user

http://dropmefiles.com/zcZam - memory snapshot PHPstorm 2017.2.4

http://dropmefiles.com/xDmaM - cpu snapshot PHPstorm 2017.2.4

where is  "idea.log"?

> without snapshots we have no chance to see what's going on:(

You can launch storm on your macOS. i hope your QA have it.

 

Same situation in .php file too if php file contains many JS

 
0
Avatar
Permanently deleted user

http://dropmefiles.com/eL7NG - phpstorm 2017.2.4 idea.log + threadDumps

0

Please try 2017.3 EAP with `-Djs.max.files.to.process=2` added to .vmoptions file (Help | Edit custom VM options) - does it work?

0
Avatar
Permanently deleted user

Do not work :-(

problem in validation. My friends disable validation, and phpstorm stopped consuming processor


0
Avatar
Permanently deleted user

Any news?

The problem still exists

0
Avatar
Permanently deleted user

this is don't help

0

Good morning everyone. I'm using PHPStorm from three weeks now. 

I work with WordPress so a project of mine includes all WP files. 

All work good, app startup, project indexing, html, css, php... all but javascript. When I open a javascript file, the app slow down, the code color is applied slowly and after some minutes, the laptop temperature go up and the fan go at full power.

I have already disabled all the plugins that I don't need and I have added  -Djs.max.files.to.process=2 to the .vmoptions file.

I have a MacBook Pro 2018, cpu 2,2 ghz 6 core intel core i7, 16 gb 2400 mhz drr4, gpu intel uhd 630 1536 mb with Big Sur updated and PHPStorm 22.1.3

Can you help me?

0

please try taking CPU snapshots while performing the actions that are slow:

1) Help > Diagnostic tools > Start CPU usage profiling
2) reproduce the issue (it's better to reproduce the performance problem several times while the snapshot is being recorded)
3) Help > Diagnostic tools > Stop CPU usage profiling

 and submit them along with the logs (Help | Collect Logs and Diagnostic Data) within a support ticket

0

Good morning Elena, thank you for reply me. I have submitted the ticket.

1

Good morning Elena, yesterday I have submitted a ticket but today its page give me a 404. I have to submit another one?

0

Please could you let me know the ticket URL?

0

All is fine with your ticket, it's assigned to the support engineer, she will reply to you asap.

You have to be logged in with account registered to gennaro.d@performize.it to access tour request online. But you can just reply to emails - the support engineer will see them

0

Please sign in to leave a comment.