Giter VIP home page Giter VIP logo

autocannon-ui's Introduction

autocannon-ui

ci Conventional Commits

This monorepo contains packages and applications which provide a GUI for using autocannon while maintaining the same user experience. It provides the ability to compare two autocannon results.

To compare, the user must tick two results and press the Compare button. The popup that appeared will display the comparing result. For understanding the result, please see the autocannon-compare documentation.

Screenshots

Autocannon Options

Autocannon Report

Autocannon Compare

Getting started

The easiest way to try this out is to run:

  • npx autocannon-ui

  • a new browser window will be opened automatically

You can also provide port or host parameter to listen on port/host of your choice.

npx autocannon-ui --help

Usage: autocannon-ui [options]

Options:
  -p, --port <port>  listening port
  -h, --host <host>  host to bind (default: "localhost")
  --help             display help for command
  • In some containers like podman, you need to pass host as '0.0.0.0' to listen on all available interfaces. For more information please check this link.

Development

To easily develop the packages of this repo you can execute:

npm install
npm start

This will:

  • run autocannon-frontend build in watch mode so you can change the React components and see the result immediately
  • run autocannon-backend in standalone mode to have a server running
  • expose: http://localhost:3000 so that you may navigate to it

Designs

Designs can be found here.

Packages

autocannon-ui-frontend

A library of React components which provide the UI.

autocannon-ui-backend

A standalone Fastify application.

autocannon-compare-cli

A CLI tool to compare autocannon results and display them in a readable way.

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.