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

investigate page load performance #4

Open
andreasgerstmayr opened this issue Sep 3, 2023 · 1 comment
Open

investigate page load performance #4

andreasgerstmayr opened this issue Sep 3, 2023 · 1 comment

Comments

@andreasgerstmayr
Copy link
Owner

There is sometimes a bit of a delay in loading the fava top level view on start-up. Is that possibly due to the compute_returns function taking a while to work through my ledger's history? There's nothing in the logs when this delay happens, but if I disable your plugin the top level page loads right away on start-up.

Originally posted by @michaelMinar in #2 (comment)

@andreasgerstmayr andreasgerstmayr changed the title investigate loading performance investigate page load performance Sep 3, 2023
@andreasgerstmayr
Copy link
Owner Author

@michaelMinar The Fava page at /beancount/income_statement/ is loaded slower than usual if this extension is enabled?

That's odd, afaics the code to scan the ledger and compute the returns should only be called if the extension page (/beancount/extension/FavaPortfolioReturns/) is opened 😕

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

No branches or pull requests

1 participant