Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page loading is very slow in IE when a less file is big #2437

Open
ntopia opened this issue Feb 5, 2015 · 3 comments
Open

page loading is very slow in IE when a less file is big #2437

ntopia opened this issue Feb 5, 2015 · 3 comments

Comments

@ntopia
Copy link

ntopia commented Feb 5, 2015

I've used less.js(Client-side usage) 1.7.5 until yesterday.
Today, I upgraded less.js version to 2.3.1.
After that, the page loading time is terribly increased in IE. (before: 1 second / after: 20 seconds )

I think it happened because of less file's size and complex structure, so I can't make the reduced test case. Sorry.

IE version is 11 and OS is Windows 8.1.
Our less file size is 441kb, 18000 lines.
It happened with all of versions in 2.x tree, but not happened with 1.7.5.

I ran IE11's profiler and here is the result. I hope that it will help you.
profiler

Thanks.

@lukeapage
Copy link
Member

can you send me the less file? I've been trying with bootstrap but I don't see anything too bad - with the latest less and bootstrap its around 1s.
Alternatively work out if one of the regular expressions is taking longer than any of the others by adding timings based on the regexp.

@ntopia
Copy link
Author

ntopia commented Mar 21, 2015

I found your advice about 'chuckInput' option in #2339 (comment), so I set that option to true.
It makes the page amazingly faster than before.
Thank you so much.

@lukeapage
Copy link
Member

lukeapage commented Mar 21, 2015 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants