Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
microbenchmarks
/
math-max.js
blob: fb038ca9593d1316f85fe4b7a65f255c99fb74a8 [
file
] [
log
] [
blame
] [
edit
]
function
max
(
a
,
b
)
{
return
Math
.
max
(
a
,
b
);
}
noInline
(
max
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
{
max
(
5
,
5
);
max
(
5
,
400.2
);
max
(
400.2
,
5
);
max
(
24.3
,
400.2
);
}