Sign in
webkit
/
WebKit
/
b4d1c08751d6262c6b099d39e4a06ee65f97bb77
/
.
/
JSTests
/
microbenchmarks
/
json-stringify-many-objects-to-json.js
blob: 924da3c64d74a8111ba184276fa89b045618b264 [
file
] [
log
] [
blame
]
function
C
()
{}
C
.
prototype
.
toJSON
=
()
=>
''
;
const
value
=
{};
for
(
let i
=
0
;
i
<
100
;
++
i
)
value
[
"k"
+
i
]
=
new
C
;
for
(
let i
=
0
;
i
<
1e5
/
4
;
++
i
)
JSON
.
stringify
(
value
);