long life web performance optimization

60
~ 心理学から考えるWebパフォーマンス ~ Long Life Web Performance Optimization Koji Ishimoto Web Designer September 25, 2010 dotcoder session 4 October 16, 2010 WCAF Vol.4

Upload: koji-ishimoto

Post on 27-Jan-2015

105 views

Category:

Design


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Long Life Web Performance Optimization

~ 心理学から考えるWebパフォーマンス ~Long Life Web Performance Optimization

Koji IshimotoWeb Designer

September 25, 2010dotcoder session 4

October 16, 2010WCAF Vol.4

Page 2: Long Life Web Performance Optimization

Machine機械は変わる

Human人間は変わらない

News最近のパフォーマンス事情

Practiceプラクティス

Conclusionまとめ

Page 3: Long Life Web Performance Optimization

Web Performance is Dead?

Page 4: Long Life Web Performance Optimization

Web Performance News

W3C Web Performance WG

API for Measuring Performance

Boomerang.js

Beyond Design

Page 5: Long Life Web Performance Optimization

Web Performance News

W3C Web Performance WG

API for Measuring Performance

Boomerang.js

Beyond Design

Page 6: Long Life Web Performance Optimization

Navigation Timing

Resource Timing

User Timing

Web Performance News

W3C Web Performance WG

API for Measuring Performance

Boomerang.js

Beyond Design

Page 7: Long Life Web Performance Optimization

Philip Tellis at Yahoo!

Web Performance News

W3C Web Performance WG

API for Measuring Performance

Boomerang.js

Beyond Design

Page 8: Long Life Web Performance Optimization

Philip Tellis 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

Page 9: Long Life Web Performance Optimization

Philip Tellis at Yahoo!

<script src="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

Page 10: Long Life Web Performance Optimization

Web Performance News

W3C Web Performance WG

API for Measuring Performance

Boomerang.js

Beyond Design

Page 11: Long Life Web Performance Optimization

“ 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 Square Ventures)

Page 12: Long Life Web Performance Optimization

WPO常に最重要課題である

Page 13: Long Life Web Performance Optimization

The Machine Improve

Page 14: Long Life Web Performance Optimization

Moore’s Law

Page 15: Long Life Web Performance Optimization

イメージマップ

CSSスプライト

インライン画像

スクリプトおよびスタイルシートの結合

HTTPリクエストを減らす

Page 16: Long Life Web Performance Optimization

Reducing HTTP Requests

CSS 3

Application Cache

Resource Package

SPDY

iPhone4をCSS3で描いてみた! - Re:Dzine

IE8 Safari

Page 17: Long Life Web Performance Optimization

Web Metrics: Number of Resourcesby Google

other4.21

Styleshhets3.22

Scripts7.09

Images29.39

Page 18: Long Life Web Performance Optimization

Reducing HTTP Requests

CSS 3

Application Cache

Resource Package

SPDY

Page 19: Long Life Web Performance Optimization

<!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

Page 20: Long Life Web Performance Optimization

Reducing HTTP Requests

CSS 3

Application Cache

Resource Package

SPDY

Page 21: Long Life Web Performance Optimization

<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

Page 22: Long Life Web Performance Optimization

SPDY: An experimental protocolfor a faster web

Reducing HTTP Requests

CSS 3

Application Cache

Resource Package

SPDY

Page 23: Long Life Web Performance Optimization

SPDY: An experimental protocolfor a faster web

多重化ストリーム

リクエストの優先付け

HTTPヘッダー圧縮

Reducing HTTP Requests

CSS 3

Application Cache

Resource Package

SPDY

Page 24: Long Life Web Performance Optimization

(‘・ω・` )...常に走り続けなければならない

Page 25: Long Life Web Performance Optimization

The Human Doesn’t Change

Page 26: Long Life Web Performance Optimization
Page 27: Long Life Web Performance Optimization

>>>

Page 28: Long Life Web Performance Optimization

Perception認知・知覚・感受・体感

Page 29: Long Life Web Performance Optimization

チェッカーシャドウ錯視

Page 30: Long Life Web Performance Optimization

チェッカーシャドウ錯視

#6B6B6B

Page 31: Long Life Web Performance Optimization

エビングハウス錯視

Page 32: Long Life Web Performance Optimization

エビングハウス錯視

Page 33: Long Life Web Performance Optimization

20 year old are in reality

3:0360 year old are in reality

3:40

Perceived 3 minutes

Why time flies in old age - New Scientist

Page 34: Long Life Web Performance Optimization

年齢

地理的条件

文化・気候

体温

Time Perception

Page 35: Long Life Web Performance Optimization

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

Page 36: Long Life Web Performance Optimization

Speedスピードは重要じゃない!?

Page 37: Long Life Web Performance Optimization

1934年 フィウメで生まれる

1956年 アメリカ合衆国に渡る

1970年 シカゴ大学心理学科教授

1999年 シカゴ大学を定年退職

クレアモント大学院大学教授に就任

Mihaly Csikszentmihalyi

Page 38: Long Life Web Performance Optimization

!ow

Page 39: Long Life Web Performance Optimization

“1つの活動に深く没入しているので

他の何ものも問題とならなくなる状態

注意が自由に個人の目標達成のために

投射されている状態 ”

What is “FLOW”?

Page 40: Long Life Web Performance Optimization

明確な目的

専念と集中

活動と意識の融合

時間感覚のゆがみ

直接的で即座な反応

能力の水準と難易度とのバランス

自分で制御している感覚

活動に本質的な価値がある

Components of Flow

Page 41: Long Life Web Performance Optimization

明確な目的

専念と集中

活動と意識の融合

時間感覚のゆがみ

直接的で即座な反応

能力の水準と難易度とのバランス

自分で制御している感覚

活動に本質的な価値がある

Components of Flow

Page 42: Long Life Web Performance Optimization

(‘・ω・` )...人間は曖昧である

Page 43: Long Life Web Performance Optimization

Practice

Page 44: Long Life Web Performance Optimization
Page 45: Long Life Web Performance Optimization

Interface

Page 46: Long Life Web Performance Optimization

Designing Web Interfaces直接的で即座な反応

自分で制御している感覚

Page 47: Long Life Web Performance Optimization

Feedbackフィードバック

Page 48: Long Life Web Performance Optimization

Feedback Pattern

Live Preview

Progressive Rendering

Progress Indication

TWITTERPASSWORDCONFIGURATION

Page 49: Long Life Web Performance Optimization

Feedback Pattern

Live Preview

Progressive Rendering

Progress Indication

Page 50: Long Life Web Performance Optimization

Visual Header - Fast to compute

Results - Slower to compute

Page 51: Long Life Web Performance Optimization

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%

Page 52: Long Life Web Performance Optimization

Feedback Pattern

Live Preview

Progressive Rendering

Progress Indication

Page 53: Long Life Web Performance Optimization

Clear navigation

Match challenge to skills

Simplicity

Importance

Design for fun and utility

Avoid cutting-edge technology

Minimize animation

Flow in Web Design

Page 54: Long Life Web Performance Optimization

Conclusion

Page 55: Long Life Web Performance Optimization

Browserブラウザは進化し続けている

Page 56: Long Life Web Performance Optimization

Psychology知覚や認知についても考える

Page 57: Long Life Web Performance Optimization

Long Life Web Performance Optimization

Page 58: Long Life Web Performance Optimization

Thank you!http://t32k.com/mol

http://twitter.com/t32k

Page 59: Long Life Web Performance Optimization

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-flies-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

Page 60: Long Life Web Performance Optimization

http://www.flickr.com/photos/uxud/3838080583/

http://www.flickr.com/photos/kretyen/2526860812/

http://en.wikipedia.org/wiki/File:PPTMooresLawai.jpg

http://www.flickr.com/photos/titlap/3787618739/

http://www.flickr.com/photos/thepaperboy/4436923663/

http://www.flickr.com/photos/shiyazuni/3406692752/

http://www.flickr.com/photos/helleum/4350240392/

http://www.flickr.com/photos/mariachily/3382807043/

http://www.klett-cotta.de/uploads/tx_autoren/Csik_schreibtisch.jpg

http://www.flickr.com/photos/ficken/2181846165/

http://www.flickr.com/photos/nikio/3899114449/

http://www.flickr.com/photos/the_tahoe_guy/4183278431/

http://www.flickr.com/photos/uxud/4235288699/

http://www.flickr.com/photos/prettypetal/4306983458/

Credits