Rename 'performance' to 'benchmarks'

This commit is contained in:
Nicolas Gallagher
2017-05-25 21:44:01 -07:00
parent 54af7e9da2
commit a84ecefa5d
57 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
import createRenderBenchmark from '../createRenderBenchmark';
import NestedTree from '../src/components/NestedTree';
import React from 'react';
const renderWideTree = (label, components) =>
createRenderBenchmark({
name: `Wide tree [${label}]`,
runs: 20,
getElement() {
return <NestedTree breadth={10} components={components} depth={3} id={0} wrap={4} />;
}
});
export default renderWideTree;