<?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>152819</bug_id>
          
          <creation_ts>2016-01-06 17:05:19 -0800</creation_ts>
          <short_desc>Add Promise benchmark to JetStream</short_desc>
          <delta_ts>2016-01-06 17:07:44 -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>New Bugs</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="Jeremy Danyow">jdanyow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jdanyow</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1153284</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Danyow">jdanyow</who>
    <bug_when>2016-01-06 17:05:19 -0800</bug_when>
    <thetext>Modern JavaScript APIs are growing more and more Promise heavy.  It would be awesome if the benchmark suite was enhanced to cover Promise performance.

One option would be to add a dedicated Promise benchmark.  Alternatively the pdfjs bench could be updated to use the javascript engine&apos;s built-in Promise when available.

Some links:
* [Corresponding issue for Octane benchmark](https://github.com/chromium/octane/issues/35)
* [Bluebird Promise benchmarks](https://github.com/petkaantonov/bluebird/tree/master/benchmark)
* [jsFiddle demonstrating Promise perf issues in Microsoft Edge](https://jsfiddle.net/jdanyow/vj6o119n/)
* [Microsoft Edge user voice issue](https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/11329845-improve-promise-implementation-performance)

Let me know what you think- I&apos;m willing to work on a PR if you want to provide some direction on this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>