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