@@ -403,9 +402,6 @@ After the function is enabled, the server will print the corresponding log infor
...
@@ -403,9 +402,6 @@ After the function is enabled, the server will print the corresponding log infor
The output of the server is first saved to a file. Taking `profile.txt` as an example, the script converts the time monitoring information in the log into JSON format and saves it to the `trace` file. The `trace` file can be visualized through the tracing function of Chrome browser.
The output of the server is first saved to a file. Taking `profile.txt` as an example, the script converts the time monitoring information in the log into JSON format and saves it to the `trace` file. The `trace` file can be visualized through the tracing function of Chrome browser.
```shell
```shell
import logging
logging.basicConfig(level=logging.INFO)
from paddle_serving_server.pipeline import Analyst
from paddle_serving_server.pipeline import Analyst