狠狠撸

狠狠撸Share a Scribd company logo
心理学から考えるWebパフォーマンス
Long LifeWeb Performance Optimization
Koji Ishimoto
Web Designer
September 25, 2010
dotcoder session 4
October 16, 2010
WCAF Vol.4
Machine機械は変わる
Human人間は変わらない
News最近のパフォーマンス事情
Practiceプラクティス
Conclusionまとめ
Web Performance is Dead?
Web Performance News
W3C Web Performance WG
API for Measuring Performance
Boomerang.js
Beyond Design
Web Performance News
W3C Web Performance WG
API for Measuring Performance
Boomerang.js
Beyond Design
Navigation Timing
Resource Timing
User Timing
Web Performance News
W3C Web Performance WG
API for Measuring Performance
Boomerang.js
Beyond Design
PhilipTellis at Yahoo!
Web Performance News
W3C Web Performance WG
API for Measuring Performance
Boomerang.js
Beyond Design
PhilipTellis at Yahoo!
<head>
<script type=”text/javascript”>
var start = (new Date).getTime();
</script>
</head>
<body>
<script type=”text/javascript”>
var pageLoad = (new Date).getTime() - start;
</script>
</body>
Web Performance News
W3C Web Performance WG
API for Measuring Performance
Boomerang.js
Beyond Design
PhilipTellis at Yahoo!
<script src=/slideshow/long-life-web-performance-optimization/5860661/"boomerang.js"></script>
<script type="text/javascript">
BOOMR.init({
user_ip: "<user's ip address>",
beacon_url: "/path/to/beacon.php"
});
</script>
Web Performance News
W3C Web Performance WG
API for Measuring Performance
Boomerang.js
Beyond Design
Web Performance News
W3C Web Performance WG
API for Measuring Performance
Boomerang.js
Beyond Design
“ Speed is the most important feature.
If your application is slow, people won’t
use it. I see this more with mainstream
users than I do with power users. ”
Fred Wilson (Union SquareVentures)
奥笔翱常に最重要课题である
The Machine Improve
Moore’s Law
イメージマップ
CSSスプライト
インライン画像
スクリプトおよびスタイルシートの結合
HTTPリクエストを減らす
Reducing HTTP Requests
CSS 3
Application Cache
Resource Package
SPDY
iPhone4をCSS3で描いてみた! - Re:Dzine
IE8 Safari
Web Metrics: Number of Resources
by Google
other
4.21
Styleshhets
3.22
Scripts
7.09
Images
29.39
Reducing HTTP Requests
CSS 3
Application Cache
Resource Package
SPDY
<!DOCTYPE HTML>
<html manifest="cache.manifest">
cache.manifest
-----------------------------------
CACHE MANIFEST
help.html
style/default.css
images/logo.png
-----------------------------------
Reducing HTTP Requests
CSS 3
Application Cache
Resource Package
SPDY
Reducing HTTP Requests
CSS 3
Application Cache
Resource Package
SPDY
<link rel="resource-package"
type="application/zip"
href="site-resources.zip" />
manifest.txt
-----------------------------------
javascript/jquery.js
styles/reset.css
styles/main.css
images/save.png
images/info.png
-----------------------------------
Reducing HTTP Requests
CSS 3
Application Cache
Resource Package
SPDY
SPDY:
An experimental protocol
for a faster web
Reducing HTTP Requests
CSS 3
Application Cache
Resource Package
SPDY
SPDY:
An experimental protocol
for a faster web
多重化ストリーム
リクエストの優先付け
HTTPヘッダー圧縮
Reducing HTTP Requests
CSS 3
Application Cache
Resource Package
SPDY
( ?ω?`)...常に走り続けなければならない
The Human Doesn’t Change
Long Life Web Performance Optimization
>>>
笔别谤肠别辫迟颈辞苍认知?知覚?感受?体感
チェッカーシャドウ错视
チェッカーシャドウ错视
#6B6B6B
エビングハウス错视
エビングハウス错视
20 year old are in reality
3:03
60 year old are in reality
3:40
Perceived 3 minutes
Why time ?ies in old age - New Scientist
年齢
地理的条件
文化?気候
体温
Time Perception
About.com, rated slowest by our users,
was actually the fastest site (average: 8 seconds).
Amazon.com, rated as one of the fastest sites by users,
was really the slowest (average: 36 seconds).
The Truth About Download Time
厂辫别别诲スピードは重要じゃない!?
1934年?フィウメで生まれる
1956年?アメリカ合衆国に渡る
1970年?シカゴ大学心理学科教授
1999年?シカゴ大学を定年退職
クレアモント大学院大学教授に就任
Mihaly Csikszentmihalyi
flow
1つの活動に深く没入しているので
他の何ものも問題とならなくなる状態
注意が自由に個人の目標達成のために
投射されている状態
What is “FLOW”?
明確な目的
専念と集中
活動と意識の融合
時間感覚のゆがみ
直接的で即座な反応
能力の水準と難易度とのバランス
自分で制御している感覚
活動に本質的な価値がある
Components of Flow
明確な目的
専念と集中
活動と意識の融合
時間感覚のゆがみ
直接的で即座な反応
能力の水準と難易度とのバランス
自分で制御している感覚
活動に本質的な価値がある
Components of Flow
( ?ω?`)...人間は曖昧である
Practice
Long Life Web Performance Optimization
Interface
DesigningWebInterfaces
直接的で即座な反応
自分で制御している感覚
贵别别诲产补肠办フィードバック
Feedback Pattern
Live Preview
Progressive Rendering
Progress Indication
TWITTER
PASSWORD
CONFIGURATION
Feedback Pattern
Live Preview
Progressive Rendering
Progress Indication
Visual Header - Fast to compute
Results - Slower to compute
Visual Header - Fast to compute
Results - Slower to compute
Time to Click ~9% faster
Query refinement +2.2%
Clicks overall! +0.7%
Pagination! +2.3%
Satisfaction! +0.7%
Feedback Pattern
Live Preview
Progressive Rendering
Progress Indication
Clear navigation
Match challenge to skills
Simplicity
Importance
Design for fun and utility
Avoid cutting-edge technology
Minimize animation
FlowinWebDesign
Conclusion
叠谤辞飞蝉别谤ブラウザは进化し続けている
笔蝉测肠丑辞濒辞驳测知覚や认知についても考える
Long Life Web Performance Optimization
Thank you!
http://t32k.com/mol
http://twitter.com/t32k
http://standards.mitsue.co.jp/archives/001473.html
http://yahoo.github.com/boomerang/doc/
http://www.google.com/intl/ja/events/io/2010/sessions/beyond-design-user-experience.html
http://ja.wikipedia.org/wiki/ムーアの法則
http://code.google.com/intl/ja/speed/articles/web-metrics.html
http://hacks.mozilla.org/2009/11/a-proposal-resource-packages-to-improve-performance/
http://www.chromium.org/spdy
http://ja.wikipedia.org/wiki/チェッカーシャドウ错视
http://ja.wikipedia.org/wiki/エビングハウス错视
http://www.newscientist.com/article/mg15220571.700-why-time-?ies-in-old-age.html
http://www.uie.com/articles/download_time/
http://ja.wikipedia.org/wiki/フロー
http://radar.oreilly.com/2009/06/bing-and-google-agree-slow-pag.html
URLs
http://www.?ickr.com/photos/uxud/3838080583/
http://www.?ickr.com/photos/kretyen/2526860812/
http://en.wikipedia.org/wiki/File:PPTMooresLawai.jpg
http://www.?ickr.com/photos/titlap/3787618739/
http://www.?ickr.com/photos/thepaperboy/4436923663/
http://www.?ickr.com/photos/shiyazuni/3406692752/
http://www.?ickr.com/photos/helleum/4350240392/
http://www.?ickr.com/photos/mariachily/3382807043/
http://www.klett-cotta.de/uploads/tx_autoren/Csik_schreibtisch.jpg
http://www.?ickr.com/photos/?cken/2181846165/
http://www.?ickr.com/photos/nikio/3899114449/
http://www.?ickr.com/photos/the_tahoe_guy/4183278431/
http://www.?ickr.com/photos/uxud/4235288699/
http://www.?ickr.com/photos/prettypetal/4306983458/
Credits

More Related Content

Long Life Web Performance Optimization