Repository navigation
v0.1.13
Added
Server-Timingon every response, as on a Shopify storefront:processingfor the whole, thenrender,template,layout,compressandthrottle.lsf serve --timingsalso 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.--linesgoes down to the tag.lsf profile --pointscounts 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.--costchanges what each kind of thing costs.- Flame graphs.
/__lsf/profile?path=<path>&html=1opens the profile in speedscope, the viewer thatshopify theme profileopens. It is embedded: nothing is fetched. /__lsf/timingsadds up the renders so far by template, section and block.
Full Changelog: v0.1.12...v0.1.13