question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

md-table performance issue

See original GitHub issue

Bug, feature request, or proposal:

`I have integrated the material dataTable and followed the exact same code provided in the sample(https://material.angular.io/components/table/examples).But the table is taking very long to just render the 100 rows and if you increase the loop count to 500 the browser gets stuck and finally gets crashed. This is behaving very poorly for just 100 or 500 rows, unexpected 😦

What is the expected behavior?

500 rows are not that high to render on a browser. they should gets render with in few sec i believe.Moreover, even if its taking long there should be a busy spinner.

my requirement is to show all the available data using scroll and there is no paging expected

What is the current behavior?

for 500 records the browser is getting crashed and even its not working for 100 records

What are the steps to reproduce?

loop the material data table up 100 and you should have the problem, Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: https://goo.gl/DlHd6U

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

AngularJS Version: 4.3.1 AngularJS Material Version:material 2

Is there anything else we should know?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
andrewseguincommented, Aug 31, 2017

The browser should not crash with 500 rows. Please provide a plunker that shows how this occurred. Reproduction from .txt files will be difficult for us to quickly track down the issue.

Feel free to open the issue back up with a working example, thanks!

0reactions
angular-automatic-lock-bot[bot]commented, Sep 7, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

md-table performance issue · Issue #10876 · angular/material
What is the expected behavior? 500 rows are not that high to render on a browser. they should gets render with in few...
Read more >
AngularJS performance issues with ng-repeat - Stack Overflow
Create a md-table-content type directive, with no scope bindings, that has the service injected into it and then assigns the value of the ......
Read more >
Performance issue on a (not so) big table — DataTables forums
Hello, I have a table with a little more then 5000 rows. It takes around 14 seconds to render. From what I have...
Read more >
Investigate performance of metadata queries (#1092) · Issues · briar ...
Investigate the performance of the following DB calls to see which indexes are being used, and whether adding new indexes would improve performance:....
Read more >
Performance problem with Angular and rendering a grid
I currently have a grid that renders an array of objects. It looks something like this. <table data-md-table data-md-row-select= ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found