Giter Site home page Giter Site logo

jbr.js's Introduction

jbr.js โ€“ Just a Benchmark Runner

Build status Coverage Status npm version

A simple tool to initialize benchmarking experiments, run them, and analyze their results.

Learn more about how to use jbr here.

Development Setup

(JSDoc: https://rubensworks.github.io/jbr.js/)

This repository should be used by jvr module developers as it contains multiple jbr modules that can be composed. This repository is managed as a monorepo using Lerna.

If you want to develop new features or use the (potentially unstable) in-development version, you can set up a development environment for jbr.

jbr requires Node.JS 12.0 or higher and the Yarn package manager. jbr is tested on OSX, Linux and Windows.

This project can be setup by cloning and installing it as follows:

$ git clone https://github.com/rubensworks/jbr.js.git
$ cd jbr.js
$ yarn install --ignore-engines

Note: npm install is not supported at the moment, as this project makes use of Yarn's workspaces functionality

This will install the dependencies of all modules, and bootstrap the Lerna monorepo. After that, all jbr packages are available in the packages/ folder and can be used in a development environment, such as the main jbr CLI tool.

Furthermore, this will add pre-commit hooks to build, lint and test. These hooks can temporarily be disabled at your own risk by adding the -n flag to the commit command.

Adding a new experiment or hook handler

If you want to add a new experiment, you can create one at packages/experiment-<name>. Similarly, hook handlers can be created at packages/hook-<name>. Other experiment and hook handlers can serve as inspiration for implementation.

In order to test your implementation locally, you can make use of globally linked packages. For this, you can first link jbr as follows:

$ cd packages/jbr
$ yarn link

Within the root of the monorepo directory, you can now execute jbr commands, and refer to locally available experiments and hook handlers that are not available on npm (yet).

If you want these experiments or hook handlers to become available on npm (so others can use them as well), you can contribute them to this repository via a pull requests, and a maintainer can publish them.

License

jbr.js is written by Ruben Taelman.

This code is copyrighted by Ghent University โ€“ imec and released under the MIT license.

jbr.js's People

Contributors

rubensworks avatar renovate-bot avatar renovate[bot] avatar rubeneschauzier avatar

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.