# 为最优化的启动 KPI 创建build

要实现设备的最佳启动时间，请使用 `PERFORMANCE_BUILD` 变量。当 `PERFORMANCE_BUILD` 变量设置为 **1** 时，它修改 `KERNEL_CMDLINE_EXTRA` 以从命令行中删除 **console** 选项。当 `DEBUG_BUILD` 设置为 **0** 时，`PERFORMANCE_BUILD` 变量生效。

要了解该 `PERFORMANCE_BUILD` 变量如何影响启动时间，请参阅下表：

|  | PERFORMANCE\_BUILD=“0” | PERFORMANCE\_BUILD=“1” |
| --- | --- | --- |
| `DEBUG_BUILD=0` | UART上的控制台已启用 | <ul class="simple"><br><li><p>UART上的控制台已禁用</p></li><br><li><p>最佳启动时间</p></li><br></ul> |
| `DEBUG_BUILD=1` | UART上的控制台已启用 | <ul class="simple"><br><li><p>当 <code class="docutils literal notranslate"><span class="pre">DEBUG_BUILD</span></code> 设置为 <code class="docutils literal notranslate"><span class="pre">&quot;1&quot;</span></code> 时，<code class="docutils literal notranslate"><span class="pre">PERFORMANCE_BUILD=&quot;1&quot;</span></code>。</p></li><br></ul> |

Last Published: Jul 24, 2025

[Previous Topic
将第三方层添加到工作区](https://docs.qualcomm.com/bundle/publicresource/80-70020-27SC/topics/adding_third_party_layers_to_workspace.md) [Next Topic
调试](https://docs.qualcomm.com/bundle/publicresource/80-70020-27SC/topics/debug.md)