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