Sign in
webkit
/
WebKit
/
410be4ca7055be9179c217c85d9a7735750cf16d
/
.
/
JSTests
/
microbenchmarks
/
object-create-untyped-prototype.js
blob: 78ca4727f2e015ffbb0edfa71dfc1e4db7eeba11 [
file
] [
log
] [
blame
]
function
test
(
prototype
)
{
return
Object
.
create
(
prototype
);
}
noInline
(
test
);
var
prototype1
=
{};
var
prototype2
=
[];
for
(
var
i
=
0
;
i
<
1e5
;
++
i
)
{
test
(
prototype1
);
test
(
prototype2
);
test
(
null
);
}