{"_attachments":{},"_id":"react-fuego","_rev":"90794-61f189ca863cab988fb3e1e4","author":"","description":"A React component render benchmarking tool","dist-tags":{"latest":"0.2.0"},"license":"ISC","maintainers":[{"name":"apiv","email":"austinpivarnik@gmail.com"}],"name":"react-fuego","readme":"# Fuego\n\n`Fuego` is a benchmarking tool for React, with a specific focus on component render time benchmarking. `Fuego` is still in it's early, prototype stage, and right now consists of only a few components. However, these components can be used in many ways, described in the subsections below.\n\n```\nnpm install react-fuego\n```\n\nOr\n\n```\nyarn add react-fuego\n```\n\n## What problem does this solve?\n\nI'm not trying to reinvent the wheel here, nor take credit for it. I open sourced this repo because I got tired\nof copying and pasting `Perf.start` and `Perf.stop` into obscure places in my app to measure performance. I also\ngot tired of having to dig through the output of `react-addons-perf` to find the data which pertained only to my\ncomponent. `Fuego` does all of the hard work for you, so all you need to do is write:\n\n```\n<Test>\n  {Fuego.renderList(MyComponent, 100, props)\n</Test>\n```\n\nAnd then you can do whatever you want with the data via the `onBenchmarkStop` prop.\n\n## What's it got?\n\n`Fuego` provides:\n1) A controlled environment for benchmarking. Your component is rendered in complete isolation, so true\nrendering performance can be measured per component.\n   - You can place this _anywhere_ in your app, as it is self contained. No need to make a special route\n     for displaying or benchmarking your component.\n2) A simple UI, if you want to use it. Fuego allows you to run your benchmarks at a literal click of a button, displaying\noutput with a smart reporter.\n   - Fuego can be used without the UI, too.\n3) Simple and powerful test suite integration. With `Fuego`, it's finally possible to avoid component bloat by defining tests which\nlimit how slow a component is allowed to render before failing. For examples, scroll to the `Test` section below.\n\n### More info\n\n**Very detailed** documentation and **examples** on the homepage: https://apiv.github.io/fuego\n","time":{"created":"2022-01-26T17:50:02.500Z","modified":"2022-01-26T17:50:02.500Z","0.1.0":"2017-08-28T15:38:02.082Z","0.1.1":"2017-08-28T15:55:45.176Z","0.1.2":"2017-08-29T00:29:54.991Z","0.2.0":"2017-09-27T17:01:54.980Z"},"versions":{"0.1.0":{"name":"react-fuego","version":"0.1.0","description":"A React component render benchmarking tool","main":"lib/index.js","scripts":{"hook":"mkdir -p ./.git/hooks && ln -s ./hooks/pre-commit ./.git/hooks/pre-commit","lint":"eslint ./src","test":"jest","coverage:report":"cat ./coverage/lcov.info | coveralls","build:clean":"rimraf docs/build lib","build:lib":"babel src --ignore *.spec.js,*.benchmark.js --out-dir lib","build:packed":"yarn check && webpack --config webpack.config.babel.js . && rimraf dist/main*","build:all":"yarn build:clean && yarn build:lib && yarn build:packed"},"repository":{"type":"git","url":"git+https://github.com/apiv/fuego.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/apiv/fuego/issues"},"homepage":"https://github.com/apiv/fuego#readme","devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.20.0","babel-eslint":"^7.1.0","babel-loader":"^6.2.9","babel-plugin-lodash":"^3.2.9","babel-plugin-react-transform":"^2.0.2","babel-plugin-syntax-decorators":"^6.8.0","babel-plugin-transform-class-properties":"^6.18.0","babel-plugin-transform-decorators-legacy":"1.3.4","babel-plugin-transform-react-constant-elements":"^6.5.0","babel-plugin-transform-react-remove-prop-types":"^0.2.11","babel-plugin-transform-runtime":"^6.7.5","babel-polyfill":"^6.20.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0","babel-register":"^6.18.0","babel-runtime":"^6.20.0","html-webpack-plugin":"^2.30.1","jest":"^20.0.4","raw-loader":"^0.5.1","react-markdown":"^2.5.0","react-syntax-highlighter":"^5.6.3","react-test-renderer":"^15.6.1","rimraf":"^2.6.1","webpack":"^2.3.3"},"dependencies":{"prop-types":"^15.5.10","react":"^15.6.1","react-addons-perf":"^15.4.2","react-dom":"^15.6.1"},"gitHead":"a2bcf67c56bd662a40b69840471ee3b2dd5b8229","_id":"react-fuego@0.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"apiv","email":"austinpivarnik@gmail.com"},"dist":{"integrity":"sha512-7W069Zf1loi9wCn71VGz74gfEhc+TKeafALz/BevNidwp8Fn0H5iARcVh8jeR1sNgBUH8xGJgB506nh9/mkjpA==","shasum":"6dd8e79b5bad7a054fe20d2f51edb9a2b8d10db8","tarball":"https://registry.npmmirror.com/react-fuego/-/react-fuego-0.1.0.tgz","size":51362},"maintainers":[{"name":"apiv","email":"austinpivarnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-fuego-0.1.0.tgz_1503934680906_0.5714953131973743"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T04:43:48.422Z"},"0.1.1":{"name":"react-fuego","version":"0.1.1","description":"A React component render benchmarking tool","main":"lib/index.js","scripts":{"hook":"mkdir -p ./.git/hooks && ln -s ./hooks/pre-commit ./.git/hooks/pre-commit","lint":"eslint ./src","test":"jest","coverage:report":"cat ./coverage/lcov.info | coveralls","build:clean":"rimraf docs/build lib","build:lib":"babel src --ignore *.spec.js,*.benchmark.js --out-dir lib","build:packed":"yarn check && webpack --config webpack.config.babel.js . && rimraf dist/main*","build:all":"yarn build:clean && yarn build:lib && yarn build:packed"},"repository":{"type":"git","url":"git+https://github.com/apiv/fuego.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/apiv/fuego/issues"},"homepage":"https://github.com/apiv/fuego#readme","devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.20.0","babel-eslint":"^7.1.0","babel-loader":"^6.2.9","babel-plugin-lodash":"^3.2.9","babel-plugin-react-transform":"^2.0.2","babel-plugin-syntax-decorators":"^6.8.0","babel-plugin-transform-class-properties":"^6.18.0","babel-plugin-transform-decorators-legacy":"1.3.4","babel-plugin-transform-react-constant-elements":"^6.5.0","babel-plugin-transform-react-remove-prop-types":"^0.2.11","babel-plugin-transform-runtime":"^6.7.5","babel-polyfill":"^6.20.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0","babel-register":"^6.18.0","babel-runtime":"^6.20.0","html-webpack-plugin":"^2.30.1","jest":"^20.0.4","raw-loader":"^0.5.1","react-markdown":"^2.5.0","react-syntax-highlighter":"^5.6.3","react-test-renderer":"^15.6.1","rimraf":"^2.6.1","webpack":"^2.3.3"},"dependencies":{"prop-types":"^15.5.10","react":"^15.6.1","react-addons-perf":"^15.4.2","react-dom":"^15.6.1"},"gitHead":"abe1b279c3896825345eaed5bf82ad5a414dabfc","_id":"react-fuego@0.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"apiv","email":"austinpivarnik@gmail.com"},"dist":{"integrity":"sha512-uQclgio73qRN/V8mo9DkJapJdGFJzVaopnwrgtRE6cJKGHTyNsvvSN2CCDJJH2FvrSvqn0qxVR5Lnt1wLXRBfg==","shasum":"0bc6fcb36afd175e74e5e8ba357b26e8eb6d3e0c","tarball":"https://registry.npmmirror.com/react-fuego/-/react-fuego-0.1.1.tgz","size":51331},"maintainers":[{"name":"apiv","email":"austinpivarnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-fuego-0.1.1.tgz_1503935744141_0.32084715692326427"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T04:43:49.485Z"},"0.1.2":{"name":"react-fuego","version":"0.1.2","description":"A React component render benchmarking tool","main":"lib/index.js","scripts":{"hook":"mkdir -p ./.git/hooks && ln -s ./hooks/pre-commit ./.git/hooks/pre-commit","lint":"eslint ./src","test":"jest","coverage:report":"cat ./coverage/lcov.info | coveralls","build:clean":"rimraf docs/build lib","build:lib":"babel src --ignore *.spec.js,*.benchmark.js --out-dir lib","build:packed":"yarn check && webpack --config webpack.config.babel.js . && rimraf dist/main*","build:all":"yarn build:clean && yarn build:lib && yarn build:packed"},"repository":{"type":"git","url":"git+https://github.com/apiv/fuego.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/apiv/fuego/issues"},"homepage":"https://github.com/apiv/fuego#readme","devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.20.0","babel-eslint":"^7.1.0","babel-loader":"^6.2.9","babel-plugin-lodash":"^3.2.9","babel-plugin-react-transform":"^2.0.2","babel-plugin-syntax-decorators":"^6.8.0","babel-plugin-transform-class-properties":"^6.18.0","babel-plugin-transform-decorators-legacy":"1.3.4","babel-plugin-transform-react-constant-elements":"^6.5.0","babel-plugin-transform-react-remove-prop-types":"^0.2.11","babel-plugin-transform-runtime":"^6.7.5","babel-polyfill":"^6.20.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0","babel-register":"^6.18.0","babel-runtime":"^6.20.0","html-webpack-plugin":"^2.30.1","jest":"^20.0.4","raw-loader":"^0.5.1","react-markdown":"^2.5.0","react-syntax-highlighter":"^5.6.3","react-test-renderer":"^15.6.1","rimraf":"^2.6.1","webpack":"^2.3.3"},"dependencies":{"prop-types":"^15.5.10","react":"^15.6.1","react-addons-perf":"^15.4.2","react-dom":"^15.6.1"},"gitHead":"29d69796359d487961951304bb9aa5068f324e1c","_id":"react-fuego@0.1.2","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"apiv","email":"austinpivarnik@gmail.com"},"dist":{"integrity":"sha512-22cBdbuBa2SEdg/Xdhv/PxPBc4iNR7rtaNicyVEGyxz7arh9x5dvTctm0Vjo21UX1YiCkW5iF/9PMcqCQhELFw==","shasum":"13450e4c4709ffb9d200ecf1bcf01a13fafbdd4d","tarball":"https://registry.npmmirror.com/react-fuego/-/react-fuego-0.1.2.tgz","size":51379},"maintainers":[{"name":"apiv","email":"austinpivarnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-fuego-0.1.2.tgz_1503966593884_0.12918121181428432"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T04:43:50.557Z"},"0.2.0":{"name":"react-fuego","version":"0.2.0","description":"A React component render benchmarking tool","main":"lib/index.js","scripts":{"hook":"mkdir -p ./.git/hooks && ln -s ./hooks/pre-commit ./.git/hooks/pre-commit","lint":"eslint ./src","test":"jest","coverage:report":"cat ./coverage/lcov.info | coveralls","build:clean":"rimraf docs/build lib","build:lib":"babel src --ignore *.spec.js,*.benchmark.js --out-dir lib","build:packed":"yarn check && webpack --config webpack.config.babel.js . && rimraf dist/main*","build:all":"yarn build:clean && yarn build:lib && yarn build:packed"},"repository":{"type":"git","url":"git+https://github.com/apiv/fuego.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/apiv/fuego/issues"},"homepage":"https://github.com/apiv/fuego#readme","devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.20.0","babel-eslint":"^7.1.0","babel-loader":"^6.2.9","babel-plugin-lodash":"^3.2.9","babel-plugin-react-transform":"^2.0.2","babel-plugin-syntax-decorators":"^6.8.0","babel-plugin-transform-class-properties":"^6.18.0","babel-plugin-transform-decorators-legacy":"1.3.4","babel-plugin-transform-react-constant-elements":"^6.5.0","babel-plugin-transform-react-remove-prop-types":"^0.2.11","babel-plugin-transform-runtime":"^6.7.5","babel-polyfill":"^6.20.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.16.0","babel-register":"^6.18.0","babel-runtime":"^6.20.0","html-webpack-plugin":"^2.30.1","jest":"^20.0.4","prop-types":"^15.5.10","raw-loader":"^0.5.1","react":"^15.6.1","react-dom":"^15.6.1","react-markdown":"^2.5.0","react-syntax-highlighter":"^5.6.3","react-test-renderer":"^15.6.1","rimraf":"^2.6.1","webpack":"^2.3.3"},"dependencies":{"react-addons-perf":"* := >=15.0.0"},"gitHead":"09e3e4b3e2f0ec06c6af06ae112ca07a3a3bfa25","_id":"react-fuego@0.2.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"apiv","email":"austinpivarnik@gmail.com"},"dist":{"integrity":"sha512-z3j4GAqou9mehbwaTAb4ysYPwaHCDi94wf37CIBSfoerSE201/2CANenol2DuCGWRT/9hMiZeN0/QZPQBfCSbA==","shasum":"0efb5a5fd2ee226e53eeb9f9ad15f2ad2662c0b4","tarball":"https://registry.npmmirror.com/react-fuego/-/react-fuego-0.2.0.tgz","size":51273},"maintainers":[{"name":"apiv","email":"austinpivarnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-fuego-0.2.0.tgz_1506531713866_0.6129082159604877"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T04:43:51.631Z"}},"_source_registry_name":"default"}