Open Bug 945452 Opened 11 years ago Updated 2 months ago

V8 is 1.4x faster in Browsermark "JavaScript String Chat"

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: sstangl, Unassigned)

References

(Blocks 1 open bug)

Details

This benchmark runs String.replace() in a loop, with Latin words in the backing string, searching for words like "cockballs" which are never found. Additionally, since only one argument is provided to String.replace(), the test actually just tries to replace the first instance of the word with the string "undefined", because the author didn't know about global regexps, which we already would have optimized for due to octane-regexp.

We need to be about 1.4x our current speed to match V8.
Summary: Browsermark "JavaScript String Chat" in SM is 1.4x the speed of V8 → V8 is 1.4x faster in Browsermark "JavaScript String Chat"
(In reply to Sean Stangl [:sstangl] from comment #0)
> searching for words like "cockballs"

...
(In reply to Jeff Walden [:Waldo] (remove +bmo to email) from comment #1)
> ...

It's quite the benchmark. It appears to have been ripped without attribution from Peacekeeper, which also features that and similar words.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.