- June 18-20th, 2013
- Santa Clara Convention Center
- Slide Decks
- YouTube playlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE lighthouse | |
( | |
`fetchTime` Nullable(DateTime), | |
`s3Path` String, | |
`suite` String, | |
`device` String, | |
`env` String, | |
`lighthouseVersion` String, | |
`requestedUrl` String, | |
`finalUrl` String, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function makeChange (total, coins) { | |
var tail = coins.slice(0), // clone coins, because we're about to modify it | |
head = tail.shift(); // grab the first coin out of the purse | |
// If total is less than zero, or there are no coins left, this isn't a match | |
if (total < 0 || !head) { | |
return 0; | |
} | |
// If the total reached 0, this is a match | |
else if (total === 0 ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function boyer_moore_horspool(haystack, needle) { | |
var badMatchTable = {}; | |
var maxOffset = haystack.length - needle.length; | |
var offset = 0; | |
var last = needle.length - 1; | |
var scan; | |
// Generate the bad match table, which is the location of offsets | |
// to jump forward when a comparison fails | |
Array.prototype.forEach.call(needle, function (char, i) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var suite = new PerfSuite('pathogen prefix tree compression', { | |
assets: ['assets/gallery-pathogen-encoder-min.js'], | |
yui: { | |
use: ['gallery-pathogen-encoder'], | |
config: { | |
modules: { | |
'gallery-pathogen-encoder': 'assets/gallery-pathogen-encoder-min.js' | |
} | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ attribute-base | |
├─ attribute-complex | |
├─ attribute-core | |
├─ attribute-extras | |
├─ attribute-observable | |
├─ base-base | |
├─ base-core | |
├─ base-observable | |
├─ base-pluginhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"unit": "Hz", | |
"name": "Y.Model: Instantiate a bare model", | |
"value": 5818.296044147161, | |
"stats": { | |
"moe": 0.0000014629321229748081, | |
"rme": 0.8511772183960135, | |
"sem": 7.463939402932695e-7, | |
"deviation": 0.0000061549221083002235, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yogi [info] using yogi@0.1.11 on node@0.10.15 | |
yogi [info] using module: anim | |
yogi [info] running lint on source files | |
/Users/derek/src/yui/yui3/src/anim/js/anim-color.js | |
/Users/derek/src/yui/yui3/src/anim/js/anim-curve.js | |
/Users/derek/src/yui/yui3/src/anim/js/anim-easing.js | |
/Users/derek/src/yui/yui3/src/anim/js/anim-node-plugin.js | |
/Users/derek/src/yui/yui3/src/anim/js/anim-scroll.js | |
/Users/derek/src/yui/yui3/src/anim/js/anim-shape.js | |
/Users/derek/src/yui/yui3/src/anim/js/anim-xy.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Obfuscated | |
function (t) { | |
var r1365158103887, | |
s1365158103887, | |
m1365158103887 = this, | |
f1365158103887 = m1365158103887.fn, | |
i1365158103887 = m1365158103887.count, | |
n1365158103887 = t1365158103887.ns; // no operation performed | |
s1365158103887 = n1365158103887.now(); | |
while (i1365158103887--) { |
NewerOlder