Skip to content

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

@MarcSkovMadsen

Description

@MarcSkovMadsen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions