-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'docs/add_index_CN_trans' into 'master'
Docs: add CN translation for api-guides/perfomance/index.rst Closes DOC-5207 See merge request espressif/esp-idf!23716
- Loading branch information
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
.. include:: ../../../en/api-guides/performance/index.rst | ||
性能 | ||
==== | ||
|
||
:link_to_translation:`en:[English]` | ||
|
||
ESP-IDF 预设了默认设置,旨在在性能、资源使用和可用功能之间进行权衡。 | ||
|
||
本指南详述了如何优化固件应用程序,以提高特定方面的性能。这一过程通常涉及到性能之间的权衡,例如限制部分可用功能,或者牺牲某性能以满足另一性能的要求,例如通过使用更多内存换取更快的运行速度。 | ||
|
||
如何优化性能 | ||
------------ | ||
|
||
1. 确定应用程序的关键性能要求,例如控制某个网络操作的响应时间、控制启动时间、或在某个外设中实现特定的数据吞吐量。 | ||
2. 确定衡量该性能的方法(下文指南中概述了一些方法)。 | ||
3. 修改代码和项目配置,比较新旧测量结果。 | ||
4. 重复第三步,直到性能达到第一步中设定的要求为止。 | ||
|
||
指南 | ||
---- | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
执行速度 <speed> | ||
二进制文件大小 <size> | ||
内存使用 <ram-usage> |