Comment #7 on issue 2245 by [email protected]: Handle<Value>() is slower than Undefined(info.GetIsolate())
http://code.google.com/p/v8/issues/detail?id=2245
I was able to improve the performance of empty handles for x64 to come withing spitting distance of handles containing undefined. The difference is now negligible in my opinion. Also this seems to be a x64 issue only, on ia32 the empty handles are already way faster.
--- V8 fixed on ia32: testAttr1 : mean=142.60ms, min=142ms, median=143ms, max=143ms testAttr3 : mean=159.00ms, min=159ms, median=159ms, max=159ms V8 tip of tree on ia32: testAttr1 : mean=146.40ms, min=146ms, median=146ms, max=147ms testAttr3 : mean=163.20ms, min=162ms, median=163ms, max=164ms --- V8 fixed on x64: testAttr1 : mean=107.20ms, min=107ms, median=107ms, max=108ms testAttr3 : mean=103.00ms, min=103ms, median=103ms, max=103ms V8 tip of tree on x64: testAttr1 : mean=113.80ms, min=113ms, median=113ms, max=117ms testAttr3 : mean=103.20ms, min=103ms, median=103ms, max=104ms -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
