Skip to content

Commit f38e600

Browse files
committed
fix: build profiles disclaimer
1 parent 4e5f1f7 commit f38e600

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

llms.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26794,7 +26794,9 @@ The [Polkadot SDK Parachain Template](https://github.com/paritytech/polkadot-sdk
2679426794
```
2679526795

2679626796
!!!tip
26797-
Initial compilation may take several minutes, depending on your machine specifications. Always use the `--release` flag to build optimized, production-ready artifacts.
26797+
Initial compilation may take several minutes, depending on your machine specifications. Use the `--release` flag for improved runtime performance compared to the default `--debug` build. If you need to troubleshoot issues, the `--debug` build provides better diagnostics.
26798+
26799+
For production deployments, consider using a dedicated `--production` profile (which can be copied from the [Polkadot SDK](https://github.com/paritytech/polkadot-sdk/blob/5d47972fad149da688f096d25ba643bd783f3604/Cargo.toml#L1436-L1439){target=\_blank}) - this can provide an additional 15-30% performance improvement over the standard `--release` profile.
2679826800

2679926801
4. Upon successful compilation, you should see output similar to:
2680026802
<div id="termynal" data-termynal>

tutorials/polkadot-sdk/parachains/zero-to-hero/set-up-a-template.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ The [Polkadot SDK Parachain Template](https://github.com/paritytech/polkadot-sdk
7575
```
7676

7777
!!!tip
78-
Initial compilation may take several minutes, depending on your machine specifications. Use the `--release` flag to build binaries with improved runtime performance compared to a ``--debug`` build.
78+
Initial compilation may take several minutes, depending on your machine specifications. Use the `--release` flag for improved runtime performance compared to the default `--debug` build. If you need to troubleshoot issues, the `--debug` build provides better diagnostics.
79+
80+
For production deployments, consider using a dedicated `--production` profile (which can be copied from the [Polkadot SDK](https://github.com/paritytech/polkadot-sdk/blob/5d47972fad149da688f096d25ba643bd783f3604/Cargo.toml#L1436-L1439){target=\_blank}) - this can provide an additional 15-30% performance improvement over the standard `--release` profile.
7981

8082
4. Upon successful compilation, you should see output similar to:
8183
--8<-- 'code/tutorials/polkadot-sdk/parachains/zero-to-hero/set-up-a-template/compilation-output.html'

0 commit comments

Comments
 (0)