https://bugzilla.wikimedia.org/show_bug.cgi?id=53241

--- Comment #14 from C. Scott Ananian <canan...@wikimedia.org> ---
(In reply to comment #13)
> Don't know why exactly this is slower than the harmony-collections version; I
> suspect it's due to the other stuff hacked by es6-shim.  The actual Map/Set
> implementation should be faster.

I was wrong.  Simply adding es6-shim does not make the parserTests benchmark,
in my tests.  The es6-shim implementation seems to be slower solely because its
constructor is slower.  We make 88,143 instances of Set via JSUtils.arrayToSet
during a run of parserTests, and those constructor calls seem to account for
the extra 7s of runtime.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to