<?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>61722</bug_id>
          <alias>CamanJS_Perf</alias>
          <creation_ts>2011-05-30 01:13:01 -0700</creation_ts>
          <short_desc>CamanJS Benchmark : WebKit is very slow compared to firefox</short_desc>
          <delta_ts>2012-09-08 04:16:27 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="rahmanih">haithem.rahmani</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abecsi</cc>
    
    <cc>barraclough</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>dglazkov</cc>
    
    <cc>dimich</cc>
    
    <cc>ggaren</cc>
    
    <cc>jamesr</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>loki</cc>
    
    <cc>mdelaney7</cc>
    
    <cc>ojan</cc>
    
    <cc>oliver</cc>
    
    <cc>ryuan.choi</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>412160</commentid>
    <comment_count>0</comment_count>
    <who name="rahmanih">haithem.rahmani</who>
    <bug_when>2011-05-30 01:13:01 -0700</bug_when>
    <thetext>Hi all,

I&apos;ve found this blog:
http://blog.meltingice.net/programming/camanjs-benchmark-firefox-4-beta-kicking-chromes-ass

I run the benchmark  http://dev.meltingice.net/canvas/test/benchmark.html 
and found the following results on a Core2 Duo 2.66 GHZ /Fedora 15

all webkit ports are really slow compared to firefox4 :(

              firefox4         Arora0.11.0(webkit 533.3)      chrome (11.0.696.71)    midori(webkitgtk-1.4.0)
--------------------------------------------------------------------------------------------------------------
brightness    320ms            12570ms                            3239ms                   7613ms
--------------------------------------------------------------------------------------------------------------
clip          352ms            23830ms                            2723ms                   7048ms
--------------------------------------------------------------------------------------------------------------
colorize      313ms            34424ms                            3461ms                   6474ms
--------------------------------------------------------------------------------------------------------------
contrast      937ms            29330ms                            4758ms                   7593ms
--------------------------------------------------------------------------------------------------------------
gamma         376ms            49212ms                            3920ms                   6283ms
--------------------------------------------------------------------------------------------------------------
greyscale     277ms            28935ms                            3796ms                   6150ms
--------------------------------------------------------------------------------------------------------------
hue           853ms            33353ms                            3675ms                   6660ms
--------------------------------------------------------------------------------------------------------------
invert        228ms            37749ms                            2684ms                   6118ms
--------------------------------------------------------------------------------------------------------------
noise         247ms            24039ms                            3325ms                   6195ms
--------------------------------------------------------------------------------------------------------------
saturation    488ms            17916ms                            2943ms                   6845ms
--------------------------------------------------------------------------------------------------------------
sepia         244ms            31918ms                            3420ms                   6239ms
--------------------------------------------------------------------------------------------------------------

regards.
Haithem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412205</commentid>
    <comment_count>1</comment_count>
    <who name="Gabor Loki">loki</who>
    <bug_when>2011-05-30 06:11:24 -0700</bug_when>
    <thetext>I am not sure it is a canvas related issue.

It would be nice if all canvas manipulations and accesses are disabled to make sure about the bottleneck. Maybe disabling the rendering part (putImageDate) is also enough.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412235</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-05-30 08:20:10 -0700</bug_when>
    <thetext>&lt;rdar://problem/9522963&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>593003</commentid>
    <comment_count>3</comment_count>
    <who name="rahmanih">haithem.rahmani</who>
    <bug_when>2012-04-01 02:57:28 -0700</bug_when>
    <thetext>On Windows Xp, Chrome &quot;18.0.1025.142 m&quot; is unable to run the benchmark at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>714801</commentid>
    <comment_count>4</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-09-07 11:36:58 -0700</bug_when>
    <thetext>Benchmarking on my mac, we&apos;re now much faster than firefox.  Chrome is slightly ahead, but results are mixed and I&apos;m not sure we&apos;re going to want to track every single benchmark out there.  I don&apos;t think we&apos;re going to take further action specifically targeting this particular benchmark, unless we were to significantly regress.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715329</commentid>
    <comment_count>5</comment_count>
    <who name="rahmanih">haithem.rahmani</who>
    <bug_when>2012-09-08 04:16:27 -0700</bug_when>
    <thetext>Hi,

I tests On chrome windows (20.0.1180.89) and results are much better:

Filter	 	Average

brightness	60ms
clip		64ms
colorize	74ms
contrast	876ms
gamma		259ms
greyscale	176ms
hue		261ms
invert		61ms
noise		106ms
saturation	292ms
sepia		141ms

are those improvements thanks to the DFG?

regards
Haithem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>