Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tubone24/elixir_performance_tool
Checking TAT benchmark test tools for Parallel HTTP requests by Elixir.
https://github.com/tubone24/elixir_performance_tool
elixir perfomance-testing
Last synced: 1 day ago
JSON representation
Checking TAT benchmark test tools for Parallel HTTP requests by Elixir.
- Host: GitHub
- URL: https://github.com/tubone24/elixir_performance_tool
- Owner: tubone24
- License: mit
- Created: 2020-01-10T12:17:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:21:06.000Z (about 1 year ago)
- Last Synced: 2024-04-13T04:55:37.445Z (9 months ago)
- Topics: elixir, perfomance-testing
- Language: Elixir
- Homepage: https://tubone24.github.io/elixir_performance_tool/
- Size: 278 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Ebook Homebrew: ElixirPerformanceTool
![logo](./elixir_perfomance_logo.png)
[![license](https://img.shields.io/github/license/tubone24/elixir_performance_tool.svg)](LICENSE)
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)Checking TAT benchmark test tools for Parallel HTTP requests by Elixir.
## Table of Contents
- [Background](#background)
- [Install](#install)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)## 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.
```bash
mix deps.get
```### Installation for another modules
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `elixir_performance_tool` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:elixir_performance_tool, "~> 0.1.0"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/elixir_performance_tool](https://hexdocs.pm/elixir_performance_tool).## Usage
### Run the test by IEx.
Run the test by IEx.
```
iex -S mixiex(1)> ElixirPerformanceTool.run(10, 10)
```Function `ElixirPerformanceTool.run` set 2 args, first one is parallel task number, second one is repeating times.
### test
Run test by mix test.
```bash
mix test
```## Contributing
See [the contributing file](CONTRIBUTING.md)!
PRs accepted.
Small note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.
## License
[MIT © tubone.](LICENSE)