Addepar / Addepar/ember-table

Performance issues rendering items

Open
#809 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
351
Avg merge
1d 22h
Merged PRs (30d)
1

Description

The description says it can handle over 100K items without any performance issues.
I want to display the files in a directory but only the first 3 rows render and it seems to freeze. After waiting a while the other rows get rendered as well.

ember: 3.15.1.
ember-table: 2.2.3

Using the snippet below I can see the log going in the console but only the first 3 rows render initially.

<EmberTable as |t|>
  <t.head @columns={{columns}} />
  <t.body @rows={{rows.fsDirectory}} as |b|>
    <b.row as |r|>
      <r.cell as |cellValue columnValue rowValue cellMeta columnMeta rowMeta|>
         {{log "cellvalue: " cellValue}}
         {{cellValue}}
      </r.cell>
    </b.row>
  </t.body>
</EmberTable>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the provided EmberTable snippet, using the t.body entry point and rows.fsDirectory with a large directory dataset. Compare the initial rendering behavior against the claimed ability to handle over 100K items; done means the rows render without the reported freeze or prolonged delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.