promotional bannermobile promotional banner

Ars Nouveau Performance Optimization

A performancemod for Ars Nouveau

This mod reduces the runtime cost of Ars Nouveau's highest-overhead systems. The specific optimizations and correctness fixes are listed below. Installation on both the server and the client is required.

Item Upstream behavior Modification Effect Category
Glow / Line / Sparkle / Helix particles Particles instantiated and rendered unconditionally Aborts instantiation beyond a 32-block client radius, under stochastic density culling (0.75), or when the particle kind is disabled Reduces client-side particle allocation and render cost Optimization
Ritual area particles Client-side emission every tick Culls beyond a 32-block client radius or under stochastic density scaling (0.6) Reduces client-side particle CPU and render load Optimization
Relay beam particle effect Client-side beam emission on each relay connection Culls beyond a 32-block client radius Reduces client-side particle load Optimization
GeckoLib block entity rendering Rendering at all distances View-distance culling beyond 64 blocks Reduces client-side block entity render workload Optimization
Starbuncle pickup scan AABB entity query every tick Tick-throttled to one query every 4 ticks by default Reduces server-side entity lookup pressure Optimization
Starby item frame scan AABB query on every canDepositItem invocation 40-tick result cache with removal-state filtering Reduces server-side AABB query frequency Optimization
SourceManager source set Source set copied on each lookup Uses the live backing set directly Eliminates per-lookup set allocation and GC pressure Optimization
SourceUtil source search Full source-provider search path Direct SourceJarTile scan plus registry merge Shortens the server-side source resolution path Optimization
Bookwyrm entity lookup Entity query on every invocation Client-side 10-tick result cache Reduces client-side entity query frequency Optimization
Dynamic light lookup Linear scan of all light sources under a read-write lock Chunk-section spatial bucketing; only the 3×3×3 section neighborhood is traversed Reduces client-side light lookup cost Optimization
Bookwyrm transfer tasks Tasks polled without age-based eviction Purges tasks older than 200 ticks during polling Prevents transfer-task queue accumulation and starvation Correctness fix
Dynamic light cross-dimension Light lookup did not filter by dimension Filters light sources by current Level identity Fixes cross-dimensional dynamic light leakage Correctness fix
Starby frame cache Cached results did not account for entity removal Filters entity removal state on cache reads Prevents stale entity references and ghost interactions Correctness fix

Ars Nouveau Performance Optimization Team

profile avatar
  • 3
    Followers
  • 13
    Projects
  • 14.7K
    Downloads

Come on, friends — don't hold back your inspiration. Let's build this community together. Not stingy with a single spark — we'll gather them into a blazing sun! How to support me: https://ifdian.net/a/anderlyer

More from anderlyerView all