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