How can I improve the subjective speed of my application?

前端 未结 8 2265
Happy的楠姐
Happy的楠姐 2021-01-31 17:42

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

8条回答
  •  野性不改
    2021-01-31 18:27

    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.

    Some of the things you could do in GUIs:

    • make sure your application remains responsive (resizing the forms remains possible, perhaps give a cancel button for the operation?) while background processing is occurring
    • be very consistent in showing status messages/hourglass cursors throughout the application
    • if you have something updating during an operation, make sure it updates often (like the almost ridiculous showing of filenames and registry keys during an install), or make sure there's an option to make it do this for users that like this behavior

提交回复
热议问题