-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
499 lines (408 loc) · 22.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Quit Being So Fast - January 28, 2015</title>
<meta name="description" content="Quit Being So Fast? - January 28, 2015">
<meta name="author" content="Gregory Mazurek">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<style>
h1,h2,h3,p {
color: black;
}
body .reveal .slide-background {
background: no-repeat;
background-position: inherit;
}
html body p.lead {
margin-bottom: 50px;
font-weight: bold;
}
html body p {
text-align: left;
}
html .reveal .slides>section, .reveal .slides>section>section {
width: 120%;
}
</style>
<link rel="stylesheet" href="css/reveal.min.css">
<link rel="stylesheet" href="css/theme/default.css" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div style="background:white; padding: 15px 15px 0 0; text-align: right;">
<iframe src="https://ghbtns.com/github-btn.html?user=gregm&type=follow&count=true&size=large" frameborder="0" scrolling="0" width="220px" height="30px"></iframe>
</div>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides" data-background-transition="slide">
<section data-background="white">
<p style="color:black; font-size: 75px;">Web Performance Monitoring:</p>
<p style="color:black; font-size: 100px;">Quit Being So Fast!</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">Who am I?</p>
<p style="color:black; font-size: 50px;">Gregory Mazurek</p>
<p style="color:black; font-size: 50px;">Lead Software Engineer at Gilt Groupe, 3.5 years</p>
<p style="color:black; font-size: 50px;">[email protected]</p>
</section>
<section data-background="white" data-background-repeat="no-repeat" data-background-image="images/gilt.png">
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">I also previously worked</p>
<p style="color:black; font-size: 50px;">in book publishing for 4 years.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">What are we talking about?</p>
<p style="color:black; font-size: 50px;">Basics of performance monitoring.</p>
<p style="color:black; font-size: 50px;">How do we integrate performance at Gilt?</p>
<p style="color:black; font-size: 50px;">Why you should slow down, sometimes.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">What aren't we talking about?</p>
<p style="color:black; font-size: 50px;">Native app performance</p>
<p style="color:black; font-size: 50px;">Magic</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">Tools</p>
<p style="color:black; font-size: 50px;">Synthetic Monitoring</p>
<p style="color:black; font-size: 50px;">Real User Monitoring (RUM)</p>
<p style="color:black; font-size: 50px;">Performance Timing API</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">Synthetic Monitoring</p>
<p style="color:black; font-size: 50px;">Hit your pages from servers remotely.</p>
<p style="color:black; font-size: 50px;">At Gilt, we use Rigor.com.</p>
</section>
<section data-background="white" data-background-repeat="no-repeat" data-background-image="images/rigor.png">
</section>
<section data-background="white" data-background-repeat="no-repeat" data-background-image="images/new-relic.png">
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">Real User Monitoring</p>
<p style="color:black; font-size: 50px;">Your users generate the data.</p>
<p style="color:black; font-size: 50px;">At Gilt, we use New Relic.</p>
</section>
<section data-background="white" data-background-repeat="no-repeat" data-background-image="images/new-relic-rum.png">
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">Performance Timing API</p>
<p style="color:black; font-size: 50px;">http://bit.ly/fastfastfast</p>
<p style="color:black; font-size: 50px;">Google Chrome Plugin that</p>
<p style="color:black; font-size: 50px;">visually displays data for the current website.</p>
<p style="color:black; font-size: 50px;">Over 400 performance lovers use it.</p>
</section>
<section data-background="white" data-background-repeat="no-repeat" data-background-image="images/performance-timing-api.png">
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">Gilt wants engineers to feel responsible for performance</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">PULL Strategy</p>
<p style="color:black; font-size: 50px;">We pulled them into our presentations.</p>
<p style="color:black; font-size: 50px;">We pulled them into Rigor and New Relic.</p>
<p style="color:black; font-size: 50px;">We pulled them into tutorial sessions.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">It didn't work.</p>
<p style="color:black; font-size: 50px;">We were interfering with preexisting patterns for development rather than augmenting them.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">So, we <b>PUSH</b>ed.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">PUSH Strategy</p>
<p style="color:black; font-size: 50px;">Performance reviewed during monthly KPI meetings.</p>
<p style="color:black; font-size: 50px;">Distribute company-wide reports.</p>
<p style="color:black; font-size: 50px;">We -1 commits that are not performant.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">That works.</p>
<p style="color:black; font-size: 50px;">Engineers care about performance.</p>
<p style="color:black; font-size: 50px;">Our page speeds are getting lower.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">Learn from us.</p>
<p style="color:black; font-size: 50px;">3 things you can do</p>
<p style="color:black; font-size: 50px; padding-left: 200px;">today</p>
<p style="color:black; font-size: 50px;">to improve the performance of your website</p>
<p style="color:black; font-size: 50px; padding-left: 400px;">tomorrow.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">1. Make marketing tag performance visible</p>
<p style="color:black; font-size: 50px;">Use a tag management container (Signal).</p>
<p style="color:black; font-size: 50px;">Monitor performance of these tags.</p>
<p style="color:black; font-size: 50px;">Communicate their performance or lack thereof.</p>
<p style="color:black; font-size: 50px;">Marketing doesn't want to slow the user experience.</p>
<p style="color:black; font-size: 50px;">They want to know if they are.</p>
</section>
<section data-background="white" data-background-repeat="no-repeat" data-background-image="images/marketing-tags.png">
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">2. Performance test new features before they go live</p>
<p style="color:black; font-size: 50px;">Product team feels responsibility.</p>
<p style="color:black; font-size: 50px;">Know what's going to happen before you deploy to prod.</p>
<p style="color:black; font-size: 50px;">Don't regress your current features.</p>
</section>
<section data-background="white" data-background-repeat="no-repeat" data-background-image="images/ab-testing.png">
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">3. Compress your images</p>
<p style="color:black; font-size: 50px;">Our biggest performance gain.</p>
<p style="color:black; font-size: 50px;">Get designers approval.</p>
<p style="color:black; font-size: 50px;">Designers care about performance as well.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">What is the difference between these photos?</p>
</section>
<section data-background="white">
<img src="images/demo-image-100.jpg" style="height: 500px">
<img src="images/demo-image-100.jpg" style="height: 500px">
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">Nothing :)</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">But, what is the difference between these two images?</p>
</section>
<section data-background="white">
<img src="images/demo-image-100.jpg" style="height: 500px">
<img src="images/demo-image-85.jpg" style="height: 500px">
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">500 kb, the left larger than the right</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">3 Big Things:</p>
<p style="color:black; font-size: 50px;">Marketing tags.</p>
<p style="color:black; font-size: 50px;">Test changes.</p>
<p style="color:black; font-size: 50px;">Reduce image sizes.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">So now you're thinking, "why should I bother to remember these three things?"</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">"There are so many other things I could do!</p>
<p style="color:black; font-size: 50px;">The CDN!</p>
<p style="color:black; font-size: 50px;">Pre-fetching assets!</p>
<p style="color:black; font-size: 50px;">No more CSS3 animations!"</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">"Shouldn't I just make my website fast.</p>
<p style="color:black; font-size: 50px;">Like, real fast!"</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">"All my users will know my site</p>
<p style="color:black; font-size: 50px;">as the fastest</p>
<p style="color:black; font-size: 50px;">in ALL THE LAND!"</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">And I'm thinking, "your users don't care...</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">...as much as you care."</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">Let's talk about books.</p>
</section>
<section data-background="white" data-background-repeat="no-repeat" data-background-image="images/book2.jpg">
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">How could we measure</p>
<p style="color:black; font-size: 50px;">the performance of reading a book?</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">On The Client Side:</p>
<p style="color:black; font-size: 50px;">How quickly did the text load?</p>
<p style="color:black; font-size: 50px;">Were the images preloaded?</p>
<p style="color:black; font-size: 50px;">How soon does a page load upon flip?</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">On The Server Side:</p>
<p style="color:black; font-size: 50px;">How long did it take to write?</p>
<p style="color:black; font-size: 50px;">What was the editing time?</p>
<p style="color:black; font-size: 50px;">Was it 4-color or black/white?</p>
<p style="color:black; font-size: 50px;">How long did it take to ship to the store?</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">A hardcover book !=</p>
<p style="color:black; font-size: 50px; padding-left: 100px;">trade paperback !=</p>
<p style="color:black; font-size: 50px; padding-left: 200px;">mass market paperback !=</p>
<p style="color:black; font-size: 50px; padding-left: 300px;">ebook</p>
<p style="color:black; font-size: 50px; margin-top: 50px;">Differences in price, size, paper quality, and cover.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">But,</p>
<p style="color:black; font-size: 50px; padding-left: 100px;">hardcover book ~== another hardcover book</p>
<p style="color:black; font-size: 50px; padding-left: 185px;">trade paper ~== another trade paper</p>
<p style="color:black; font-size: 50px; padding-left: 165px;">mass market ~== another mass market</p>
<p style="color:black; font-size: 50px; padding-left: 300px;">ebook ~== another ebook</p>
<p style="color:black; font-size: 50px; margin-top: 50px;">What is the difference?</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">The Content.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">If a book's format is like a web browser,</p>
<p style="color:black; font-size: 50px;">the content is like the HTML, JS, CSS.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">There isn't an audience of readers</p>
<p style="color:black; font-size: 50px;">demanding a format</p>
<p style="color:black; font-size: 50px;">that doesn't exist.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">They don't ask for an unknown,</p>
<p style="color:black; font-size: 50px;">not-yet-created, <i>magic</i> book format.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">They want something that looks</p>
<p style="color:black; font-size: 50px;">and feels</p>
<p style="color:black; font-size: 50px;">like what they know.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">What is the corrollary for the web?</p>
<p style="color:black; font-size: 50px;">Your user experience should be similar</p>
<p style="color:black; font-size: 50px; padding-left: 200px;">to other user experiences.</p>
<p style="color:black; font-size: 50px;">We see this all the time with <i>patterns</i>.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">You make it fast!</p>
<p style="color:black; font-size: 50px;">How fast?</p>
<p style="color:black; font-size: 50px;">Super fast!</p>
<p style="color:black; font-size: 50px;">But why?</p>
<p style="color:black; font-size: 50px;">Because studies say so! That makes sense!</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">Studies show that</p>
<p style="color:black; font-size: 50px;">increased page load times</p>
<p style="color:black; font-size: 50px;">lead to decreased conversion.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">But, Gilt did a test a few years back</p>
<p style="color:black; font-size: 50px;">that proved the opposite.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">We slowed</p>
<p style="color:black; font-size: 50px;">each page request by 1 second.</p>
<p style="color:black; font-size: 50px;">And, there was no change in conversion.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">A lot of times when we think about performance,</p>
<p style="color:black; font-size: 50px;">we think only about ourselves.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">But really, we should consider ourselves</p>
<p style="color:black; font-size: 50px; padding-left: 200px;">hardcover books</p>
<p style="color:black; font-size: 50px;">and we should compare ourselves to other</p>
<p style="color:black; font-size: 50px; padding-left: 400px;">hardcover books.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">There's no point to being super fast</p>
<p style="color:black; font-size: 50px;">if it means losing essential features.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">The point is to be reasonable and responsible.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">If your goal is speed,</p>
<p style="color:black; font-size: 50px;">you're going to create a product</p>
<p style="color:black; font-size: 50px;">based on speed.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">If your goal is a good user experience,</p>
<p style="color:black; font-size: 50px;">you might have to sacrifice a bit</p>
<p style="color:black; font-size: 50px;">on speed.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">You have to decide what is right</p>
<p style="color:black; font-size: 50px;">for your users</p>
<p style="color:black; font-size: 50px;">based on your company's objectives.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">But one thing is for sure:</p>
<p style="color:black; font-size: 50px; padding-left: 100px;">if you're a hardcover book</p>
<p style="color:black; font-size: 50px; padding-left: 200px;">you want to be at least as good as</p>
<p style="color:black; font-size: 50px; padding-left: 300px;">all the other hardcover books.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">Measuring your own site's performance is good.</p>
<p style="color:black; font-size: 50px;">Measuring your site's performance against your competition is better.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">You can use the Google Chrome Extension</p>
<p style="color:black; font-size: 50px;">as a start:</p>
<p style="color:black; font-size: 50px;">http://www.bit.ly/fastfastfast</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">If your website looks, performs, and acts like a hardcover book, it'll be a hardcover book.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">In publishing, do you know why we call</p>
<p style="color:black; font-size: 50px;">a large-format book</p>
<p style="color:black; font-size: 50px; padding-left: 200px;">with lots of pictures</p>
<p style="color:black; font-size: 50px; padding-left: 400px;">a <i>"coffee-table"</i> book?</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">Because they're heavy,</p>
<p style="color:black; font-size: 50px;">they're difficult to hold,</p>
<p style="color:black; font-size: 50px;">and they largely go unread.</p>
</section>
<section data-background="white">
<p style="color:black; font-size: 50px;">If you want your website to be a</p>
<p style="color:black; font-size: 50px;">hardcover book,</p>
<p style="color:black; font-size: 50px;">don't create a coffee-table book.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">In Summary</p>
<p style="color:black; font-size: 50px;">Know what kind of book format you want to be.</p>
<p style="color:black; font-size: 50px;">Be as fast as you need to be.</p>
<p style="color:black; font-size: 50px;">Be similar or better than your competition.</p>
<p style="color:black; font-size: 50px;">Don't regress in quality.</p>
<p style="color:black; font-size: 50px;">Don't only obsess over your numbers.</p>
<p style="color:black; font-size: 50px;">Obsess over your numbers as compared to your competition's numbers.</p>
</section>
<section data-background="white">
<p class="lead" style="color:black; font-size: 50px;">Thank you!</p>
<p style="color:black; font-size: 50px;">[email protected]</p>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: 'linear', // default/cube/page/concave/zoom/linear/fade/none
// Parallax scrolling
// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
// parallaxBackgroundSize: '2100px 900px',
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>