Skip to content
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

perf(dashboards): improve API performance for dashboards #9704

Merged
merged 1 commit into from
May 5, 2020

Conversation

dpgaspar
Copy link
Member

@dpgaspar dpgaspar commented Apr 30, 2020

CATEGORY

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

Uses new FAB 2.3.4 that improves performance on table joins. Again like stated on #9619, when using properties has virtual columns, we should to make sure that the method references columns already referenced on list_columns or SQLAlchemy will issue a new query

Note: We should merge #9703 first

Before:
[stats_logger] (timing) DashboardRestApi.get_list.time 110ms - 150ms

After:
[stats_logger] (timing) DashboardRestApi.get_list.time 15ms - 30ms

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

REVIEWERS

@willbarrett @nytai

@dpgaspar dpgaspar merged commit d373cc8 into apache:master May 5, 2020
@dpgaspar dpgaspar deleted the perf/api-dashboards branch May 5, 2020 13:30
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.37.0 labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 0.37.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants