SamSaffron / MiniProfiler

A simple but effective mini-profiler for ASP.NET MVC, ASP.NET and Ruby.
http://miniprofiler.com
1.05k stars 221 forks source link

MiniProfiler HTML widget very slow in Chrome on Retina Macbook (includes workaround!) #155

Open mipearson opened 11 years ago

mipearson commented 11 years ago

Writing this up as this was a biig problem for me when using MiniProfiler.

MiniProfiler's use of a position: fixed widget causes extreme slowdown when trying to scroll certain pages on Chrome on a Retina display Macbook.

The workaround is as follows:

  1. Enter about:flags in your chrome browser bar
  2. Set "Fixed position elements create stacking contexts. " to "Enabled"
  3. Set "Compositing for fixed position elements." to "Enabled"

Once again enjoy smooth(-ish) scrolling!

SamSaffron commented 11 years ago

getting away from position fixed is not really an option without a massive redesign

I think I would like to close this issue, not much we can do.

mipearson commented 11 years ago

I agree that there isn't really a fix: I recommend adding this to the documentation somewhere. I raised it as an issue rather than a PR as I'm not sure where you should add it.