Number of objects vs Payload, while scaling a modern Javascript project which is more important? : <p>of course, less payload equals to less number of objects but please read the whole description below.</p>

<p>While scaling a javascript project on a modern browser which one is more important? The size of data payload or the number of javascript objects in the memory. I have a huge JSON string which I am looping around and chopping that huge string into different objects. The JSON string holds a lot of traveller information, and each Javascript object has a lot of properties. When there are more than 10,000 travellers in the JSON, the browser is struggling to perform. </p>

<p>I am bringing a lot of properties unnecessary if I can reduce the number of properties obviously my payload will decrease, still, the number of objects might stay the same. </p>

<p>A number of JS objects vs Smaller payload, which one gives more buck for the money regarding the performance?</p>

<p>Thanks</p>
