Socket
Book a DemoInstallSign in
Socket

jsl-git-branch-benchmark

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsl-git-branch-benchmark

0.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

GitBranchBenchmark

GitBranchBenchmark is used for testing the performance of code in two different branches. Currently it is only able to be used to compare the execution time of different branches by requesting a URL on each.

Project Status

This is really just quick prototype code to be expanded later, though it may be useful in its current state. Libraries and command-line options may change in the near future.

Installation

sudo gem install git-branch-benchmark

Usage Examples

  • gbb -b test2 -u http://localhost:3000/test -u http://localhost:3000/test2

    tests the current branch against branch 'test2' and outputs average times for both tests.

  • gbb -b test1 -b test2 -u http://localhost:3000/test

    tests the url given in branch 'test1' and 'test2', outputting the average times for execution in both branches

Notes

If one branch is given on the command line, gbb assumes that is the 'other' branch, and that the current branch should also be tested. If two branch options are given, the current branch isn't added to the list of branches to test.

Todo

  • The GitBranchBenchmark library should be a thin wrapper over the stdlib 'benchmark' suite, enabling it to compare the execution of blocks of code in different git branches.

  • Add specs

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.