theme profile
Profile the Shopify Liquid on a given page.
This command will open a web page with the Speedscope profiler detailing the time spent executing Liquid on the given page.
Anchor to flagsFlags
The following flags are available for the theme profile command:
- Anchor to --no-color--no-color--no-color''''env: SHOPIFY_FLAG_NO_COLORenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --password <value>--password <value>--password <value>stringstringenv: SHOPIFY_CLI_THEME_TOKENenv: SHOPIFY_CLI_THEME_TOKEN
Password generated from the Theme Access app or an Admin API token.
- Anchor to --path <value>--path <value>--path <value>stringstringenv: SHOPIFY_FLAG_PATHenv: SHOPIFY_FLAG_PATH
The path where you want to run the command. Defaults to the current working directory.
- Anchor to --store-password <value>--store-password <value>--store-password <value>stringstringenv: SHOPIFY_FLAG_STORE_PASSWORDenv: SHOPIFY_FLAG_STORE_PASSWORD
The password for storefronts with password protection.
- Anchor to --url <value>--url <value>--url <value>stringstringenv: SHOPIFY_FLAG_URLenv: SHOPIFY_FLAG_URL
The url to be used as context
- Anchor to --verbose--verbose--verbose''''env: SHOPIFY_FLAG_VERBOSEenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output.
- Anchor to -e, --environment <value>-e, --environment <value>-e, --environment <value>stringstringenv: SHOPIFY_FLAG_ENVIRONMENTenv: SHOPIFY_FLAG_ENVIRONMENT
The environment to apply to the current command.
- Anchor to -j, --json-j, --json-j, --json''''env: SHOPIFY_FLAG_JSONenv: SHOPIFY_FLAG_JSON
Output the result as JSON. Automatically disables color output.
- Anchor to -s, --store <value>-s, --store <value>-s, --store <value>stringstringenv: SHOPIFY_FLAG_STOREenv: SHOPIFY_FLAG_STORE
Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
- Anchor to -t, --theme <value>-t, --theme <value>-t, --theme <value>stringstringenv: SHOPIFY_FLAG_THEME_IDenv: SHOPIFY_FLAG_THEME_ID
Theme ID or name of the remote theme.