Sign in
webkit
/
WebKit
/
6ac1ae7345a9a50f3760d4fdf5f8c6512c4a9901
/
.
/
PerformanceTests
/
BigIntBench
/
big-int-simple-add.js
blob: 68f883d05d18e8e9b30a13eb469aebe18e2e32d9 [
file
] [
log
] [
blame
]
function
bigInt
(
a
,
b
)
{
let c
=
a
+
b
;
return
a
+
c
+
b
;
}
noInline
(
bigInt
);
for
(
let i
=
0
;
i
<
100000
;
i
++)
{
bigInt
(
0b1111n
,
0b1010n
);
}
let out
;
for
(
let i
=
0
;
i
<
100000
;
i
++)
{
out
=
bigInt
(
0xffffffffffffffffffn
,
0xaaffffffffffffffffffn
);
}