https://github.com/majk-p/http4s-client-timing
Benchmark utility to measure request times for various http4s backends
https://github.com/majk-p/http4s-client-timing
benchmark http http4s scala
Last synced: 7 months ago
JSON representation
Benchmark utility to measure request times for various http4s backends
- Host: GitHub
- URL: https://github.com/majk-p/http4s-client-timing
- Owner: majk-p
- License: apache-2.0
- Created: 2024-08-23T10:32:38.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-23T10:37:00.000Z (over 1 year ago)
- Last Synced: 2025-03-24T05:44:48.994Z (about 1 year ago)
- Topics: benchmark, http, http4s, scala
- Language: Scala
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Http4s client timing
This repository is a simple benchmark utility for various http4s client backends.
## Usage
Run benchmarks against https://michal.pawlik.dev with client warmup
```
scala-cli run . -- michal.pawlik.dev true
```
Run benchmarks against https://example.net with no prior client warmup
```
scala-cli run . -- example.net false
```
Run benchmarks against https://example.net with no prior client warmup - without cloning the repository
```
scala-cli run https://raw.githubusercontent.com/majk-p/http4s-client-timing/master/HttpTiming.scala -- example.net false
```
## Prerequisites
Install scala-cli https://scala-cli.virtuslab.org/install