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