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