WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
160693
[ES7] Use exponentiation expression in ES6SampleBench
https://bugs.webkit.org/show_bug.cgi?id=160693
Summary
[ES7] Use exponentiation expression in ES6SampleBench
Yusuke Suzuki
Reported
2016-08-09 09:16:08 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2016-08-09 09:19:41 PDT
Filip, what do you think of using ** in ES6SampleBench? BTW, I'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.
Saam Barati
Comment 2
2016-08-09 15:18:07 PDT
I like the idea of using "**". I think modules should be their own benchmark.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug