提交 c163144d 编写于 作者: M MRXLT

move utils.log_to_trace to trace

上级 55fc1bda
([简体中文](./README.md)|English) ([简体中文](./README.md)|English)
paddle_serivng_app is a tool component of the Paddle Serving framework, and includes functions such as pre-training model download and data pre-processing methods. paddle_serving_app is a tool component of the Paddle Serving framework, and includes functions such as pre-training model download and data pre-processing methods.
It is convenient for users to quickly test and deploy model examples, analyze the performance of prediction services, and debug model prediction services. It is convenient for users to quickly test and deploy model examples, analyze the performance of prediction services, and debug model prediction services.
## Install ## Install
...@@ -135,7 +135,7 @@ This tool is convenient to analyze the proportion of time occupancy in the predi ...@@ -135,7 +135,7 @@ This tool is convenient to analyze the proportion of time occupancy in the predi
3. Export the information in the log file into a trace file. 3. Export the information in the log file into a trace file.
```shell ```shell
python -m paddle_serving_app.utils.log_to_trace --profile_file profile --trace_file trace python -m paddle_serving_app.trace --profile_file profile --trace_file trace
``` ```
4. Open the `chrome: // tracing /` URL using Chrome browser. 4. Open the `chrome: // tracing /` URL using Chrome browser.
......
(简体中文|[English](./README_CN.md)) (简体中文|[English](./README_CN.md))
paddle_serivng_app是Paddle Serving框架的工具组件,包含了预训练模型下载、数据预处理方法等功能。方便用户快速体验和部署模型示例、分析预测服务性能、调试模型预测服务等。 paddle_serving_app是Paddle Serving框架的工具组件,包含了预训练模型下载、数据预处理方法等功能。方便用户快速体验和部署模型示例、分析预测服务性能、调试模型预测服务等。
## 安装 ## 安装
...@@ -130,7 +130,7 @@ paddle_serving_app针对CV和NLP领域的模型任务,提供了多种常见的 ...@@ -130,7 +130,7 @@ paddle_serving_app针对CV和NLP领域的模型任务,提供了多种常见的
3. 将日志文件中的信息导出成为trace文件 3. 将日志文件中的信息导出成为trace文件
```shell ```shell
python -m paddle_serving_app.utils.log_to_trace --profile_file profile --trace_file trace python -m paddle_serving_app.trace --profile_file profile --trace_file trace
``` ```
4. 使用chrome浏览器,打开`chrome://tracing/`网址,通过load按钮加载上一步产生的trace文件,即可将预测服务的各阶段时间信息可视化。 4. 使用chrome浏览器,打开`chrome://tracing/`网址,通过load按钮加载上一步产生的trace文件,即可将预测服务的各阶段时间信息可视化。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册