Fixed (chrome) ~10 second js lag on loading style property group

Jake Bunce

Well-known member
To reproduce, use Chrome and load this page:

admin.php?styles/master-style.0/style-properties&group=general

It hangs for about 10 seconds. From the console:

Screen shot 2013-01-26 at 4.26.00 PM.webp

I debugged this and narrowed it down to this line from init:

Code:
XenForo._TimestampRefresh = new XenForo.TimestampRefresh();

If I remove this line then the lag goes away, but then of course you get other errors because that object isn't setup. I don't have a proper fix.
 
When debugging I turned arround this line:
Code:
.trigger({ element: element, type: 'XenForoActivateHtml' })
But no fix too :( It seems Chrome has a memory leak.
Thank you Jake to have checked this.
 
is this the cause of when you insert image using the icon in the tinymce
it takes 5seconds to load the window?
 
is this the cause of when you insert image using the icon in the tinymce
it takes 5seconds to load the window?

Unknown, but please start a new report for separate issues. People keep piling on these js issues looking for common causes and it just gets confused.
 
is this the cause of when you insert image using the icon in the tinymce
it takes 5seconds to load the window?
No need to create a report, that's not a bug. TinyMCE inline popups are reloading all javascript files that's why it sounds as slow as Wordpress. Use this addon to fix this.

Unknown, but please start a new report for separate issues. People keep piling on these js issues looking for common causes and it just gets confused.
My bad for the last time... :oops:
 
Oh, really? That'd be awesome.

Let me check.

EDIT: (n) Sorry, I still get a 10-15 second delay :( (Windows 8 x64, Chrome 25)
 
Top Bottom