<?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>160693</bug_id>
          
          <creation_ts>2016-08-09 09:16:08 -0700</creation_ts>
          <short_desc>[ES7] Use exponentiation expression in ES6SampleBench</short_desc>
          <delta_ts>2016-08-09 15:18:07 -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>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Nobody">webkit-unassigned</assigned_to>
          <cc>fpizlo</cc>
    
    <cc>saam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1218738</commentid>
    <comment_count>0</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2016-08-09 09:16:08 -0700</bug_when>
    <thetext>We can use **, exponentiation expression now.
Looking into the ES6SampleBench, we can find Math.pow calls. This can be replaced with **.
But, strictly speaking, ** is ES2016. Not ES2015.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1218739</commentid>
    <comment_count>1</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2016-08-09 09:19:41 -0700</bug_when>
    <thetext>Filip, what do you think of using ** in ES6SampleBench?

BTW, I&apos;m also working on ES6 modules (and now, slowly landing the browser integration part :)).
Once it is landed, what do you think of introducing the modules into this benchmark? (This is the part of ES6)
Is it better to add a new benchmark that leverages modules, (and **)?

Personally I think adding the new benchmark that heavily uses modules is good thing once the module support is exposed to the Web. But using the modules in the current ES6SampleBench itself is also nice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1218863</commentid>
    <comment_count>2</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2016-08-09 15:18:07 -0700</bug_when>
    <thetext>I like the idea of using &quot;**&quot;. I think modules should be their own benchmark.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>