Actual Performance, Perceived Performance
If you've used Windows Vista, you've probably noticed that Vista's file copy performance is noticeably worse than Windows XP. I know it's one of the first things I noticed. Here's the irony-- Vista's file copy is based on an improved algorithm and actually performs better in most cases than XP. So how come it seems so darn slow?
Let's start with Mark Russinovich's typically excellent and exhaustively in-depth analysis of Vista's file copy algorithm:
Perhaps the biggest drawback of the [new Vista file copy algorithm], and the one that has caused many Vista users to complain, is that for copies involving a large group of files between 256KB and tens of MB in size, the perceived performance of the copy can be significantly worse than on Windows XP. That's because the previous algorithm's use of cached file I/O lets Explorer finish writing destination files to memory and dismiss the copy dialog long before the Cache Manager's write-behind thread has actually committed the data to disk. With Vista's non-cached implementation, Explorer is forced to wait for each write operation to complete before issuing more, and ultimately for all copied data to be on disk before indicating a copy's completion. In Vista, Explorer also waits 12 seconds before making an estimate of the copy's duration and the estimation algorithm is sensitive to fluctuations in the copy speed, both of which exacerbate user frustration with slower copies.
As Mark wryly notes, file copying is not as easy as it might first appear. As with so many things in life, perception is reality: if users see file copying as slower, it is slower. Despite all the algorithmic improvements, in spite of the superior file copy benchmark results, Vista's file copy performance is worse than Windows XP.
I couldn't ask for a more perfect example of this dirty little human factors secret: perceived performance is more important than actual performance. Fancy copy algorithms won't necessarily help you build a fast progress bar. But understanding how your users' brains work definitely will, as illustrated in Rethinking the Progress Bar:
Humans do not perceive the passage of time in a linear way. This, coupled with the irregular behavior of progress bars, causes human perception of process duration to vary. An understanding of which behaviors perceptually shorten or lengthen process duration can be used to engineer a progress bar that appears faster, even though the actual duration remains unchanged. This paper describes an experiment that sought to identify patterns in user perception of progress bar behavior. The results are then analyzed to classify behaviors that perceptually speed up or slow down process execution.
The study (pdf) used eight progress behavior functions, then tracked users' reactions to each one.
Progress function graph
Although all the progress bars took exactly the same amount of time in the test, two characteristics made users think the process was faster, even if it wasn't:
1. progress bars that moved smoothly towards completion
2. progress bars that sped up towards the end
It seems obvious in retrospect why Vista's file copy design failed so miserably, and needed to be patched up with Service Pack 1. It's a textbook example of these principles at work:
1. Explorer waits 12 seconds before providing a copy duration estimate, which certainly provides no sense of smooth progress.
2. The copy dialog is not dismissed until the write-behind thread has committed the data to disk, which means the copy is slowest at the end.
The idea that performance is determined largely by the user's perception rather than actual wall-clock time can be liberating. Like a magician using skillful sleight of hand to perform magic tricks, you can seemingly alter reality. But it can also be frustrating. Even if you get the technical parts right, with hard benchmark data to back you up, subtle human perceptual factors can still negate your work, as those unfortunate Vista developers found out. What's a poor developer to do?
But are both of us missing the real point of owning and using a PC? Can any stopwatch-based measurement of isolated tasks as performed by individual hardware and software components really measure the worth of a technology investment? I don't think so.
This is not a new question for me. Back in the early 1990s, when I was editor of the late, lamented PC Computing, we differentiated our product reviews from those of sister public PC Magazine by focusing on usability. The highly regarded PC Magazine Labs was the quintessential "speeds and feeds" shop. We focused on usability, going to the extreme of spending a small fortune (I still remember the budget battles) building a state-of-the-art usability lab and hiring usability professionals to run it.
Don't make the same mistake the Vista development team did. Think more holistically than mere benchmarks alone. Consider the user's perception of the process, too. I recommend Tog's Maximizing Human Performance as a great starting point.
分享到:
相关推荐
I've read elsewhere that the actual performance counter names used as constructor parameters are localized, so this code will need to be changed appropriately and recompiled for non-English locales.
"Actual Search & Replace"是一款强大的文本搜索和替换工具,专为需要在大量文件中进行高效查找和替换操作的用户设计。这款软件可以帮助用户快速定位并修改特定文本内容,极大地提升了工作效率,尤其对于开发者、...
Actual Window Manager能够在一个包含你的任何窗口操作的特别的日志文件中保留记录,无论自动(如你窗口设置的配置那样),还是手动(用标题按钮,窗口菜单命令或热键),并自动定期发送此消息到Actual Tools这将帮助...
这不,一个名叫Actual Title Buttons的小工具就是专门用来对标题栏中的图标进行更改的,没想到吧。通过使用这一工具,你可以为普通窗口标题栏增加“最小化至系统托盘”和“总在最上面”两个特殊的按钮。
Actual Window Manager v6.2 注册机 Keygen
Actual Windows Guard可以帮助你把你指定的一个或者几个窗口设定为永远在窗口的最上面,这样你就可以摆脱那些讨厌的弹出式窗口的骚扰,并且可以记录保存窗口的大小和位置,是一个很实用的小工具。
Actual Installer是款支持多国语言的专业级软件安装打包工具,它的功能可与NSIS和innosetup等软件有一拼,但是目前应用还不广泛,Actual Installer有许多高级的功能,如多语言安装、修改注册表、检查其遵守程序要求...
Actual Window Manager 官方中文破解版可以管理Windows任何窗体的一切!它为你的Windows窗口做些改变,包括在原来的窗口标题列最大化和最小化按键旁加入多个实用的按钮,可让任何想要的窗口保持在桌面最上方, 或是...
《字符串批量查找替换技术详解——以Actual Search & Replace为例》 在信息技术领域,字符串操作是一项基础且重要的工作,尤其在编程、数据处理和文本分析中更是不可或缺。其中,字符串的批量查找与替换功能更是...
【标题】"去水印Test4actual 70-642 v6.20.rar"揭示了这是一份经过处理、去除水印的Test4actual考试题库,具体版本为v6.20,针对的是70-642考试。这个考试是微软认证中的一个重要部分。 【描述】"MCITP MCTS 认证...
软件介绍: Actual Window Manager是一款专业的窗口...安装说明:安装后不要立即运行Actual Window Manager,复制CK文件夹内的2个文件到C:\Program Files\Actual Window Manager目录下,覆盖原来的文件即可。
http://www.test4actual.cn , CISSP 资料下载!QQ:15092118
软件名称: Actual Search & Replace 版本:2.8.6 汉化作者:余飞雨 联系方式: dgyf44^gmail.com 写信时请替换 ^ 为 @ (由于垃圾邮件太多,写信请以余飞雨开头) 原版下载:不需要 运行环境:Windows 95, 98, Me,...
《Actual Transparent Windows——让桌面美化更上一层楼》 在数字化的世界里,用户对桌面环境的个性化需求日益增长,而“Actual Transparent Windows”正是这样一款致力于提升桌面美学体验的软件。这款工具允许用户...
3. Actual Search & Replace 可以在找到文件中高亮显示包含搜索单词和短语的行。 4. 在文档中替换,插入和删除短语或行。 5. 批量操作允许你通过一键操作来执行大量的替换工作。 6. 开始搜索能撤消操作并且有备份...
Actual Window Manager可以替 Windows 窗口做些改变,包括在原来的窗口标题列最大化和最小化按键旁加入两个好用的按键,可让任何想要的窗口保持在桌面最上方,或是当窗口最小化时若工具列已经塞满了,就能最小化于...
《多显示器管理软件Actual Multiple Monitors 8.8.1深度解析》 在现代计算机使用环境中,多显示器配置已经成为提高工作效率的重要手段。然而,多显示器系统带来的不仅仅是屏幕面积的增加,更需要有效的管理工具来...