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

Speed up derived applications like Panel by speeding up Path Parameter #889

Open
MarcSkovMadsen opened this issue Nov 12, 2023 · 0 comments · May be fixed by #890
Open

Speed up derived applications like Panel by speeding up Path Parameter #889

MarcSkovMadsen opened this issue Nov 12, 2023 · 0 comments · May be fixed by #890
Labels
type-feature Feature request

Comments

@MarcSkovMadsen
Copy link
Collaborator

MarcSkovMadsen commented Nov 12, 2023

Panel=main, param=2.0.1, python=3.10,os=linux

In holoviz/panel#5852 I'm reporting that for a simple app Panel is spending 2.75% of its load time resolving file paths.

Upon investigation I can see its because the paths to css files etc is hold by a Path parameter. And that implementation resolves a string path to a pathlib Path every time its asked for its value.

image

Please add some kind of caching to only resolve once

@MarcSkovMadsen MarcSkovMadsen added type-feature Feature request TRIAGE User-submitted issue that hasn't been triaged yet. labels Nov 12, 2023
@MarcSkovMadsen MarcSkovMadsen linked a pull request Nov 12, 2023 that will close this issue
@philippjfr philippjfr removed the TRIAGE User-submitted issue that hasn't been triaged yet. label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants