https://github.com/oatpp/benchmark
oatpp performance benchmark vs other frameworks
https://github.com/oatpp/benchmark
benchmark cplusplus cpp golang oatpp performance
Last synced: 9 months ago
JSON representation
oatpp performance benchmark vs other frameworks
- Host: GitHub
- URL: https://github.com/oatpp/benchmark
- Owner: oatpp
- License: apache-2.0
- Created: 2018-09-07T19:59:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T22:51:00.000Z (almost 6 years ago)
- Last Synced: 2025-06-13T02:29:52.982Z (10 months ago)
- Topics: benchmark, cplusplus, cpp, golang, oatpp, performance
- Language: C++
- Size: 4.17 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Oat++ benchmark [Abandoned. Outdated]
---
This repository was not updated since the first releases of Oat++.
If you feel like you need it, you can update it. We will be happy to receive a PR.
---
This repository contains code to reproduce performance benchmarks oatpp vs other frameworks
More about oatpp see [https://oatpp.io/](https://oatpp.io/)
Latest benchmark results [https://oatpp.io/benchmark/aws](https://oatpp.io/benchmark/aws)
## What's in the repo
```c
- oatpp
|- http // Multithreaded minimal oatpp HTTP-server with hello world endpoint
|- http-async // Asynchronous minimal oatpp HTTP-server with hello world endpoint
|- https // Multithreaded minimal oatpp HTTPS-server with hello world endpoint
|- https-async // Asynchronous minimal oatpp HTTPS-server with hello world endpoint
|- lib // oatpp git-submodules
- go
|- http.go // minimal go HTTP-server with hello world endpoint
|- https.go // minimal go HTTPS-server with hello world endpoint
- cert // folder with test certificates for HTTPS
```
## How to start
Before you start make sure to have ```build-essentials``` and ```golang``` installed.
In order to build and run oatpp HTTPS servers you have to also install ```libressl```.
- clone repo with submodules: ```git clone --recurse-submodules https://github.com/oatpp/benchmark```
- build oatpp services, ex: ```$ cd /oatpp/http``` then ```$ ./build_app.sh```
- build go services, ex: ```$ cd /go``` then ```$ go build http.go```
Now you can run services and start loading them.
**Recommended tools for load-testing:**
- HTTP - wrk, apache benchmark(ab)
- HTTPS - apache benchmark(ab)