Status: New
Owner: ----

New issue 2275 by lemeslep: Disappointingly bad switch performance on V8
http://code.google.com/p/v8/issues/detail?id=2275

Chrome Version       : 21.0.1180.60
URLs (if applicable) : http://cpcbox.com/
Other browsers tested:
  Firefox 14.0.1: OK


What steps will reproduce the problem?
1. In the "Select configuration..." dropdown list, choose for example "Demos/From Scratch"
2. Watch the execution framerate on Chrome, and compare it with Firefox.


What is the expected result?
On a [email protected], I expect Chrome to run this 8-bit emulator at 50fps rock solid. (The emulator is capped to 50fps which is realtime speed).


What happens instead?
Chrome is only able to run the CPCBox emulator at ~20fps.
That means that Chrome is about 3 times slower than Firefox on this webapp.


After investigating further on this speed issue, I've been able to pinpoint a major bottleneck: V8 shows really poor switch performance.

You can see how poor it performs on V8 compared to Firefox with the benchmark here:
http://jsperf.com/array-vs-switch/2

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to