Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #25

Merged
merged 2 commits into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 19 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
# @idrinth/api-bench
# @idrinth-api-bench/framework

[![Coverage Status](https://coveralls.io/repos/github/Idrinth/api-bench/badge.svg?branch=the-one)](https://coveralls.io/github/Idrinth/api-bench?branch=the-one)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3171affc728048da8df4fe36b6d4771e)](https://app.codacy.com/gh/Idrinth/api-bench/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Idrinth_api-bench&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Idrinth_api-bench)
[![Code Factor](https://www.codefactor.io/repository/github/idrinth/api-bench/badge/the-one)](https://www.codefactor.io/repository/github/idrinth/api-bench/overview/the-one)
[![Coverage Status](https://coveralls.io/repos/github/idrinth-api-bench/framework/badge.svg?branch=the-one)](https://coveralls.io/github/idrinth-api-bench/framework?branch=the-one)

## Contents

- [@idrinth/api-bench](#idrinthapi-bench)
- [Contents](#contents)
- [What does this project do?](#what-does-this-project-do)
- [Code Generation](#code-generation)
- [Why use a Benchmark Runner](#why-use-a-benchmark-runner)
- [Regarding existing libraries](#regarding-existing-libraries)
- [Usage \& Examples](#usage--examples)
- [CI Images](#ci-images)
- [Monitoring](#monitoring)
- [License](#license)
- [Socials](#socials)
- [Support](#support)
- [Privacy and Compliance](#privacy-and-compliance)
- [What does this project do?](#what-does-this-project-do)
- [Code Generation](#code-generation)
- [Usage \& Examples](#usage--examples)
- [CI Images](#ci-images)
- [Licence](#licence)
- [Socials](#socials)
- [Support](#support)
- [Privacy and Compliance](#privacy-and-compliance)

## What does this project do?

Expand All @@ -29,34 +21,14 @@ in a quick and simple manner.

### Code Generation

Code generation has been extracted into `@idrinth/api-bench-cli`, it provided
with the framework or can be run on its own.

### Why use a Benchmark Runner

Given, that the amount of APIs increase by moving to microservices, we need a
way to determine if changes to a service's response times are related to code
changes. For this purpose a defined load with repeatable request seems the
most useful.

### Regarding existing libraries

Other tools like
[matteofigus/api-benchmark](https://github.com/matteofigus/api-benchmark),
[bvanderlaan/api-bench-runner](https://github.com/bvanderlaan/api-bench-runner)
or [jeffbski/bench-rest](https://github.com/jeffbski/bench-rest) are all
untouched for quite a while and don't provide type definitions for typescript.
This makes them less desirable when working with bigger projects where the
better static codecheck is a huge boost in development speed.

Additionally, this tool separates the validation thread from the thread
processing the actual requests to further minimise the effect of complicated
validations or huge response bodies on the data gathering.
Code generation has been extracted into `@idrinth-api-bench/cli`, it can be
run on its own.

## Usage & Examples

Please have a look at the [website](https://idrinth-api-ben.ch) for more
information.
information. Examples are in their own
[repository](https://github.com/idrinth-api-bench/examples)

## CI Images

Expand All @@ -66,22 +38,16 @@ We have ready to be used CI Images:
- [Gitea Action](https://hub.docker.com/r/idrinth/api-bench-gitea-action)
- [Pure Alpine](https://hub.docker.com/r/idrinth/api-bench)

## Monitoring

We provide a monitoring solution out of the box.

- [Microservice](https://hub.docker.com/r/idrinth/api-bench-history-microservice)
- [Website](https://hub.docker.com/r/idrinth/api-bench-history-website)

## License
## Licence

As usual with my projects this is MIT-licensed.
This project is MIT-licenced.

## Socials

Additionally, to support requests via GitHub issue, you can reach us via

[![GitHub URL](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Idrinth/api-bench)    [![LinkedIn URL](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/groups/9588634/)    [![Slack URL](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white)](https://idrinth-api-bench.slack.com/join/shared_invite/zt-2f4zmw2sz-c3etHzCFq3LtZpkR15xXMA#/shared-invite/email)
[![LinkedIn URL](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/groups/9588634/)
[![Slack URL](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white)](https://idrinth-api-bench.slack.com/join/shared_invite/zt-2f4zmw2sz-c3etHzCFq3LtZpkR15xXMA#/shared-invite/email)

## Support

Expand All @@ -90,6 +56,6 @@ Commercial support and training is provided via

## Privacy and Compliance

The `@idrinth/api-bench` framework does not collect any kind of information
The `@idrinth-api-bench` framework does not collect any kind of information
about its users or the APIs being tested. All data is local to the device
you run it on or the database server you configure it to dump data in.
Loading