Sign in
webkit
/
WebKit
/
e1a82001cfdab62c438e943f37ce20f74c8e0820
/
.
/
JSTests
/
stress
/
json-parse-big-object.js
blob: d70b3eceae5a4cf9527cab91ab62c80f5a025af5 [
file
] [
log
] [
blame
]
var
obj
=
{
"foo1"
:
{
"foo2"
:
{
"foo3"
:
{
"foo4"
:
{
"foo5"
:
{
"foo6"
:
{
"foo7"
:
[
{
"bar1"
:
"a"
.
repeat
(
670
)},
{
"bar2"
:
"a"
.
repeat
(
15771
)},
]
}}}}}}};
function
doTest
(
x
)
{
for
(
let i
=
1
;
i
<
10000
;
i
++)
{
var
s
=
JSON
.
stringify
(
x
);
}
}
doTest
(
obj
);