# akopytov/sysbench

Scriptable database and system performance benchmark

Repository: https://github.com/akopytov/sysbench
Canonical: https://ross.abutalabs.com/products/sysbench
Language: C
License: GPL-2.0
License Family: copyleft
Topics: benchmark, mysql, postgresql, lua, luajit, console, linux, freebsd, macos, sysbench, micro-benchmarks, oltp
Last push: 2025-03-09T16:27:25+00:00

## Health v2 (maintenance only)
Score: 27/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 10, release rhythm 8, longevity 100
- inputs: {"age_days": 4197, "days_push": 542, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6781, forks 1143 (observed 2026-08-28T04:09:48.559145+00:00)

## What it is
sysbench is a scriptable, multi-threaded benchmark tool built on LuaJIT, most commonly used for OLTP database benchmarks against MySQL and PostgreSQL. It also bundles CPU, memory, file I/O, threads, and mutex micro-benchmarks, and supports custom workloads written in Lua.

## Use cases
- benchmark mysql database performance
- run oltp workload tests against postgresql
- measure cpu and memory performance of a linux server
- test filesystem io throughput
- generate database load with thousands of concurrent threads
- write custom benchmark workloads in lua
- measure latency percentiles under load

## When to choose
- you need scriptable, multi-threaded database or system benchmarks with detailed latency statistics
- you want standard OLTP benchmark scenarios for MySQL or PostgreSQL
- you need low-overhead load generation with hundreds of millions of events per second

## When to avoid
- you need distributed load testing across multiple machines
- you want a GUI-based benchmarking or monitoring tool
- you need application-level or HTTP API load testing rather than database/system benchmarks

## Facets
- artifact type: cli-tool
- maturity: stable
- function: benchmarking, database
- domain: databases, performance, developer-tools
- platform: windows, bsd, cli
- tags: oltp, lua-scripts, luajit, mysql, postgresql, load-testing, micro-benchmarks, command-line, linux, macos

## Member repositories
- akopytov/sysbench (main) score 27

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:48.559145+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:42:22.177187+00:00, confidence not recorded.
  - readme: https://github.com/akopytov/sysbench (fetched 2026-08-28T04:09:48.559145+00:00, sha e8b23c05ce77)
- Data as of 2026-08-30T08:39:29.467469+00:00.
