FKRPG/tools/worldgen-test.fish
mithral 1b3cf45bf6
All checks were successful
Build & Release Pack / build (push) Successful in 1m24s
perf(server): optimization stack 1.0.1 — Lithium 0.15.4, FerriteCore 7.0.3, C2ME 0.4.0-alpha.0.27, ChunkSmith 3.14.0 + Spark, tuned configs
- server_pack: bump 1.0 → 1.0.1 (patch, optimization-only)
- Lithium 0.15.0→0.15.4 (gvQqBUqZ/N08Z8wog)
- FerriteCore 7.0.2-hotfix→7.0.3 (uXXizFIs/sOzRw3CG)
- C2ME 0.3.0+alpha.0.364→0.4.0-alpha.0.27 (VSNURh3q/gRm1ZAvc) fixes drift, async gen for Tectonic 1.28
- ChunkSmith 3.13.0→3.14.0 (4BeAEBIb/iBSiBgt7)
- Add Spark 1.10.109 (l6YH9Als/cALUj9l1) server-only for profiling
- Tune chunksmith/config.json: targetMspt 45, tickBudget 10, heap 75, dispatch 100, settle 20
- Tune c2me-notes.txt + modernfix-mixins.properties with documented safe defaults
- Add optimization-manifest.json + mod-version-policy.json (FROZEN 31/OPT 11) + audit/drift/benchmark tools + baseline + report
- Packwiz is source of truth; client_pack unchanged (server-only Spark)
- Validate: packwiz refresh OK 144 mods, index adccf3bb..., manifest in-sync
- Drift: LOCAL test still 142 vs 144 (needs reinstall from Packwiz export); PACKWIZ internal OK
2026-08-27 00:59:15 -04:00

23 lines
1.3 KiB
Fish
Executable file

#!/usr/bin/env fish
# FKRPG worldgen test — repeatable, never touches production world
# Usage: fish tools/worldgen-test.fish
set -l repo (dirname (dirname (realpath (status filename))))
echo "=== FKRPG WORLDGEN TEST (repeatable, dry-run documented) ==="
echo "This is a procedure stub — actual pregeneration requires a running test server."
echo
echo "Steps (on LOCAL TEST only, same seed/border/mods/configs):"
echo " 1. Backup: cp -a ~/.auto-mcs/Servers/FKRPG/world /tmp/world-backup-(date +%F)"
echo " 2. Fresh world: rm -rf ~/.auto-mcs/Servers/FKRPG/world; mkdir -p ~/.auto-mcs/Servers/FKRPG/world"
echo " 3. Set seed: echo 'level-seed=FKRPG-bench-1' >> ~/.auto-mcs/Servers/FKRPG/server.properties"
echo " 4. Start: ./Start.sh (or docker compose up) — wait for 'Done!'"
echo " 5. Pregen: /chunksmith pregen 128 OR /forceload add -5000 -5000 5000 5000"
echo " 6. Measure: time, CPU, RAM, MSPT (spark), disk IO (iostat), chunks/sec (ChunkSmith log)"
echo " 7. Record to benchmarks/worldgen-(date).json and compare to baseline.json"
echo
echo "Metrics to capture:"
echo " - chunks_generated, time_required, cpu_percent, ram_gb, mspt, disk_io_mb_s"
echo " - Compare: baseline vs optimized — only claim win if chunks/sec up and MSPT stable"
echo
echo "Safety: never run on production world or with production seed; use isolated test world."