All Projects → mrLSD → Go Benchmark App

mrLSD / Go Benchmark App

Licence: mit
Application for HTTP benchmarking via different rules and configs

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Go Benchmark App

Freqbench
Comprehensive CPU frequency performance/power benchmark
Stars: ✭ 65 (+209.52%)
Mutual labels:  efficiency, benchmark
Worker Threads Nodejs
Benchmark nodeJS worker threads for calculating prime numbers, using various dataStructures
Stars: ✭ 27 (+28.57%)
Mutual labels:  benchmark
Aoe
AoE (AI on Edge,终端智能,边缘计算) 是一个终端侧AI集成运行时环境 (IRE),帮助开发者提升效率。
Stars: ✭ 759 (+3514.29%)
Mutual labels:  benchmark
Flo Shani Aesni
Performance Evaluation of SHA-256 using SHA New Instructions.
Stars: ✭ 19 (-9.52%)
Mutual labels:  benchmark
Benchmarkdotnet
Powerful .NET library for benchmarking
Stars: ✭ 7,138 (+33890.48%)
Mutual labels:  benchmark
Istio Bench
A benchmark tool for Istio. It measures CPU, Memory, Network usage of istio per number of services
Stars: ✭ 20 (-4.76%)
Mutual labels:  benchmark
Boomer
A better load generator for locust, written in golang.
Stars: ✭ 734 (+3395.24%)
Mutual labels:  benchmark
Bench Scripts
A compilation of Linux server benchmarking scripts.
Stars: ✭ 873 (+4057.14%)
Mutual labels:  benchmark
Gocurrency
Simple currency converter. Insert an amount, what currency to convert from and what currency to convert to.
Stars: ✭ 26 (+23.81%)
Mutual labels:  golang-tools
Federated Benchmark
A Benchmark of Real-world Image Dataset for Federated Learning
Stars: ✭ 18 (-14.29%)
Mutual labels:  benchmark
Mpimemu
MPI Memory Consumption Utilities
Stars: ✭ 17 (-19.05%)
Mutual labels:  benchmark
Dalfox
🌘🦊 DalFox(Finder Of XSS) / Parameter Analysis and XSS Scanning tool based on golang
Stars: ✭ 791 (+3666.67%)
Mutual labels:  golang-tools
Pytest Patterns
A couple of examples showing how pytest and its plugins can be combined to solve real-world needs.
Stars: ✭ 24 (+14.29%)
Mutual labels:  benchmark
Py Motmetrics
📊 Benchmark multiple object trackers (MOT) in Python
Stars: ✭ 768 (+3557.14%)
Mutual labels:  benchmark
Sequelize Benchmark
Benchmarks for sequelize
Stars: ✭ 8 (-61.9%)
Mutual labels:  benchmark
Xcodebenchmark
XcodeBenchmark measures the compilation time of a large codebase on iMac, MacBook, and Mac Pro
Stars: ✭ 736 (+3404.76%)
Mutual labels:  benchmark
Void
terminal-based personal organizer
Stars: ✭ 831 (+3857.14%)
Mutual labels:  efficiency
Slm Lab
Modular Deep Reinforcement Learning framework in PyTorch. Companion library of the book "Foundations of Deep Reinforcement Learning".
Stars: ✭ 904 (+4204.76%)
Mutual labels:  benchmark
Sysbench Docker Hpe
Sysbench Dockerfiles and Scripts for VM and Container benchmarking MySQL
Stars: ✭ 14 (-33.33%)
Mutual labels:  benchmark
Ostrio Analytics
📊 Visitor's analytics tracking code for ostr.io service
Stars: ✭ 9 (-57.14%)
Mutual labels:  efficiency

Go Benchmark App

Build Status License codecov Coverage Status Go Report Card GoDoc

The efficiency and speed of application - our goal and the basic idea.

Go Benchmark App

Application for HTTP-benchmarking via different rules and configurations.

Configurations provided via TOML-config.

Our main aims - compare different web-applications that we want to compare with same benchmarks tools, same parameters, repeated and distributed in time. Get average results and compare it with other applications.

This will allow us to analyze and compare the performance bottlenecks, and to take appropriate measures. The efficiency and speed of application - our goal and the basic idea.

Benchmarks tools

ab, wrk, siege

It should be installed.

How to configure

All config at config/main.toml

# Title for describing benchmarks
title = "CMS benchmarks"
# Benchmarks version
version = "0.1"
# Delay via try in seconds
delay = 20
# How much we should try
try = 10

# ab benchmarks parametres
[ab]
concurency = 5000
keepalive = false
requests = 10000

# wrk benchmarks parametres
[wrk]
connections = 5000
duration = 10
threads = 1000

# siege benchmarks parametres
[siege]
concurrent = 100
time = 30

# Applications parametres - list
[[app]]
title = "Application Banchamrs Title"
path = "fool/path/to/app"
url = "http://localhost:5000/test"

How to use

  • Installed Go 1.6+

  • Check is benchmarks tools installed:

    $ whereis ab

    $ whereis wrk

    $ whereis siege

  • Configure config/main.toml in current dirrectory as mentioned before.

  • Install application: $ go install github.com/mrlsd/go-benchmark-app

  • Command-line help: $ go-benchmark-app -h

Go Benchmark Applications v1.0.0
Options:
  -c FILE
    	load configuration from FILE (default "config/main.toml")
  -v	verbose output
  • To change config file - run: $ go-benchmark-app -c path/to/cfg.toml
  • Verbose output: $ go-benchmark-app -v

Tips & Tricks

  • When your benchmarks test failed with socket error (more resources unawailable), try increase delay options at config file (for example 60 sec) or/and change system limits to opened files, TCP/IP configuration and other system limitations.
  • For flexibility running test applications you can create recipe for that. For example set at config file:
[[app]]
title = "My App"
path = "apps/myapp.sh"
url = "http://localhost:5000/test"

and apps/myapp.sh file:

#!/bin/sh
prepare -to -run
/full/path/to/app -v param -d param -etc

in that way you can run docker, nginx or another useful commands.

For one application we use one URL, because it's simplify results analyze, interpretation, comparison.

License: MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].