Sign in
webkit
/
WebKit
/
fd5c89692160ad7a4478776d3a7e8f4df224d2ad
/
.
/
JSTests
/
microbenchmarks
/
number-to-string-with-add.js
blob: d2868227fb3ec1b8e74a054c07da5ae3333d5e76 [
file
] [
log
] [
blame
]
function
toStringLeft
(
num
)
{
return
num
+
'Cocoa'
;
}
noInline
(
toStringLeft
);
function
toStringRight
(
num
)
{
return
'Cocoa'
+
num
;
}
noInline
(
toStringRight
);
for
(
var
i
=
0
;
i
<
1e5
;
++
i
)
{
toStringLeft
(
i
);
toStringRight
(
i
);
}