[Webkit-unassigned] [Bug 100272] Layout Test fast/media/w3c/test_media_queries.html is slow on Chromium debug bots after r132352

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 25 00:24:50 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100272





--- Comment #4 from Alexander Shalamov <alexander.shalamov at gmail.com>  2012-10-25 00:25:57 PST ---
(In reply to comment #3)
> Maybe interesting for the performance people/bots :-)

Yes, looks strange. I tested on quite slow machine, gtk and efl debug builds with RESOLUTION_MEDIA_QUERY disabled and test was executed within few seconds.

If slowness is a problem, we could relax W3C resolution tests and reduce number of queries that are trying to find dpi of the media.

  // Find the resolution using max-resolution
    var resolution = 0;
    do {
      ++resolution;
      if (resolution > 10000) {
        break;
      }
    } while (!query_applies("(max-resolution: " + resolution + "dpi)"));

I think we could change it to "resolution > 500".
Kenneth, what do you think?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list