PaddlePaddle / PaddlePaddle/FastDeploy
simple server服务耗时 与单独测试耗时为什么差别很大。
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 756
- Avg merge
- 19h 28m
- Merged PRs (30d)
- 4
Description
simple 服务耗时 与单独测试耗时为什么差别很大。
测试 ocr服务 。如果单独运行这个一张图片耗时差不多0.08s
https://github.com/PaddlePaddle/FastDeploy/blob/develop/examples/vision/ocr/PP-OCR/cpu-gpu/python/infer.py
这样打印的耗时。

simple server 服务的话 耗时是0.15s 了 为什么这么大的区别呢?
这里打印的耗时。

图片一样,机器一样。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with examples/vision/ocr/PP-OCR/cpu-gpu/python/infer.py and compare its timing boundaries with the simple server path referenced in the issue, using the same image and machine. Done means documenting the source of the approximately 0.08s versus 0.15s difference or identifying a reproducible server performance defect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100