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