UBC-MDS / DSCI-532_2024_21_Job-Postings

A Dashboard for LinkedIn Job Postings in the US.
https://dsci-532-2024-21-job-postings.onrender.com/
Other
0 stars 1 forks source link

Performance improvements #97

Closed Prabh95 closed 6 months ago

Prabh95 commented 6 months ago

These are the src files from my Dash python visualization project. Are there any excessively slow computations here that could be easily sped up, e.g. no row-wise use of apply unless well justified and optimized.

Updates:

1) Changed file format from csv to binary for faster loading. Updated data.py accordingly.

2) Updated notebook which had apply condition to use map.

3) Validated project to find any code which had excessively slow computation time.

4) Caching: Added caching for functions in callbacks.py using flask_caching.

5) Updated .yaml and requirements.txt with Flask-Caching.

render[bot] commented 6 months ago

Your Render PR Server URL is https://dsci-532-2024-21-job-postings-pr-97.onrender.com.

Follow its progress at https://dashboard.render.com/web/srv-cohd0p6g1b2c73bse1u0.