perf

command
v0.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Command perf measures a server build the same way each time, so that releases can be compared: start-up, memory and processor use while idle, library scans, and the API's answers. docs/PERFORMANCE.md says how to run it and holds the numbers so far.

go build -tags wmsprofile -o .build/wms-prof.exe ./cmd/wittymediaserver
go run ./scripts/perf -exe .build/wms-prof.exe -ffmpeg <ffmpeg> -ffprobe <ffprobe> \
    -lib movies=D:\WittyDemoMedia\Movies -lib music=D:\WittyDemoMedia\Music -out <folder>

Every run starts on a new, empty data folder. Settings that would reach the internet (update checks, online details) are turned off so that runs compare, and saveMetadata is off so that nothing is written into the media folders.

Jump to

Keyboard shortcuts

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