Giter Site home page Giter Site logo

Comments (7)

meowtec avatar meowtec commented on August 16, 2024

进度条是指全局的进度条(处理完成的数量 / 总数)还是针对每个任务的进度条?如果是全局的进度条,可以考虑加一下,不过交互得改。如果是针对每个任务的进度条,目前的技术方案加不了,因为底层是调用的可执行文件,它们没有提供进度接口。

from imagine.

meowtec avatar meowtec commented on August 16, 2024

跑满 CPU 这个问题,是因为现在是单队列执行的,所以核心任务只使用了一个核。
这个倒是比较好改。

from imagine.

oldmenplus avatar oldmenplus commented on August 16, 2024

进度条是指全局的进度条(处理完成的数量 / 总数)还是针对每个任务的进度条?如果是全局的进度条,可以考虑加一下,不过交互得改。如果是针对每个任务的进度条,目前的技术方案加不了,因为底层是调用的可执行文件,它们没有提供进度接口。

(´・Д・)」 当然是全局进度,要是要处理的文件多过六个就可能看不到进度了,要拖一下滚动条,而文件一多滚动条也有点卡顿

from imagine.

oldmenplus avatar oldmenplus commented on August 16, 2024

[CPU],],]
• |

唔? ( '-' )ノ)`-' )

from imagine.

oldmenplus avatar oldmenplus commented on August 16, 2024

跑满 CPU 这个问题,是因为现在是单队列执行的,所以核心任务只使用了一个核。
这个倒是比较好改。

蔡B的AMD (´・Д・)」

from imagine.

meowtec avatar meowtec commented on August 16, 2024

进度条是指全局的进度条(处理完成的数量 / 总数)还是针对每个任务的进度条?如果是全局的进度条,可以考虑加一下,不过交互得改。如果是针对每个任务的进度条,目前的技术方案加不了,因为底层是调用的可执行文件,它们没有提供进度接口。

(´・Д・)」 当然是全局进度,要是要处理的文件多过六个就可能看不到进度了,要拖一下滚动条,而文件一多滚动条也有点卡顿

嗯,这是一个可以优化的点。
我当初开发这个的时候主要是从自己的需求出发,我没考虑过有人会一次处理那么多图片。。

from imagine.

meowtec avatar meowtec commented on August 16, 2024

已经不再卡顿,而且并行处理,速度提高了几倍。
进度条还没加,打算在后面版本加上。

from imagine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.