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.
Click to show internal directories.
Click to hide internal directories.