[Slow performance] - two seconds for each call
还没有人认领这个 Issue。
评估
调研方向
首先复现单个产品和 100 个产品的 wcapi 调用所报告的两秒耗时,然后检查 wrapper 的连接设置和请求路径。完成的标准是确定连接建立是否导致固定延迟,并记录或测试能够减少每次调用延迟的更改。
由索引模型根据 Issue 内容生成。
描述
Hi,
In my tests, each wcapi call takes about 2 seconds, regardless of the content of the call.
If I do a get of a single product or a get of 100 products, it always takes about 2 seconds.
Two seconds for an operation on 100 products can be an acceptable time, however it is far too long for an operation on only one product.
The fact that the long execution time does not depend on the type of call, makes me rule out a problem on my server, and makes me think that most of the time is used to "establish the connection" and not to "execute the query".
Can i do something to speed up the process?
Thanks
- 主要语言
- Python
- 星标
- 216
- 派生
- 108
- 平均合并
- 6 小时 34 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
woocommerce/wc-api-python 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
woocommerce/wc-api-python#108 ·
-
难度 4/5 3-5 天 新手友好度 32/100
woocommerce/wc-api-python#106 ·
-
难度 4/5 3-5 天 新手友好度 25/100
woocommerce/wc-api-python#105 ·
-
难度 5/5 一周以上 新手友好度 15/100
woocommerce/wc-api-python#104 ·
-
Json Formatting 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
woocommerce/wc-api-python#103 ·
查看 woocommerce/wc-api-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 74/100