bench

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 3 Imported by: 0

README

Benchmark

This is a command-line app that executes the apps's directory processing operation for benchmarking. It takes a directory path as a positional argument and exists when said directory has been ingested. The database is purged on each run.

Usage

To get started, first build the workload program.

go build -o bench.exe ./utils/bench

Then, run the program with a benchmarking tool like hyperfine, providing a directory path as the only argument. Since processing involves a lot of I/O, make sure to request a warmup run as well.

hyperfine -w 1 'bench.exe [DIRECTORY]'

The contents of the following repos, ordered from largest to smallest, are good candidates for benchmarking:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL