Socket
Socket
Sign inDemoInstall

@idrinth/api-bench

Package Overview
Dependencies
13
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @idrinth/api-bench

A library to benchmark apis, no matter if rest or soap


Version published
Weekly downloads
273
decreased by-1.8%
Maintainers
1
Install size
3.92 MB
Created
Weekly downloads
 

Readme

Source

@idrinth/api-bench

Coverage Status Codacy Badge

Contents

What does this project do?

This project provides a framework for testing restful APIs and websites for changes in response times. This helps to detect performance changes in code in a quick and simple manner.

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, bvanderlaan/api-bench-runner or 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.

Usage & Examples

Please have a look at the website for more information.

CI Images

We have ready to be used CI Images:

Monitoring

We provide a monitoring solution out of the box.

License

As usual with my projects this is MIT-licensed.

Support

Additionally, to support requests via issue, you can reach us via Slack.

Commercial support and training is provided via Björn Büttner.

Keywords

FAQs

Last updated on 26 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc