benchmark

Benchmark HBF endpoints with Apache Bench and store results in SQLite.

1|Updated Aug 12, 2025
One-click install
npx skills add https://github.com/thetanil/hbf --skill benchmark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark
Source: https://github.com/thetanil/hbf/tree/main/.claude/skills/benchmark
Command: npx skills add https://github.com/thetanil/hbf --skill benchmark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ab, sqlite3, bazel.

What problem does it solve?

This Skill provides reproducible performance benchmarking for HBF using Apache Bench (ab). It tests three main categories of operations and maintains historical data for comparison over time.

Core Features & Use Cases

  • Automated Build & Benchmark: Builds the HBF binary in a reproducible manner and runs benchmarks against multiple endpoints.
  • Historical Data Tracking: Stores results in a SQLite DB for trend analysis and comparisons across runs.
  • Usage Scenarios: Benchmark baseline performance after changes, compare two runs, and inspect endpoint trends.

Quick Start

Run the full benchmark suite with default settings to generate a baseline and store results.

Frequently Asked Questions about benchmark

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark HBF endpoint performance with Apache Bench?

Benchmark HBF endpoint performance by running Apache Bench (ab) against your local deployment to measure throughput, latency, and stability across static assets, QuickJS routes, and filesystem operations. This Skill automates the build, starts a test server, executes benchmarks, parses ab output, and stores results in SQLite for historical tracking and comparisons.

Can I track performance trends across multiple benchmark runs?

Yes. This Skill persists all benchmark results in SQLite, enabling you to compare runs over time, identify performance trends, and detect regressions. Historical data supports baseline analysis and cross-run comparisons for informed optimization decisions.

What dependencies do I need to run HBF benchmarks?

You need Apache Bench (ab) for load testing, SQLite3 for storing historical results, and Bazel for reproducible binary builds. This Skill orchestrates all three to ensure repeatable benchmark execution and data persistence.

How do I generate a baseline benchmark and compare against future runs?

Run the full benchmark suite with default settings to establish a baseline stored in SQLite. Subsequent runs are automatically compared against historical data, allowing you to detect performance changes and validate optimizations across endpoints.

Can I benchmark different HBF operation types in a single run?

Yes. This Skill tests three main categories: static assets, QuickJS runtime routes, and versioned filesystem operations. A single benchmark execution covers all categories, generates summarized reports with trend analysis, and stores disaggregated results for detailed inspection.

What's the difference between this and manual Apache Bench testing?

This Skill automates the entire workflow—reproducible binary builds, server startup, multi-endpoint testing, output parsing, and SQLite persistence—eliminating manual steps. Automation ensures consistent methodology, historical tracking, and trend visualization that manual ab runs cannot provide.