Skip to content

v0.1.13

Choose a tag to compare

@github-actions github-actions released this 05 Oct 08:27
· 32 commits to main since this release

Added

  • Server-Timing on every response, as on a Shopify storefront: processing for the whole, then render, template, layout, compress and throttle. lsf serve --timings also names every section and every theme block.
  • lsf profile <path> renders one page and prints what rendered what: the template, the layout, each section, its blocks and their snippets, with the time of each. --lines goes down to the tag.
  • lsf profile --points counts what the page asks of a store instead of the time it takes here: a product, a metafield, a search. A local server reads a metafield as fast as a title, Shopify does not. --cost changes what each kind of thing costs.
  • Flame graphs. /__lsf/profile?path=<path>&html=1 opens the profile in speedscope, the viewer that shopify theme profile opens. It is embedded: nothing is fetched.
  • /__lsf/timings adds up the renders so far by template, section and block.

Full Changelog: v0.1.12...v0.1.13