feat(benchmark): added an implementation of the tree benchmark in React

This commit is contained in:
vsavkin
2015-04-29 18:11:56 -07:00
parent 9e8d31d532
commit e4342743c0
10 changed files with 2364 additions and 1130 deletions

View File

@ -112,7 +112,11 @@ module.exports = function makeBrowserTree(options, destinationPath) {
]
});
var polymer = stew.mv(flatten(polymerFiles), 'benchmarks_external/src/tree/polymer');
htmlTree = mergeTrees([htmlTree, scripts, polymer, css]);
var reactFiles = new Funnel('.', {files: ['node_modules/react/dist/react.min.js']});
var react = stew.mv(flatten(reactFiles), 'benchmarks_external/src/tree/react');
htmlTree = mergeTrees([htmlTree, scripts, polymer, css, react]);
es5Tree = mergeTrees([es5Tree, htmlTree]);