请问进度条会减慢应用程序? [英] Does progress bar slows down application?

查看:114
本文介绍了请问进度条会减慢应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我有一个进度条,它需要更长的时间我的应用程序相比,开始启动没有一个进度条。是否有可能或者它仅仅是一个视觉效果?

When I have a progress bar, it takes much longer for my application to start in comparison to starting up without a progress bar. Is it possible or maybe it is just a vision effect?

推荐答案

我想(和也注意到),一个进度条的创建和修改需要一些时间。时间开销不太重要的长期运行的操作,但它是在很短的操作(几秒钟)。

I suppose (and also noticed) that the creation and modification of a progress bar takes some time. The time overhead is less important on long running operations but it is noticeable on short operations (few seconds).

不过我preFER等着用5秒钟的进度条原为3秒无(没有任何反应或系统挂起,只是感觉)。

I however prefer waiting 5 seconds with progress bar instead of 3 seconds without (and just the feeling that nothing happens or system hangs).

这篇关于请问进度条会减慢应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆