mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-16 02:29:05 +01:00
Docs: add CN translation for api-guides/perfomance/index.rst
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
Performance
|
||||
===========
|
||||
|
||||
:link_to_translation:`zh_CN:[中文]`
|
||||
|
||||
ESP-IDF ships with default settings that are designed for a trade-off between performance, resource usage, and available functionality.
|
||||
|
||||
These guides describe how to optimize a firmware application for a particular aspect of performance. Usually this involves some trade-off in terms of limiting available functions, or swapping one aspect of performance (such as execution speed) for another (such as RAM usage).
|
||||
@@ -8,7 +10,7 @@ These guides describe how to optimize a firmware application for a particular as
|
||||
How to Optimize Performance
|
||||
---------------------------
|
||||
|
||||
1. Decide what the performance-critical aspects of your application are (for example: a particular response time to a certain network operation, a particular startup time limit, particular peripheral data throughput, etc.).
|
||||
1. Decide the performance-critical aspects of your application, such as achieving a particular response time for a certain network operation, meeting a particular startup time limit, or maintaining a certain level of peripheral data throughput.
|
||||
2. Find a way to measure this performance (some methods are outlined in the guides below).
|
||||
3. Modify the code and project configuration and compare the new measurement to the old measurement.
|
||||
4. Repeat step 3 until the performance meets the requirements set out in step 1.
|
||||
|
||||
Reference in New Issue
Block a user