Created
July 15, 2015 06:54
-
-
Save gaperton/c6af4ebea72f747a5c48 to your computer and use it in GitHub Desktop.
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
var z = +new Date(); | |
for( var j = 0; j < 100; j++ ){ | |
var elements = []; | |
for( var i = 0; i < 1000; i++ ) | |
elements.push( | |
<div key={i} className="row"> | |
<div className="col">a</div> | |
<div className="col">b</div> | |
<div className="col">c</div> | |
</div> | |
); | |
React.render( <div> { elements } </div>, document.getElementById( 'perf-1' ) ); | |
} | |
console.log( new Date() - z ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment