<?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>190336</bug_id>
          
          <creation_ts>2018-10-07 06:39:41 -0700</creation_ts>
          <short_desc>[JSC][YARR] Support YarrJIT in sampling profiler</short_desc>
          <delta_ts>2021-07-16 18:20: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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>201702</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="Yusuke Suzuki">ysuzuki</reporter>
          <assigned_to name="Yusuke Suzuki">ysuzuki</assigned_to>
          <cc>saam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1466927</commentid>
    <comment_count>0</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2018-10-07 06:39:41 -0700</bug_when>
    <thetext>...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1466943</commentid>
    <comment_count>1</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2018-10-07 09:24:03 -0700</bug_when>
    <thetext>When running uglify-js / coffeescript in web-tooling-benchmark, so much time is consumed in &apos;#&lt;nil&gt;:None:&lt;nil&gt;&apos;.


Sampling rate: 1000.000000 microseconds
Hottest bytecodes as &lt;numSamples   &apos;functionName#hash:JITType:bytecodeIndex&apos;&gt;
  2441    &apos;Function#&lt;nil&gt;:None:&lt;nil&gt;&apos;
   642    &apos;#&lt;nil&gt;:None:&lt;nil&gt;&apos;
   462    &apos;stringify#&lt;nil&gt;:None:&lt;nil&gt;&apos;
   188    &apos;defaults#EZuPgj:FTL:755&apos;
   174    &apos;push#EmOCkn:FTL:58&apos;
   155    &apos;quote#A7WHiP:Baseline:62 &lt;-- compareTo#EmCQ7y:FTL:174&apos;
   112    &apos;compareTo#EmCQ7y:FTL:192&apos;
    98    &apos;is_unicode_combining_mark#CdiBr0:Baseline:43 &lt;-- is_identifier_char#BBa5RX:FTL:123&apos;
    95    &apos;#Am9gS7:Baseline:10 &lt;-- doit#At6wj3:FTL:76&apos;
    84    &apos;OutputStream#D03V2N:FTL:1420&apos;
    71    &apos;push#EmOCkn:FTL:114&apos;
    70    &apos;push#EmOCkn:FTL:180&apos;
    69    &apos;pop#CxNXKP:Baseline:85 &lt;-- #D43Ncu:FTL:218&apos;
    64    &apos;_visit#AK9Sj2:FTL:100&apos;
    61    &apos;indexOf#&lt;nil&gt;:None:&lt;nil&gt;&apos;

This is actually YarrJIT RegExp execution. We would like to have more detailed results for this time, like, &quot;What RegExp takes much time?&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1467522</commentid>
    <comment_count>2</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2018-10-09 12:50:31 -0700</bug_when>
    <thetext>That would be nice.

I thought the sampling profiler knows when it&apos;s in the YARR?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1777688</commentid>
    <comment_count>3</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2021-07-16 18:20:42 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>