vile / bench / wm / RESULTS.md
54 lines · 43 sloc · 3.51 KB · 76646891b77a3d5c6af4a1e42b122cd61dc1654b
Raw

Mock window-manager results

9 measured fresh processes plus one excluded process per workload/configuration. All 600 checks passed across twelve workloads and five configurations; all 48 seed oracles are derived independently from the Python state model.

Prepared time includes fresh WM state and the workload itself. Macro expansion/compilation and fixture loading are inside their respective workloads. Shared helper setup is outside timing. First-call and whole-process medians are separate below. OS filesystem caches are not flushed.

Guile/Vile geometric means, equally weighting all twelve workloads:

Configuration Guile/Vile Faster cases
interpreter-arena 0.138× 1/12
interpreter-gc 0.145× 2/12
native-arena 0.131× 1/12
native-gc 0.140× 2/12

Ratios above 1 favor Vile. These workloads describe a headless WM model, not arbitrary applications. Native fallbacks and losses remain in all summaries.

Workload Interpreter arena ms Interpreter GC ms Native arena ms Native GC ms Guile ms Guile/native GC
wm-callback-chain 8.193 8.120 9.001 8.945 0.642 0.072×
wm-event-dispatch 6.458 6.124 6.854 6.475 0.214 0.033×
wm-focus-cycle 8.085 7.717 8.657 8.124 0.381 0.047×
wm-tiling-layout 4.248 4.096 4.549 4.261 0.108 0.025×
wm-workspace-move 2.588 2.513 2.719 2.589 0.174 0.067×
wm-keybindings 5.864 4.938 6.010 5.032 0.282 0.056×
wm-hooks 4.965 4.896 5.319 5.108 0.356 0.070×
wm-lifecycle 1.893 1.752 1.985 1.836 0.126 0.069×
wm-macro-config 6.010 4.837 6.174 4.884 5.250 1.075×
wm-config-load-tree 5.282 5.398 5.337 5.395 8.996 1.667×
wm-reload-live 10.564 10.676 11.121 10.884 8.143 0.748×
wm-session-replay 9.547 9.677 9.911 10.016 8.142 0.813×

First-call and whole-process medians in milliseconds. Whole process includes the complete four-invocation batch, setup, five warmup invocations and cleanup.

Workload Native GC first Guile first Native GC process Guile process
wm-callback-chain 9.314 0.733 96.495 41.411
wm-event-dispatch 7.608 0.450 78.325 37.836
wm-focus-cycle 10.056 0.508 92.914 39.143
wm-tiling-layout 5.006 0.199 56.416 36.700
wm-workspace-move 3.040 0.282 40.319 37.451
wm-keybindings 6.719 0.386 65.775 38.344
wm-hooks 5.547 0.446 63.818 39.307
wm-lifecycle 2.289 0.243 33.635 37.120
wm-macro-config 5.271 5.019 63.884 84.923
wm-config-load-tree 4.368 10.097 68.150 123.102
wm-reload-live 11.441 10.587 117.857 116.912
wm-session-replay 10.214 10.371 107.472 115.680

Four scaling groups cover callback and focus workloads in both native collector configurations: 100× calls took 99.3–101.2× time. Each group uses three repeats of 4 versus 400 invocations.

Tools: guile (GNU Guile) 3.0.10; Intel(R) Core(TM) i3-8100B CPU @ 3.60GHz. Guile uses -O2 and default JIT. Native cache policy: off. Serial Mac jobs use VJOBS=1, VFLAGS=-no-parallel and MAKEFLAGS=-j1 under the shared lock. Builds, verification, scaling and measurement are separate phases.

Raw rows, median/IQR/range, environment, exact flags and source/tool/binary hashes: vile-resume.zottkesg/wm-results-v1. The original numeric/runtime suite is reported separately; no cases are silently omitted.