rayantony / minimalist-gmail

Automatically exported from code.google.com/p/minimalist-gmail
0 stars 0 forks source link

General Gmail slowdown and lag with newest variant #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which Minimalist Gmail option is causing the problem?
Not sure, but I believe it is the "Show unread item row highlights."

What is the problem? Describe completely:
Once I updated to the most recent version of MG two or three days ago, I 
noticed a slowdown. There is noticeable lag when loading messages in Gmail, 
fetching queries, searching, and in the chat + video chat.

Does the issue persist when loading Gmail with this link:
https://mail.google.com/mail/u/0/?labs=0 if not, list your enabled labs
experiments:
When not using MG, Gmail problems disappear. 

Chrome version         8.0.552.237
Chrome update channel  Official
Operating System       OS X 10.6.6
Language               ENG
Google apps user?      N
Other Gmail extensions None

Please provide any additional information below and attach screenshots if
possible.

Original issue reported on code.google.com by aznyellojersey on 1 Feb 2011 at 8:11

GoogleCodeExporter commented 9 years ago
This is definitely happening for some but it is definitely not the unread item 
highlights. That's pure css and requires no extra processor cycles.

As far as I can tell, the lag is caused by the Hide Navigation and Custom 
Navigation width features. Does this issue persist with those options disabled?

I have more fixes coming in an update tonight.

= CURRENT IMPLEMENTATION
  * Main JavaScript loop runs one or more times a second [The main loop is all if statements so most of it doesn't run every time but it still happens] 
  * Nav-related reconfig function supposed to run every time the window is resized but is accidentally triggered more often
  * Offline contacts checked every 1 second at load and backs off to every 5 seconds.
= 1.6.6 IMPLEMENTATION
  * Main JavaScript loop will run a *maximum* of once per second and will only be triggered when the DOM is modified [when something changes in the Gmail tab]
  * Nav-related reconfig function *only* runs when the window is resized
  * Offline contacts checked *only* when the DOM is modified within the chat gadget [when someone signs on or off]

The new implementation will reduce resource usage when interacting with the 
Gmail tab significantly and the main loop will never run when Gmail is idle 
[when you're not interacting with Gmail, Minimalist Gmail will use 0% CPU]

Original comment by anst...@gmail.com on 1 Feb 2011 at 8:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
okay well like I outlined there could be other general causes if you're on a 
slower computer that will be addressed in the next version.

Original comment by anst...@gmail.com on 1 Feb 2011 at 11:07

GoogleCodeExporter commented 9 years ago
I'm not using those either, and am on a recently bought machine. I did have 
Chrome do some weird stuff to me, but Gmail, by way of the MG extension is the 
only site I've seem impacted from the reinstall I've had to do. 

Original comment by aznyellojersey on 2 Feb 2011 at 2:07

GoogleCodeExporter commented 9 years ago
Should be much improved in 1.6.7, can you verify?

Original comment by anst...@gmail.com on 2 Feb 2011 at 7:20

GoogleCodeExporter commented 9 years ago
I got 1.6.8 and it's working for me now! Thanks!

Original comment by ben543...@gmail.com on 2 Feb 2011 at 10:47

GoogleCodeExporter commented 9 years ago

Original comment by anst...@gmail.com on 2 Feb 2011 at 10:49