From c163144d2ec7dc9135ffeedb86babca245d0f439 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Thu, 21 May 2020 10:59:00 +0800 Subject: [PATCH] move utils.log_to_trace to trace --- python/paddle_serving_app/README.md | 4 ++-- python/paddle_serving_app/README_CN.md | 4 ++-- python/paddle_serving_app/{utils/log_to_trace.py => trace.py} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename python/paddle_serving_app/{utils/log_to_trace.py => trace.py} (100%) diff --git a/python/paddle_serving_app/README.md b/python/paddle_serving_app/README.md index 65495f4b..4cc9b468 100644 --- a/python/paddle_serving_app/README.md +++ b/python/paddle_serving_app/README.md @@ -1,6 +1,6 @@ ([简体中文](./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. ## Install @@ -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. ```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. diff --git a/python/paddle_serving_app/README_CN.md b/python/paddle_serving_app/README_CN.md index 3132d66d..05854556 100644 --- a/python/paddle_serving_app/README_CN.md +++ b/python/paddle_serving_app/README_CN.md @@ -1,6 +1,6 @@ (简体中文|[English](./README_CN.md)) -paddle_serivng_app是Paddle Serving框架的工具组件,包含了预训练模型下载、数据预处理方法等功能。方便用户快速体验和部署模型示例、分析预测服务性能、调试模型预测服务等。 +paddle_serving_app是Paddle Serving框架的工具组件,包含了预训练模型下载、数据预处理方法等功能。方便用户快速体验和部署模型示例、分析预测服务性能、调试模型预测服务等。 ## 安装 @@ -130,7 +130,7 @@ paddle_serving_app针对CV和NLP领域的模型任务,提供了多种常见的 3. 将日志文件中的信息导出成为trace文件 ```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文件,即可将预测服务的各阶段时间信息可视化。 diff --git a/python/paddle_serving_app/utils/log_to_trace.py b/python/paddle_serving_app/trace.py similarity index 100% rename from python/paddle_serving_app/utils/log_to_trace.py rename to python/paddle_serving_app/trace.py -- GitLab