From 5defc18d3e2caf82f50227d217e01da47632a08d Mon Sep 17 00:00:00 2001 From: Rac Date: Mon, 22 Dec 2025 01:32:12 +0900 Subject: [PATCH] Add benchmark section in README.md --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/README.md b/README.md index 082bd2e..bbe42a6 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,54 @@ This library is header-only, so you only need to specify the include path. g++ -I ./libcpprime -O3 Main.cpp ``` +# Benchmarks + +Benchmarks are executed on GitHub Actions. + +- Workflow: https://github.com/Rac75116/libcpprime/actions/workflows/bench.yml +- Latest results (GitHub Pages): https://rac75116.github.io/libcpprime/benchmarks/latest/ + +## Linux (gcc) + +- summary.md: https://rac75116.github.io/libcpprime/benchmarks/latest/benchmark-Linux-gcc/bench_summary.md + +

+ Linux gcc summary + Linux gcc IsPrime + Linux gcc IsPrimeNoTable +

+ +## Linux (clang) + +- summary.md: https://rac75116.github.io/libcpprime/benchmarks/latest/benchmark-Linux-clang/bench_summary.md + +

+ Linux clang summary + Linux clang IsPrime + Linux clang IsPrimeNoTable +

+ +## Windows (msvc) + +- summary.md: https://rac75116.github.io/libcpprime/benchmarks/latest/benchmark-Windows-msvc/bench_summary.md + +

+ Windows msvc summary + Windows msvc IsPrime + Windows msvc IsPrimeNoTable +

+ +## Windows (clang-cl) + +- summary.md: https://rac75116.github.io/libcpprime/benchmarks/latest/benchmark-Windows-clang-cl/bench_summary.md + +

+ Windows clang-cl summary + Windows clang-cl IsPrime + Windows clang-cl IsPrimeNoTable +

+ + # Releases - 2025/12/21 ver 1.3.0