Sign in
webkit
/
WebKit
/
c40b553ec07240fe5ed753e57d2381bca594fba7
/
.
/
JSTests
/
microbenchmarks
/
json-stringify-many-objects-to-json.js
blob: 9d53f2eb5c973da3aa7ca95956eb8401ccf95393 [
file
] [
log
] [
blame
]
const
toJSON
=
()
=>
''
;
const
value
=
{};
for
(
let i
=
0
;
i
<
100
;
++
i
)
value
[
i
]
=
{
toJSON
};
for
(
let i
=
0
;
i
<
1e5
/
4
;
++
i
)
JSON
.
stringify
(
value
);