dbc: Is this also related to this issue?
http://code.google.com/p/v8/issues/detail?id=1902
Yes, it is related. However it doesn't fix that issue completely. The first
run
now takes consistently about 4000ms. But subsequent runs alternate between
4000ms and 7000ms, which doesn't happen with the old profiler.
http://codereview.chromium.org/10202007/diff/4001/src/objects-inl.h
File src/objects-inl.h (right):
http://codereview.chromium.org/10202007/diff/4001/src/objects-inl.h#newcode3708
src/objects-inl.h:3708: if (tries > 4 && (((tries - 1) & tries) == 0)) {
On 2012/04/24 10:38:22, Jakob wrote:
nit: did you mean ">= 4"?
Yes, that's what I meant. :)
Performance on our benchmarks is similar, but in mandreel test the ">="
version runs slightly faster.
http://codereview.chromium.org/10202007/
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev