Comment #9 on issue 1239 by [email protected]: ES5 getter/setter performance
http://code.google.com/p/v8/issues/detail?id=1239
I've recently tried to roll v8-i18n (r117:r142) to Chrome, and my change
got rejected because of performance issues.
Among some notable slowdowns I've noticed that adding
Object.defineProperty(obj, 'prototype', {writable: false, enumerable:
false, configurable: false})
contributed to performance loss (see
http://code.google.com/p/v8-i18n/source/diff?spec=svn133&r=133&format=side&path=/trunk/src/collator.js).
My test time went from 19s to 20s (300 iterations over code in question).
Is that expected?
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev