carbon-design-system / ibm-products

A Carbon-powered React component library for IBM Products
https://ibm-products.carbondesignsystem.com
Apache License 2.0
94 stars 137 forks source link

[Dataspreadsheets]: (Performance) When we have 1 million rows, env crashes #5502

Closed AustinGitHub closed 2 months ago

AustinGitHub commented 3 months ago

Package

Carbon for IBM Products

Description

Screenshot 2024-06-13 at 12 57 38 PM

The render isn't so much the issue I am seeing, but it looks like the calculations are not able to do numbers these high. Because it does a scroll loading on UI I noticed, but some loops I think might need to be adjusted. There should be way to fix this.

Component(s) impacted

Data spreadsheets

Browser

No response

@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version

2.42

Severity

Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.

Product/offering

IBM

CodeSandbox or Stackblitz example

N/A

Steps to reproduce the issue (if applicable)

Pull the code and change the generate Data rows to 1 million

Release date (if applicable)

No response

Code of Conduct

AustinGitHub commented 3 months ago

Making note, users for the product we are working on may have 1 million rows of data for whatever reason. I asked our UX team on how we should handle this in meantime.

kennylam commented 3 months ago

Hi @AustinGitHub! Yes 1 million rows is an incredible amount of data. Even Excel caps out at that amount of rows. Perhaps breaking up the data into more manageable chunks would be a better solution?

AustinGitHub commented 3 months ago

Not sure yet, I haven't had time to take further look. Will try next week

elycheea commented 2 months ago

@AustinGitHub haven’t heard back to hopefully means you were able to resolve this on your end.

AustinGitHub commented 2 months ago

Sorry I was on vacation, for now this is fine to close. Haven't been able to look into it. I am thinking if we can't resolve it on our end there might be a way to resolve it on carbon products end but due to some time constraints not sure if I will be able to get to it soon. I have this noted though on my side as something we need to look into for our project. Thanks!