yjfcool / o3d

Automatically exported from code.google.com/p/o3d
0 stars 0 forks source link

Chrome doesn't response when playing checkers on http://o3d.googlecode.com/svn/trunk/samples/checkers.html #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Build: O3D daily build 451
   OS: Windows all

Browsers:Chrome 3.0.195.21

Steps:
1. Launch Chrome
2. Go to http://o3d.googlecode.com/svn/trunk/samples/checkers.html
3. Try to play checkers on Chrome
4. Observe

Result:
You will see Chrome responses very slowly, for example, after you moved the 
red chess piece, it didn't jump at all in Chrome

Expected:
The red chess piece should jump correctly after you move it

Notes:
This issue also happens on Chrome Dev channel build 4.0.206.1, but OK on 
Firefox 3/3.5, IE7/8

Original issue reported on code.google.com by xlyuan@chromium.org on 17 Sep 2009 at 6:59

GoogleCodeExporter commented 9 years ago
It is slow indeed.  If you turn off the V8 engine it gets a bit faster which is 
strange.  All the time is spent in detectSelection() the part that does the 
picking.  
I'm not sure why though. If you click outside the board the application is 
still 
responsive.  It almost seems that the v8 engine is accessing values in the 
browser and 
taking the slow path but I'm not sure why this is happening.

Original comment by vange...@google.com on 23 Sep 2009 at 2:45