-
-
Notifications
You must be signed in to change notification settings - Fork 575
Closed
Labels
performancetype: enhancementMinor feature or improvement to an existing featureMinor feature or improvement to an existing feature
Milestone
Description
I'm on the main branch of Panel trying to find performance improvements.
I can see that its quite expensive (3% of app load time) to lookup the p attribute on the theme. It should not be like that. Its the same path we are loading again and again and again.
The problem is in Param where the raw_path is being resolved again and again.
Reproduce
import panel as pn
N=10
pn.Column(
*[pn.Row(
*[pn.pane.Markdown("Hello World") for i in range(N)]
) for i in range(N)]
).servable()Run
panel serve script.py --autoreload --index script --admin --profiler pyinstrumentOpen the app 5 times and inspect the pyinstrument report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
performancetype: enhancementMinor feature or improvement to an existing featureMinor feature or improvement to an existing feature


