Hi everyone - My Dash app is too slow. It takes a few seconds to load and render the page (2 bars, 1 table).
Not doing anything fancy. Just reading a few CSVs using Panda (< 1000 records / 5-6 fields) to render the charts.
It is slow both on my Mac and GCP. Could anyone offer some tips on possible ways to improve the app? Thanks!
dash==2.4.1
dash-bootstrap-components==1.1.0
dash-core-components==2.0.0
dash-html-components==2.0.0
dash-table==5.0.0
Do you perhaps have a minimum example that we could look at? Hard to diagnose what the problem is with the description that you’ve given so far.
1 Like
In the Dash 2.0 Prerelease Candidate Available!, they mention that installing orjson
will help improve json serialization which may lead to better performance.
Simply run the following in your environment and Dash will automatically use it when available:
pip install orjson
1 Like
Thanks guys!
I found the following pages useful as well:
3 Likes
this is useful information