This file contains hidden or 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
field | react | ember | ember2 | incrementaldom | |
---|---|---|---|---|---|
MajorGC | 10.4086 | 21.4694 | 18.6744 | 8.645199999999999 | |
MinorGC | 149.14180000000002 | 230.2074 | 162.7098 | 54.58320000000001 | |
Layout | 1068.3233999999998 | 707.2348000000001 | 841.2268 | 2049.1456000000007 | |
Paint | 564.5266000000001 | 294.0348 | 351.05559999999997 | 1042.4279999999997 | |
mean_frame_time | 21.459681074792663 | 19.983254678205277 | 20.93307595365973 | 19.19166559509372 | |
droppedFrameCount | 526.4 | 494 | 510.2 | 402.6 | |
ExpensivePaints | 0 | 0 | 0.2 | 0 | |
ExpensiveEventHandlers | 17.8 | 0 | 0 | 0 | |
NodePerLayout_avg | 4008.9583108715183 | 5809.8171432597555 | 5811.05877104377 | 3006.8257160311323 |
This file contains hidden or 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
import connect from 'connect'; | |
class ErrEmpty extends Error { | |
constructor() { | |
super() | |
this.message = 'Empty string'; | |
} | |
} | |
class StringService { |
This file contains hidden or 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
export default class Block { | |
constructor(driver) { | |
this.driver = driver | |
} | |
} |
This file contains hidden or 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
/** | |
* `window.requestAnimationFrame` rewritten in `Promise`s way. | |
* See https://api.dartlang.org/1.12.2/dart-html/Window/animationFrame.html | |
*/ | |
const animationFrame = () => new Promise(resolve => window.requestAnimationFrame(resolve)); | |
function test(prefix, fn) { | |
var counter = 0; | |
const next = function() { |
This file contains hidden or 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
import 'ym'; | |
import './blocks/block1.js'; | |
import './blocks/block2.js'; | |
import './blocks/block3.js'; | |
console.log(a); |
This file contains hidden or 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
#!/bin/sh | |
git reset --hard && git ls-files -o --directory -X ~/.gitignore | xargs rm -rf |
This file contains hidden or 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
/* jshint esnext:true */ | |
// native generators | |
function* random() { | |
var i = 0; | |
while(i++ < 1e5) { | |
yield Math.random(); | |
} | |
} |
This file contains hidden or 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 Path(path) { | |
this.path = this.parsePathStr(path); | |
console.log(this.path); | |
this.length = this.path.length; | |
/** @override */ | |
this.get = this.createGetFn(); | |
} | |
Path.prototype.get = function(obj) { | |
for(var i = 0; i < this.length; i++) |
This file contains hidden or 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
› git log -1 --format=raw | |
‹ commit 183d84256366295c8186b4d01f4714c75a7f4272 | |
tree 639f5acf64026fcbd1d0704488a1815dcb5db406 | |
parent d0fb80adbb711dd2f68c7abbaa2767b8cda30d03 | |
parent 56f37221f1627fcf263bcff82653cfb87c7e1ea4 | |
author Vladimir Varankin <[email protected]> 1428501575 +0300 | |
committer Vladimir Varankin <[email protected]> 1428501575 +0300 | |
Merge pull request #937 from bem/issues/#929@v2 |