Sublime Forum

ST3 vs Atom FPS Drop Problem (Video)

#1

Hi,

I experience an exceptionally bad UI performance on my iMac (Retina 5K, 27’’, ultimo 2014).
Graphics Card is AMD Radeon R9 M290X 2048 MB.

The framerate drops to a very noticable degree in full width. This doesn’t happen with Atom. I don’t know what is wrong here but I experience this problem ever since I installed ST3 on this machine.
The version in the Video is ST3 Build 3102.

I love ST3 and I bought the license to support this App.
@jps @wbond could you please figure out why there are FPS problems in ST3 (specifically on 5K iMac)?
Is the gpu_buffer too full?

Note: The tool to monitor the FPS is called Quartz Debug by Apple.

0 Likes

#2

Unfortunately I don’t have a 5k mac to test with. Running 3102 on a 4k display with El Capitan I get perfectly smooth 60fps.

Do you happen to have any packages installed? The only time I noticed any performance drop was with a package that was drawing lots of gutter icons on a very large file (sqlite3.c, 200k lines). If you do, perhaps try disabling packages one at a time to see if that helps the performance.

Let me know about your results with the packages.

0 Likes

#3

I found my PC is pretty slow while rendering a full-width space (ideographic space).

  1. download a clean ST 3103 (Win x64 portable) without anything else installed (even Package Control)
  2. set syntax to any (even use Plain Text)
  3. copy and paste full-width spaces for 60 or more lines (one line, one full-width space) like this gist
  4. FPS drops to 30 or so while scolling
0 Likes

#4

Hi @wbond ,
thx for taking the time to look into this.

I did another video showing you the problem with a vanilla install of ST3. As soon as ST3 is full width FPS start to drop significantly.

0 Likes

#5

I have a Macbook Pro mid-2010 with a 1280x800 res, and I get 40~50fps while using sublime, which I think is an excellent behavior.

0 Likes

#6

@MatNeves I think the problem somehow relates to very high resolution like 5k in my case.

0 Likes

#7

@jfcherng many thanks for the report, that regression will be fixed in the next build

@bijan I suspect this is a memory bandwidth issue, but I don’t currently have a 5k imac to test on. While performance is fine in my testing at 4k, 5k is not too far off double the pixels of 4k, so it wouldn’t surprise me if there’s an issue. I have a plan to address this, hopefully it won’t be too far away.

0 Likes

#8

@jps thx for the insight. I guess Atom is not lagging because the google devs have already addressed this video-memory issue in Chromium (which is the base for electron which is the base for atom). Anyways let me know if I can do some testing for you on the 5k machine as soon as you have something ready. I would be glad to help.

0 Likes