material icon indicating copy to clipboard operation
material copied to clipboard

ie11: Terrible performance, but not with LumX

Open ross-nordstrom opened this issue 11 years ago • 64 comments

Overview

We have an application we're trying to release to production using Angular Material, but cannot get it to perform in IE10/11. After a lot of struggling (is Angular the problem? Is this, that, or the other dependecy a problem?), we've found that Angular Material framework is simply slow in IE. In comparison, LumX (a different Material Design + Angular framework) works fine in IE10/11.

Plnkr Demo of the Problem

To demonstrate the problem, I implemented a simple page with a Toolbar and list of Items in both Angular Material and LumX. They both perform equally well in Chrome, but ng-material is much slower in IE.

Performance Comparison

To test performance, I did the following:

  • Entered 900 in input box and submit (click Add People or hit Enter key)
  • Visually stop-watch the time from submission to the (xxxx) number updating
Plnkr Chrome IE11
ng-material demo ~1s ~8s
lumx demo <1s ~1s

Versions Used

Laptop: Win7 64-bit, 16gb RAM, Core i7 Chrome version: Version 40.0.2214.115 m IE11 version: 11.0.9600.17633

While I'd prefer to use Angular Material going forward, this performance difference in IE10/11 is a deal breaker for our product. Any help or insight into this issue is much appreciated!

PS: I've also noticed in IE that when the ng-material demo page regains focus (e.g. click a different window then click back in), the page seems stuck and it often takes a while to scroll.

ross-nordstrom avatar Mar 03 '15 23:03 ross-nordstrom

+1!

brandon-shannon avatar Mar 03 '15 23:03 brandon-shannon

:+1:

codyhanson avatar Mar 03 '15 23:03 codyhanson

+1

jmorales4 avatar Mar 03 '15 23:03 jmorales4

+1

aangoulvant avatar Mar 04 '15 00:03 aangoulvant

+1

wilkenstein avatar Mar 04 '15 00:03 wilkenstein

@ross-nordstrom - Thank you for this information. Tomorrow we should have a release of Angular Material v0.8.3. Before our next milestone 0.9 release, we will address the IE11 performance issues... using your plunkr as starting points.

ThomasBurleson avatar Mar 04 '15 03:03 ThomasBurleson

@robertmesserle - it would be great if you had a chance to investigate this.

ThomasBurleson avatar Mar 04 '15 03:03 ThomasBurleson

+1 Thanks!

schreinbo avatar Mar 04 '15 05:03 schreinbo

I have the same experience when including the angular gantt within a tab in angular material. When I started with 0.7.0 the response time was significantly better. What I have discovered so far is that the $apply time is significantly higher in IE than chrome/firefox. Does the material framework fires more $apply fragments ? Or is is a topic for the angular team ?

performance chrome performance ie

kschwidder avatar Mar 05 '15 12:03 kschwidder

(I would say it is more of a topic for the IE11 team :P)

gkalpak avatar Mar 05 '15 12:03 gkalpak

Might be. Most enterprise customers are using IE on their desktops :-( If the apps are not performing well it has an impact.

kschwidder avatar Mar 05 '15 12:03 kschwidder

@ross-nordstrom Can you confirm that this is resolved for you? Try the following files:

https://cdn.rawgit.com/angular/bower-material/v0.8.3-master-f62fd48/angular-material.js https://cdn.rawgit.com/angular/bower-material/v0.8.3-master-f62fd48/angular-material.css

robertmesserle avatar Mar 24 '15 18:03 robertmesserle

Closing for now, please re-open if the issue persists.

robertmesserle avatar Mar 24 '15 18:03 robertmesserle

@robertmesserle That didn't fix it. I updated the ng-material plnkr from before with the new versions above and am seeing the same issue in IE11 as described in my earlier post.

Edit: I'm not sure I can re-open this, but it needs to be reopened

Edit 2: The test I'm running is simply opening that up and add 900 people, just like before.

ross-nordstrom avatar Mar 24 '15 19:03 ross-nordstrom

+1 / performance is quite terrible in an older ASP.NET app we have. And the ng-material demo site is sluggish as others have stated previously.

bradmartin avatar Apr 06 '15 13:04 bradmartin

+1 performance is also very slow on IE11 on Windows Phone 8.1. I will test LumX also to see if this has better performance on WP 8.1.

arjendeblok avatar Apr 10 '15 06:04 arjendeblok

+1 , slowness also on mobile firefox for android on Nexus 7

borgdylan avatar Apr 21 '15 20:04 borgdylan

+1 Also experiencing this. Tried upgrading angular to 1.4.0-rc.1, but that did not have any effect.

tinusn avatar May 11 '15 11:05 tinusn

+1 I am also experiencing very poor performance on Firefox and IE11 using angular-material 0.9.0. Performance is, however, fine on chrome.

The issue must be somewhere in the CSS rules. My app relies on Google maps api, and just panning the map is very slow. I did a test and created a page with just a map, a few markers on it, and nothing else. As soon as I include the angular-material CSS file in my html page, performance suddenly drops. When panning the map without the CSS file included, IE11 says the minimum frame rate is 14fps (not great, but ok). when panning the map with the CSS file included, the minimum frame rate drops to 2fps (pretty much unusable).

Aser17 avatar May 11 '15 14:05 Aser17

+1 I see this on Firefox and IE11 in md-tabs. I have one tab with quite a lot of content. Swiping to and from that tab is ok in Chrome but in Firefox and IE the animation makes the CPU hit 100% for a while, like 4s for IE and 2s for FF. When the animation is finished everything is working again.

There should be a way to disable animation dynamically so I can turn it off for bad browsers.

On Mon, May 11, 2015 at 4:24 PM, Aser17 [email protected] wrote:

+1 I am also experiencing very poor performance on Firefox and IE11 using angular-material 0.9.0. Performance is, however, fine on chrome.

The issue must be somewhere in the CSS rules. My app relies on Google maps api, and just panning the map is very slow. I did a test and created a page with just a map, a few markers on it, and nothing else. As soon as I include the angular-material CSS file in my html page, performance suddenly drops. When panning the map without the CSS file included, IE11 says the minimum frame rate is 14fps (not great, but ok). when panning the map with the CSS file included, the minimum frame rate drops to 2fps (pretty much unusable).

— Reply to this email directly or view it on GitHub https://github.com/angular/material/issues/1771#issuecomment-100924575.

/ Patrik Nydensten

patriknyd avatar May 11 '15 21:05 patriknyd