Sign in
webkit
/
WebKit
/
a9c91ce2c5aea1dcbb1791839037fd37c48643d1
/
.
/
JSTests
/
microbenchmarks
/
object-assign-replace.js
blob: 4e2021fe313345affc8fae5d671c42316c01e562 [
file
] [
log
] [
blame
]
function
test
(
target
,
source
)
{
Object
.
assign
(
target
,
source
);
}
noInline
(
test
);
var
target
=
{};
var
source
=
{
a
:
42
,
b
:
42
,
c
:
42
};
for
(
var
i
=
0
;
i
<
2e6
;
++
i
)
test
(
target
,
source
);