Ebook Homebrew: ElixirPerformanceTool

logo

license standard-readme compliant PRs Welcome

Checking TAT benchmark test tools for Parallel HTTP requests by Elixir.

Table of Contents

Background

One day, I needed to test the performance of Ebook Homebrew, and decided to solve it by creating a load testing tool that could send a lot of requests in parallel.

Install

Preconditions

Dependencies

Install dependencies by Mix.

mix deps.get

Installation for another modules

If available in Hex, the package can be installed by adding elixir_performance_tool to your list of dependencies in mix.exs:

def deps do
  [
    {:elixir_performance_tool, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_performance_tool.

Usage

Run the test by IEx.

Run the test by IEx.

iex -S mix

iex(1)> ElixirPerformanceTool.run(10, 10)

Function ElixirPerformanceTool.run set 2 args, first one is parallel task number, second one is repeating times.

Contributing

See the contributing file!

PRs accepted.

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT © tubone.