![zhangyi1357](/assets/img/avatar_default.png)
* feat: add python benchmark example and update dependencies Introduce an aimrt_py benchmark example for Python testing. Replace boost dependency with the standalone asio library to reduce overall dependencies and enhance configuration options for zenoh and mqtt. * feat: add RPC benchmark client and configuration Introduce a new benchmark client module and accompanying scripts to facilitate testing and performance measurement of RPC services. Include configuration for parallel execution and adjustable benchmarking parameters. * docs: add benchmark process for protobuf RPC Include detailed instructions for reproducing the crash issue and running benchmarks effectively to streamline troubleshooting and performance evaluation. * chore: include string header Add the string header to enable potential future string manipulations within the RPC handling code. This sets the stage for improved functionality and cleaner code integration down the line. * feat: enhance benchmark reporting and logging Improve performance benchmarking by logging detailed results, including latency metrics and error rates. Ensure more precise measurements by using microseconds for task duration and substituting print statements with structured logging. * chore: update benchmark configurations for clarity and accuracy Refine the benchmark plans to provide clearer settings. Adjust parameters for the fixed-frequency mode to ensure more relevant testing scenarios. * chore: add script and config files for HTTP server examples Include new symbolic links for server configuration and application scripts to streamline example setup and ensure consistency across projects. * docs: update README for better clarity on python RPC benchmark setup Enhance the README to provide a clearer guide on using the protobuf RPC benchmark example, including setup instructions, core files, and configuration details. This improves user experience and facilitates easier implementation for developers. * style: correct casing in module name Standardize the module name casing for improved consistency and readability in the RPC server application. * docs: add pb_rpc_bench example link Include the link to the pb_rpc_bench example for better accessibility and completeness in the tutorial. * style: clean up code formatting Remove unnecessary blank lines to improve readability in the benchmark RPC client module. * docs: modify aimrt_py rpc release note
16 lines
881 B
Markdown
16 lines
881 B
Markdown
# Python 接口使用示例
|
||
|
||
|
||
AimRT 提供了以下 Python 接口使用示例:
|
||
|
||
- {{ '[python examples]({}/src/examples/py)'.format(code_site_root_path_url) }}
|
||
- {{ '[helloworld]({}/src/examples/py/helloworld)'.format(code_site_root_path_url) }}
|
||
- {{ '[pb_chn]({}/src/examples/py/pb_chn)'.format(code_site_root_path_url) }}
|
||
- {{ '[pb_rpc]({}/src/examples/py/pb_rpc)'.format(code_site_root_path_url) }}
|
||
- {{ '[pb_chn_bench]({}/src/examples/py/pb_chn_bench)'.format(code_site_root_path_url) }}
|
||
- {{ '[pb_rpc_bench]({}/src/examples/py/pb_rpc_bench)'.format(code_site_root_path_url) }}
|
||
|
||
关于这些示例的说明:
|
||
- 每个示例都有自己独立的 readme 文档,详情请点击示例链接进入后查看;
|
||
- 运行示例前需要确保本地已经安装有 `aimrt_py` 包,安装方式请参考[引用与安装(Python)](../quick_start/installation_py.md);
|