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: 10 months 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:21:06.000Z (over 2 years ago)
- Last Synced: 2024-12-25T17:12:37.726Z (over 1 year 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

[](LICENSE)
[](https://github.com/RichardLitt/standard-readme)
[](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 mix
iex(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)