Skip to content

Too many DOM nodes generated from large JSON documents #17

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
We need to find a way to limit the number of DOM nodes in our formatted output.

Loading a large document causes the browser's interface to freeze, sometimes 
for several minutes in my testing. The formatting must be moved out of the 
stream converter so that it can happen asynchronously after the browser has 
displayed something. The entire formatted output should not be added to the 
page in one operation, even asynchronously this would cause a freeze.

We could either add more nodes as the user scrolls down to gradually build the 
formatted output (easier) or only insert DOM nodes that would be visible and 
remove them when scrolled out of view (cooler and I like a challenge :D ).

Original issue reported on code.google.com by [email protected] on 3 Jun 2011 at 10:03

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions