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

Skip counting hidden tables #883

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Skip counting hidden tables #883

wants to merge 3 commits into from

Conversation

abdusco
Copy link
Contributor

@abdusco abdusco commented Jul 1, 2020

Potential fix for #859.

Disabling table counts for hidden tables speeds up database page quite a bit. In my setup it reduced load time by 2/3 (~300 -> ~90ms)

@abdusco
Copy link
Contributor Author

abdusco commented Jul 1, 2020

Turns out we should include hidden tables in the result dict, or we're breaking tests. I've committed a refactor 4f06e1b

@codecov
Copy link

codecov bot commented Jul 1, 2020

Codecov Report

Merging #883 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #883   +/-   ##
=======================================
  Coverage   83.42%   83.42%           
=======================================
  Files          27       27           
  Lines        3632     3632           
=======================================
  Hits         3030     3030           
  Misses        602      602           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 676bb64...251884f. Read the comment docs.

@abdusco
Copy link
Contributor Author

abdusco commented Jul 1, 2020

Well tests need to be updated.

I need to get tests working on Windows.

@simonw
Copy link
Owner

simonw commented Jul 2, 2020

This is a great idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants