如何提高我的申请的主观速度? [英] How can I improve the subjective speed of my application?

查看:93
本文介绍了如何提高我的申请的主观速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我的同事注意到,在进度指示器上添加小数点后,会给人一种印象,即该程序运行的速度比没有该程序的运行速度快. (即代替1,2,3 ...显示1,1,2,1.4,1.6,...),我检查了一下,即使我知道它是假的,我也感到同样的印象.

Today my co-worker noticed that when adding a decimal place to a progress indicator leads to the impression that the program is running faster than without. (i.e. instead of 1,2,3... it shows 1, 1.2, 1.4, 1.6, ...) I checked it and I was surprised that I got the same impression even though I knew it was faked.

这让我感到奇怪:还有什么其他东西可以给人以快速应用程序的印象?

当然,最好的方法实际上是使应用程序更快,但是从算法的角度来看,通常您无能为力.另外,我认为减轻用户的沮丧感是一件好事,即使这或多或少是一种心理技巧.

Of course the best way is to actually make the application faster, but from an algorithmic point of view often there's not much you can do. Additionally I think making a user less frustrated is a good thing, even though it is more or less a psychologic trick.

推荐答案

此效果可能非常显着:进行大量工作以使用户获得正确且经常更新的进度状态当然会减慢实际运行时间的应用程序(屏幕更新,进度显示所需的计算等),同时仍然给用户以更少的时间.

This effect can be very dramatic: doing relatively large amounts of work to give users a correct and often updating status of progress can of course slow down the actual running time of the application (screen updates, progress display needed calculations, etc) while still giving the user the feeling it takes less time.

您可以在GUI中执行的一些操作:

Some of the things you could do in GUIs:

  • 在后台处理发生时,确保您的应用程序保持响应(调整表格的大小是否可能,或者为操作提供取消按钮?)
  • 在整个应用程序中始终显示状态消息/沙漏光标
  • 如果在操作过程中有更新,请确保它经常更新(例如在安装过程中显示文件名和注册表项几乎是荒谬的),或确保有 查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆