Open samoilovd opened 1 year ago
Network activity metrics. Cache disabled, empty cache and hard page reload.
Plugin enabled:
Plugin disabled:
Yes, I can also confirm that performance significantly drops with this plugin enabled. This really needs to be improved, as it's not usable currently. Btw, I'm using version "@storybook/html": "^6.5.16"
The plugin significantly affects page loading performance on large component compositions (2000-3000+ lines of HTML), especially in Storybook 7.0 and 7.1 with on-demand stories loading enabled.
The difference is 2-3s to load page and PNG graphics VS almost instant loading (200-300ms) with disabled plugin.
Would be nice to have an option to load, prettify and transform HTML content only when the plugin's tab is active.
Here is result of 2 pages loading times with plugin enabled (Storybook 7.1):
Same pages with disabled plugin:
Using Google Web Vitals for measurements.