page loading is very slow in IE when a less file is big
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17k
- Forks
- 3.4k
- Avg merge
- 7h 42m
- Merged PRs (30d)
- 26
Description
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.

Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the client-side usage path in less.js and compare version 1.7.5 with the 2.x releases under IE11. Reproduce using the reported 441 KB, 18,000-line Less file and inspect IE11's profiler. Done means the slowdown is reproduced and its regression or cause is identified with a defensible test case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100