defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Drop in performance when a script is open in the editor #2855

Open gianmichelemariani opened 4 years ago

gianmichelemariani commented 4 years ago

Expected behaviour

No slowdowns when a script is in focus in the editor

Actual behaviour

I have my macbook pro 13 hooked up to an external monitor (no dual screen used).

If I have a script or lua file in focus in the editor, the whole system (moving windows, navigating menu, running a build) becomes extremely sluggish. As soon as the focus is moved to something else in the editor, like a collection, an atlas or a .MD file, everything goes back to being smooth and nice.

Steps to reproduce


Build time2019-11-29T13:37:43.182609
Defold channeleditor-alpha
Defold editor sha39b2b2d4bd91ffd166a5776bd998912a0ec9758c
Defold engine sha2be2687cbb670c2dbe9cf2e99577bc3338561778
Defold version1.2.164
GPUIntel(R) Iris(TM) Plus Graphics 640
GPU Driver2.1 INTEL-12.10.12
Java version11.0.1+13
OS archx86_64
OS nameMac OS X
OS version10.14.6
JCash commented 4 years ago

Hmm, I cannot reproduce this. On my machine the editor stays at ~6-7% when I have the engine running on my machine (Mojave 10.14.5). I do have a dedicated gfx card on my iMac though, so I'll test on my MBP later.

gianmichelemariani commented 4 years ago

Yeah, I suspect it has something to do with the integrated gfx. Need to check if it also happens just on the notebook monitor