Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Slow performance with medium to large data set

$
0
0
I'm evaluating CanJS for use but I'm having issues with loading in medium to large data sets. The json file looks like this:

{
  "data" : [{
    "prop1":"value",    
    "prop2":"value",
    "prop3":"value",    
    "prop4":"value",    
    "prop5":"value",    
    "prop6":"value",    
    "prop7":"value",
    "prop8":"value"
  },{
    "prop1":"value",    
    "prop2":"value",
    "prop3":"value",    
    "prop4":"value",    
    "prop5":"value",    
    "prop6":"value",    
    "prop7":"value",
    "prop8":"value"
  },
etc.

I've been testing with 150 objects in the array and have found that the browser locks and the data takes a long time to parse and display (just doing console.log() in findAll(). Is there some way to speed this up? The same test with Backbone displays the data nearly immediately.



Viewing all articles
Browse latest Browse all 3491

Trending Articles