SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

HoR Performance Optimizer

PBy Panduhs

Cuts crafting grid recipe checks by 80-90% and makes repeated handbook opening faster via caching.

Description

HoR Performance Optimizer is a unified server performance mod that dramatically reduces crafting grid recipe matching overhead and handbook page loading times on heavily modded servers. It builds shared reverse recipe indexes at startup and uses Harmony prefix patches to skip impossible recipe matches before they reach the expensive vanilla logic, cutting recipe checks by 80-90%. Repeat handbook page opens become instant via component-level caching.

Stats: 80-90% Recipe Match Reduction • Fast Handbook Opens Restored • Stability-First Handbook Fixes • Shared Reverse Recipe Index • Universal

✨ What's New in v1.0.5 <span style="margin-left: auto; font-size: 12px;">▼</span>
  • Vanilla shelf targeting FPS spikes reduced
    A heavy performance hotspot was identified in shelf interaction help generation. In large modpacks, looking at a vanilla shelf could trigger expensive dynamic matching work against very large interaction item lists. This update optimizes that path by removing high-cost dynamic shelf help matching while aiming at shelves and capping the shelf help sample stack list to a small bounded set. Result: much lower crosshair-on-shelf HUD overhead and smoother frame times in shelf view scenarios, including fresh empty shelves. Shelf gameplay behavior is unchanged: placing, taking, and using items on shelves still uses the normal vanilla logic.
✨ What's New in v1.0.4 <span style="margin-left: auto; font-size: 12px;">▼</span>
  • Crafting grid lag with tools and modded items fixed
    Every time a slot changed in the crafting grid, the game iterated every single recipe in the game calling GridRecipe.Matches on each one. Even with fast per-call early exits this added up to hundreds of microseconds of stutter per keystroke, especially noticeable when placing tools or items used in many recipes. The fix adds an inverted ingredient index: rather than scanning all recipes, only recipes that share at least one concrete ingredient with what's actually in the grid are tested. A full wildcard fallback list handles any-item recipes. Typically 10–50 recipe checks instead of thousands. If the optimization cannot be applied due to game version differences, it silently falls back to the previous behavior.
✨ What's New in v1.0.3 <span style="margin-left: auto; font-size: 12px;">▼</span>
  • Handbook search bar black box fixed
    When reopening the handbook or switching handbook tabs/pages, the search bar would briefly show a solid black rectangle until clicking it. This happened because the reopen fast path skipped initOverviewGui entirely, which also skipped the placeholder text refresh and focus restore that vanilla performs each open. The fix mirrors those two steps (placeholder rewrite + focus) inside the skip path so the search field always renders correctly without triggering the expensive full GUI rebuild.
✨ What's New in v1.0.2 <span style="margin-left: auto; font-size: 12px;">▼</span>
Read the full description on Vintage Story ModDB →

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.