Ok I rerun the tests with 1.3.5, it is even a little bit slower than 1.3.4, and still 50% slower than 1.2.26. Adding $compileProvider.debugInfoEnabled(false) only give a very small improvement, almost not mesurable.
On Wednesday, December 3, 2014 11:45:55 PM UTC+1, Frédéric Fanchamps wrote: > > Learning more on how directives should be written, I know now that > controller in directive should be use only when necessary to communicate > between directives on same element, otherwise the link function is enough > to attach data and behavior on the scope. > I have "moved" the code from controller to link function in the two > directives used under the ngRepeat and execution is 15% quicker on 1.2.26 > now than before. > I will test again 1.3 with this change and let you know. > Thanks again for the help. > Fred > > On Tuesday, December 2, 2014 1:33:36 PM UTC+1, Sander Elias wrote: >> >> Hi Frédéric, >> >> Can’t you let your app write out the data to an JSON file? That is what I >> do in such a situation. >> Once everything is loaded, you probably have it stored in on or 2 >> objects, just dump those to a file. >> (easy trick, just do <pre>{{data :json:true}}</pre> and then copy and >> paste!) >> >> Regards >> Sander >> >> > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.