-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow performance with plotly chart builder #1743
Comments
Hello all, |
The same issue.
|
I'm sorry that you're seeing such poor performance! In general Plotly Express is much, much faster than this, for example the test suite, which generates hundreds of plots with varying amounts of data, runs in around 30 seconds on my 5-year-old laptop. @ievgennaida if you can provide a fully-runnable example with data that shows this 18-second performance I'd be happy to take a look. |
@nicolaskruchten I cannot share the data but will try to prepare the script as the topic starter did with some fake data. |
I have generated fake data, depends on the PC in our team it's taking 4-8 seconds. Basically, I have noticed that using the number group instead of the string is dropping time to 1 second!
We will also try to use GO scatter with the multithreading to see whether it will help.
|
Hey @ievgennaida, I ran your code snippet on my PC, and it finished in 2.866 seconds. The largest chunk (> 90%) of that time is bcs of the I also tried When further line-profiling If you would wonder why I am interested in this; for plotly-resampler I am looking to create a registration method that adds scalability (under the hood) to the Profiling of
|
this think is horrendously slow w/ financial data of more than few years |
Hello all,
I need to use
plotly
as the backend of a microservice who generates charts dynamically.Unfortunately, after a little benchmarking, I found that the
plotly.express
framework is very slow (around 5 secs to generate a chart from 500 lines dataset).Here is the script I use to generate a scatter matrix:
from the dataset:
https://www.dropbox.com/s/cm9i3pfv10exbba/data.tsv?dl=1
and this is the report with timing:
https://www.dropbox.com/s/l2x3jqzea4i4xqw/report.txt?dl=1
Now:
The text was updated successfully, but these errors were encountered: