<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>35777</bug_id>
          
          <creation_ts>2010-03-04 19:54:16 -0800</creation_ts>
          <short_desc>High cpu usage when displaying certain pages</short_desc>
          <delta_ts>2010-04-30 03:12:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>24913</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Performance, Qt</keywords>
          <priority>P4</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Ran">hephooey_dev</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>196315</commentid>
    <comment_count>0</comment_count>
    <who name="Ran">hephooey_dev</who>
    <bug_when>2010-03-04 19:54:16 -0800</bug_when>
    <thetext>When I open some webpages like http://popgo.net/bbs, the cpu usage becomes 100% and stays very high until I close the webpage. I have tried with the QtWebkit comes with Qt 4.6.2 and the svn r55564 and got the same behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196721</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-03-05 15:13:26 -0800</bug_when>
    <thetext>I can reproduce the issue with WebKit trunk.

For some reason, on that page, Flash is taking all the CPU when used in Windowed mode. It is literally flooding the windowing server with events.

I think it is better to report that to Adobe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196857</commentid>
    <comment_count>2</comment_count>
    <who name="Ran">hephooey_dev</who>
    <bug_when>2010-03-05 20:49:14 -0800</bug_when>
    <thetext>I have tested the website using Firefox with the same flash plugins and the cpu usage is normal, and when I use webkit to view youtube the cpu usage is similar to the usage with Firefox, so I do not think this bug is solely caused by the flash plugin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196903</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-03-06 06:29:41 -0800</bug_when>
    <thetext>I tested Firefox as well and had similar result but still, Flash is the problem here.
It is possible to throttle events in WebKit but that seems more of a hack than a solution.

You can try it with valgrind+callgrind, all the time is spent in Flash and GTK, almost no time is taken by WebKit or Qt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219417</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-04-30 03:12:42 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 24913 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>