Status: New
Owner: ----

New issue 2895 by [email protected]: Gradual degradation of most ICs to megamorphic state
http://code.google.com/p/v8/issues/detail?id=2895

I've a private-html template script that's running at acceptable speed (20ms per template run), but after spinning for a couple of minutes it becomes significantly slower (> 100 ms per template run) and continues to degrade.

From my investigation I've found that the most of ICs generated for that template are gradually degarding to N (Megamorphic) state and v8 is starting to loose time doing global cache lookups in it for every property read/write operation.

One of the offenders is definitely this guy: https://chromiumcodereview.appspot.com/18881006, I'm not sure why it was introduced (probably, because of this assertion: https://code.google.com/p/v8/source/browse/branches/bleeding_edge/src/objects.cc#10349 ), but it makes some of the quite stable monorphic ICs degrade to megamorphic on cache miss, when they're in fact polymorhpic.

I suppose there're some other reasons behind this, and I'll be glad to help you with it as much as I can. And unfortunately I've no right to publish javascript file here, but it was generated using my library: https://github.com/veged/xjst .

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to