angular icon indicating copy to clipboard operation
angular copied to clipboard

Scrolling is slow in a big table benchmark

Open bradlygreen opened this issue 11 years ago • 3 comments

I'm seeing 14-20 FPS for the Angular 2 version of this benchmark https://rawgit.com/alincc/angular-test-table/master/angular2/dist/index.html (code https://github.com/alincc/angular-test-table/tree/master/angular2).

@tbosch thought this was related to the test's use of rAF interacting poorly with our Zones.

bradlygreen avatar Jun 05 '15 16:06 bradlygreen

The ng-for should be on <tr> https://github.com/alincc/angular-test-table/blob/master/angular2/src/templates/test-table.html#L20

vicb avatar Jun 05 '15 16:06 vicb

@vicb yes, you are right. Just double checked it and by changing this we get the same FPS as the other examples. See https://github.com/alincc/angular-test-table/issues/4.

Closing this.

tbosch avatar Jun 05 '15 21:06 tbosch

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.