<?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>104609</bug_id>
          
          <creation_ts>2012-12-10 16:06:15 -0800</creation_ts>
          <short_desc>--profile differences between Linux and Android</short_desc>
          <delta_ts>2012-12-17 16:32:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>104971</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Rogers">pdr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>peter</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>787815</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2012-12-10 16:06:15 -0800</bug_when>
    <thetext>Due to using two profilers, our --profile output is different on each platform:

Android - SvgCubics
[ perf record: Captured and wrote 6.210 MB /data/perf.data (~271321 samples) ]
    59.49%  SignalSender  libm.so               [.] 0x1169c 
     8.66%  SignalSender  [kernel]              [k] 0xc004fa50
     7.10%  SignalSender  libDumpRenderTree.so  [.] WebCore::PathTraversalState::cubicBezierTo(WebCore::FloatPoint const&amp;, WebCore::FloatPoint const&amp;, WebCore::FloatPoint const&amp;)
     5.80%  SignalSender  libDumpRenderTree.so  [.] WebCore::CubicBezier::split(WebCore::CubicBezier&amp;, WebCore::CubicBezier&amp;) const
     4.45%  SignalSender  libDumpRenderTree.so  [.] WebCore::distanceLine(WebCore::FloatPoint const&amp;, WebCore::FloatPoint const&amp;)
     2.57%  SignalSender  libc.so               [.] 0x1fce0 
     1.41%  SignalSender  [unknown]             [.] 0x6c12764c
     0.94%  SignalSender  libDumpRenderTree.so  [.] 0x181f90
     0.21%  SignalSender  libDumpRenderTree.so  [.] SkPath::RawIter::next(SkPoint*)
     0.20%  SignalSender  libDumpRenderTree.so  [.] WebCore::convertPathPoints(WebCore::FloatPoint*, SkPoint const*, int)

Linux - SvgCubics
Finished: 1.381556 s
      56  47.9%  47.9%       56  47.9% WebCore::PathTraversalState::cubicBezierTo
       3   2.6%  50.4%        3   2.6% 00007fba7a9055e2
       3   2.6%  53.0%        3   2.6% __access
       3   2.6%  55.6%        3   2.6% __libc_free
       2   1.7%  57.3%        2   1.7% 00007fba7a905417
       2   1.7%  59.0%        2   1.7% WebCore::Path::apply
       2   1.7%  60.7%        2   1.7% WebCore::SVGResourcesCache::cachedResourcesForRenderObject
       2   1.7%  62.4%        2   1.7% WebCore::StyleResolver::collectMatchingRules
       2   1.7%  64.1%        2   1.7% __libc_malloc
       2   1.7%  65.8%        2   1.7% tcmalloc::FL_Push


It is possible this is due to the platform, but</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>787824</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-12-10 16:13:47 -0800</bug_when>
    <thetext>Yeah, one uses pprof, the other uses perf.  I should make it possible to use perf on either.  It&apos;s possible pprof could be made to work on Android too (but not until they use tcmalloc... which I don&apos;t think they do yet).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>793147</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-12-17 16:32:17 -0800</bug_when>
    <thetext>These both use perf by default now.  :)

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

    </bug>

</bugzilla>