Skip to content

Performance problem with rendering a treetable in an iframe (IE11)#173

Open
benSn wants to merge 2 commits intoludo:masterfrom
benSn:master
Open

Performance problem with rendering a treetable in an iframe (IE11)#173
benSn wants to merge 2 commits intoludo:masterfrom
benSn:master

Conversation

@benSn
Copy link
Copy Markdown

@benSn benSn commented Jul 1, 2015

I came across this issue when testing a large collapsible treetable (over 2000 entries) rendered in an iframe in the IE11. The treetable renders ok in a standalone page (about 2 seconds) but in an IE11 iframe it took more than 50 seconds. After profiling the whole thing, the problem seemed to be related with jQuery hide method.
The change from .hide() to .css('display','none') fixed the performance issue.

benSn added 2 commits July 1, 2015 16:48
According to this Tweet from Paul Irish: https://twitter.com/paul_irish/status/564443848613847040 you shouldn't use jQuery's hide() method.
Performance recommendation: Do not use jQuery's hide() method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants