qd-today / qd

QD [v20240210] —— HTTP请求定时任务自动执行框架 base on HAR Editor and Tornado Server
https://qd-today.github.io/qd/
MIT License
4.09k stars 539 forks source link

[Feature] 希望降低CPU占用率,docker版一直CPU占用1%~2% #525

Open liuweilhy opened 2 months ago

liuweilhy commented 2 months ago

Verify steps

Describe the Feature

a76yyyy/qiandao这个镜像,拉取并创建了仅几个任务,且都签到成功没有反复试错,但后台一个python脚本的CPU占用一直在1%~2%。本人其余的docker容器,除了qbittorrent,其余都是低强度工作,CPU占用率基本都远低于1%。网络吞吐和磁盘读写也一直有。

Describe the solution

希望后续版本关注下CPU占用率,按理说签到结束就不应该这么多事儿了。

Describe alternatives

No response

Additional context

No response

a76yyyy commented 2 months ago

现在任务调度的策略可以优化,后续会关注CPU性能占用情况

stevenshea commented 2 months ago

+1

zggnh12345 commented 2 months ago

大佬目前有优化计划吗?J4125一般docker基本0.03%,签到直接飙到0.3%,期待优化

zpccode commented 1 month ago

+1