Status: Accepted
Owner: [email protected]
CC: [email protected]
Labels: Type-Bug Priority-Medium

New issue 1795 by [email protected]: Test-case demonstrating 9x degradation since 3.1
http://code.google.com/p/v8/issues/detail?id=1795

Fedor Indutny ([email protected]) provided a test case that shows 9x degradation that happened since version 3.1 (https://gist.github.com/9e4ede5c4f6d45d663d0). I've made it into a single file test case:

% bleeding_edge/d8 test.js 51463 applications in 5000 ms.: 0.09715718088723937 ms. per application

% 3.1/d8 test.js
493061 applications in 5000 ms.: 0.010140733093876822 ms. per application

Majority of the regression comes from r4783 which causes objects created from the same object literal containing function literal (e.g. {a: function () {} }) to have different maps.

% r4782/d8 test.js
416648 applications in 5000 ms.: 0.01200053762408556 ms. per application

But there are also other performance drops, e.g. the isolate land caused 3% regression and some other changes which I have not tracked down are responsible for another 15%.

We should consider rolling r4783 back.

Attachments:
        test.js  74.3 KB

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to