smarr / are-we-fast-yet

Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update JavaScript benchmarks to use ECMAScript classes

smarr opened this issue · comments

It seems the time to switch to using the class syntax.

It's established enough, and easily available in Node.js.
For backwards compatibility, I may need to think about generating more compatible version using Babel or similar.

I'll still need a pure JavaScript version though, and ideally, one that is compatible with ECMAScript without for-of and classes.

Latest code is here: https://github.com/gracelang/moth-benchmarks/tree/master/benchmarks/JavaScriptPure.