Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Performance tests

The Linux comparison measures MultiFunPlayer 1.32.1 under Wine 11 and RustyFunPlayer on native Wayland. You can reproduce the measurements with the benchmark command below.

Run the benchmark

You need Linux on x86-64 and Nix with flakes. A GPU is optional.

git clone https://github.com/FapLandPartyDev/RustyFunPlayer
cd RustyFunPlayer
nix run .#bench-wine -- results

The first run builds RustyFunPlayer from source and downloads MultiFunPlayer 1.32.1, Wine and the other tools. Then the benchmark takes about 25 minutes. Results land in results/results.md and results/results.json, next to screenshots, recordings and raw samples.

Close other programs first. Builds, virtual machines and emulators running at the same time distort the numbers; the benchmark warns when the load average is above 1.5. Use the balanced or performance power profile: in power-saver, RustyFunPlayer limits itself to 30 fps.

Environment variables change the durations: BENCH_SETTLE (default 30 s), BENCH_SAMPLE (60 s), BENCH_FPS_SECONDS (30 s) and BENCH_STARTS (5 launches).

What it measures

Both apps run one after the other on a private, headless sway session. Nothing appears on your screen, and only the measured window draws to its output.

  • MultiFunPlayer is the official self-contained 1.32.1 release, checked against a fixed hash. It runs in a new Wine 11 prefix, through Xwayland.
  • RustyFunPlayer is built from the checked-out source and runs as a native Wayland app.
  • Both apps read the same profile. It is MultiFunPlayer’s own default profile; RustyFunPlayer imports it on its first start.
  • A small stand-in for OpenFunScripter plays a 10-minute video with six axis scripts. Each axis moves between 5 and 95 every 250 ms.
MeasurementHow
StartupFrom launch to the window on screen. Median of 5 launches. MultiFunPlayer’s time includes starting Wine.
CPUShare of one core, the mean over 60 seconds after a 30-second settle. 100 % is one full core.
MemoryProportional set size (PSS): shared libraries count once, split between the processes that use them.
Threads, processesEverything the app needs. For MultiFunPlayer, that includes the Wine processes.
Frame rateFrames that reach the compositor each second while the Axis Values panel animates, the median over 30 seconds.

The three runs are idle (no source), playback (OpenFunScripter connected and playing), and playback with Axis Values open, where the six live value bars move all the time.

Limit background FPS is turned off for RustyFunPlayer in this benchmark. The setting caps a window without keyboard focus at 30 fps to save power, and the headless window never gets focus. MultiFunPlayer has no such limit.

My results

Measured on 2026-12-03 on a laptop in the balanced power profile, with Wine 11.0 and RustyFunPlayer 0.1.0. The raw results are in docs/benchmarks.

MultiFunPlayer 1.32.1 under Wine 11RustyFunPlayer on native Wayland
Startup to window (median)5.61 s0.41 s
CPU, idle31.7 %0.0 %
CPU, 6-axis playback112.9 %3.7 %
CPU, playback with Axis Values open123.1 %26.5 %
Memory, idle (PSS)472 MiB84 MiB
Memory, playback (PSS)494 MiB94 MiB
Threads, idle12836
Processes111
Axis Values frame rate (median)55 fps61 fps

The headless output refreshes at 60 Hz, so about 60 fps is the ceiling. RustyFunPlayer drew Axis Values on every display frame (59–62 frames each second); MultiFunPlayer drew 52–57 fps.

The scripts are in tools/bench/wine-comparison and nix/bench-wine.nix.

Engine benchmarks

Separate microbenchmarks compare the script engine with MultiFunPlayer’s own code on .NET. Reading a funscript is 4× faster and formatting TCode is 6.7× faster. See the engine benchmarks.