Sign in
webkit
/
WebKit
/
3ee83bd7079b5d32a56631e7e3c8cee2e6830703
/
.
/
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
);
}