Giter VIP home page Giter VIP logo

bench-chain's People

Contributors

aretecode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bench-chain's Issues

simply config even more + bin

  • improve output config
  • allow hashing the test names and using configstore
  • allow pkg json config
  • run multiple benchmarks in a specified folder automatically - spawning subprocesses
  • add a bin file, make runnable globally or by npm script

crashes trying to assign to the string `remembers`

$ BABEL_ENV=test npx babel-node ./packages/slate-plain-serializer/benchmark/index.js
         ๐Ÿ‹๏ธ benchmarking
/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/script-chain/0.0.9/node_modules/script-chain/src/Remember.js:116
    if (!remembers[str]) remembers[str] = {times: [], avg: 0}
                                        ^

TypeError: Cannot create property '"/Users/wmertens/Documents/AeroFS/Projects/slate/packages/slate-plain-serializer/benchmark/bench.json"' on string 'remembers'
    at Remember.finish (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/script-chain/0.0.9/node_modules/script-chain/src/Remember.js:116:41)
    at BenchChainUserInterface.onAllComplete (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/bench-chain/0.5.1/node_modules/bench-chain/src/UI.js:35:19)
    at BenchChain._onAllCompleted (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/bench-chain/0.5.1/node_modules/bench-chain/src/BenchChain.js:351:13)
    at BenchChain._onComplete (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/bench-chain/0.5.1/node_modules/bench-chain/src/BenchChain.js:373:46)
    at Suite.get.on.event (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/bench-chain/0.5.1/node_modules/bench-chain/src/BenchChain.js:437:47)
    at /Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/benchmark/2.1.4/node_modules/benchmark/benchmark.js:1215:40
    at arrayEach (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/lodash/4.17.10/node_modules/lodash/lodash.js:516:11)
    at Function.forEach (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/lodash/4.17.10/node_modules/lodash/lodash.js:9342:14)
    at Suite.emit (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/benchmark/2.1.4/node_modules/benchmark/benchmark.js:1214:11)
    at Suite.onComplete (/Users/wmertens/Documents/AeroFS/Projects/slate/node_modules/.registry.npmjs.org/benchmark/2.1.4/node_modules/benchmark/benchmark.js:1186:17)

Somehow remembers is simply the string "remembers"? Something wrong with the config store?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.