--- title: theme profile description: |- 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. api_name: shopify-cli source_url: html: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-profile' md: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-profile.md' --- # theme profilecommand 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. ## Flags The following flags are available for the `theme profile` command: * \--no-color env: SHOPIFY\_FLAG\_NO\_COLOR Disable color output. * \--password \ string env: SHOPIFY\_CLI\_THEME\_TOKEN Password generated from the Theme Access app. * \--path \ string env: SHOPIFY\_FLAG\_PATH The path where you want to run the command. Defaults to the current working directory. * \--store-password \ string env: SHOPIFY\_FLAG\_STORE\_PASSWORD The password for storefronts with password protection. * \--url \ string env: SHOPIFY\_FLAG\_URL The url to be used as context * \--verbose env: SHOPIFY\_FLAG\_VERBOSE Increase the verbosity of the output. * -e, --environment \ string env: SHOPIFY\_FLAG\_ENVIRONMENT The environment to apply to the current command. * -j, --json env: SHOPIFY\_FLAG\_JSON Output the result as JSON. * -s, --store \ string env: SHOPIFY\_FLAG\_STORE Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, ). * -t, --theme \ string env: SHOPIFY\_FLAG\_THEME\_ID Theme ID or name of the remote theme. ### Examples * #### theme profile ##### theme profile ```bash shopify theme profile shopify theme profile --url /products/classic-leather-jacket ```