I have a script that is run by several thousand people all over the world. 
 It modifies Facebook pages when playing a game (providing coordination 
information helping game play).  
I have found that some users using the script running current Firefox and 
Greasemonkey 3.6 or greater are seeing significant slowdowns when running 
while others are not. 
The problem appears to be related to the response time of GM_getValue and 
GM_setValue for the more current versions of Greasemonkey.   
Has the method for saving GM_setValue and GM_getValue data changed in 
Greasemonkey?

The slowdown the users are experiencing immediately goes away if switching 
back to Greasemonkey 2.2.1 (but this requires going back to at least 
Firefox 43, to be compatible with the Greasemonkey version).

We are seeing speeds three times as fast accessing data on Greasemonkey 2.2 
compared to Greasemonkey 3.6 or Greasemonkey 3.7.

We've resorted to moving some of the data out of GM_setValue locations into 
localStorage locations and other checks we've just skipped to reduce the 
delays. 

Any suggestions as to what might make GM_getValue and GM_setValue *VERY* 
slow on some profiles and not others would be greatly appreciated.  We are 
not sure if large amounts of data would be a detriment (meaning 10K instead 
of 1K total size -- not megabytes) or if something else could be making the 
profile very slow.   It is evident on the machines running slow that the 
profile is being accessed on disk over and over again causing significant 
latency waiting for the disk to read/write constantly.  


-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to