Thanks Sander, I tried with your way and other corrected way as I discussed in the same stackoverflow.com question but I still can observed the same issue.
Here is the my *final log after correcting the directive*. I can tell for sure that my object collection is a complex object *Time taken to render row - 0 : 1029 * *Time taken to render row - 1 : 6 ms * *Time taken to render row - 2 : 8 ms * *Time taken to render row - 3 : 8 ms * *Time taken to render row - 199 : 251 ms * *Time taken to render row - 200 : 241 ms * *Time taken to render row - 716 : 1053 ms * *Time taken to render row - 717 : 1055 ms* Thanks in advance, Prem On Friday, 25 July 2014 22:49:59 UTC+5:30, Sander Elias wrote: > > Hi Prem, > > You didn't measure correctly. Every repeat creates a new scope. so your > directive is setting the refTime on its local scope. > so you are measuring the time it took since putting in the first row. that > will always increase :) > > I updated your sample a bit: http://jsbin.com/bobufeye/1/edit > > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
