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

NxLabs / Vintage Story

Komet - Performance Mod

XBy xToast

Komet is a performance mod, which optimizes Vintage Story!

Komet - Performance Mod

Description

<p style="max-width: 820px; font-size: 108%; text-align: justify;"><strong>Komet</strong> is a universal performance mod. It rewrites the hot paths of the render loop &mdash; the visibility sweep, occlusion culling, draw-range batching &mdash; and smooths the rest: chunk loading, stutter from GC pressure and driver syncs, shadow artefacts, VRAM held by empty pools. Without changing what ends up on screen: on every build the culling core is verified <strong>byte-identical against vanilla</strong> before anything is timed.</p> <p style="max-width: 820px; color: #6f6f6f; text-align: justify;">Every number on this page was <strong>measured, not estimated</strong> &mdash; in the mod's benchmark on real game data structures, or in-game with the built-in stress test and <code>.komet report</code>. Where a vanilla figure does not exist, this page says so instead of inventing one. Gains grow with view distance, which is why the measurements were taken at view distance&nbsp;1536.</p> <div style="max-width: 820px; margin: 18px 0px 6px; text-align: justify;"> <div style="display: inline-block; border: 1px solid #ddd2bc; border-radius: 6px; background: #ffffff; padding: 12px 16px; margin: 0 6px 8px 0; min-width: 148px; vertical-align: top;"> <div style="font-size: 190%; font-weight: 600; color: #2e6bb2; line-height: 1.1;">2.8&times;</div> <div style="font-size: 88%; color: #333; margin-top: 2px;">frame rate, same scene</div> <div style="font-size: 82%; color: #6f6f6f;">16.8 &rarr; 6.1 ms/frame</div> </div> <div style="display: inline-block; border: 1px solid #ddd2bc; border-radius: 6px; background: #ffffff; padding: 12px 16px; margin: 0 6px 8px 0; min-width: 148px; vertical-align: top;"> <div style="font-size: 190%; font-weight: 600; color: #2e6bb2; line-height: 1.1;">5.9&times;</div> <div style="font-size: 88%; color: #333; margin-top: 2px;">visibility sweep</div> <div style="font-size: 82%; color: #6f6f6f;">177,000 mesh parts</div> </div> <div style="display: inline-block; border: 1px solid #ddd2bc; border-radius: 6px; background: #ffffff; padding: 12px 16px; margin: 0 6px 8px 0; min-width: 148px; vertical-align: top;"> <div style="font-size: 190%; font-weight: 600; color: #2e6bb2; line-height: 1.1;">2.1&times;</div> <div style="font-size: 88%; color: #333; margin-top: 2px;">fps at the horizon <span style="color: #6f6f6f;">(new in 1.2.0)</span></div> <div style="font-size: 82%; color: #6f6f6f;">53 &rarr; 113 fps, far LOD</div> </div> <div style="display: inline-block; border: 1px solid #ddd2bc; border-radius: 6px; background: #ffffff; padding: 12px 16px; margin: 0 6px 8px 0; min-width: 148px; vertical-align: top;"> <div style="font-size: 190%; font-weight: 600; color: #468847; line-height: 1.1;">3,120/3,120</div> <div style="font-size: 88%; color: #333; margin-top: 2px;">identical to vanilla</div> <div style="font-size: 82%; color: #6f6f6f;">checked on every build</div> </div> </div> <p style="font-size: 85%; color: #6f6f6f; max-width: 820px; margin-top: 0px; text-align: justify;">Frame rate: in-game stress test, one feature switched back to the vanilla code path in the same loaded scene, interleaved baselines so scene drift cancels out. The rest: see the tables below.</p> <h3 style="text-align: justify;">Vanilla &rarr; 1.0.0 &rarr; 1.2.0</h3> <p style="margin: 4px 0px 10px; max-width: 820px; text-align: justify;">The mod's own benchmark runs the real culling code on real game data structures and proves the output byte-identical to vanilla before it times anything. It re-measures vanilla in every run, so both baselines are shown &mdash; each Komet figure is compared against the vanilla of its own run.</p> <div style="overflow-x: auto; text-align: justify;"> <table style="border-collapse: collapse; min-width: 620px; max-width: 820px; width: 100%;"> <tbody> <tr style="color: #6f6f6f; font-size: 82%; text-transform: uppercase; letter-spacing: 0.04em;"> <td style="border-bottom: 1px solid #ddd2bc; padding: 6px 8px 6px 0;">Benchmark, view distance 1536</td> <td style="border-bottom: 1px solid #ddd2bc; padding: 6px 8px; text-align: right;">Vanilla</td> <td style="border-bottom: 1px solid #ddd2bc; padding: 6px 8px; text-align: right;">Komet 1.0.0</td> <td style="border-bottom: 1px solid #ddd2bc; padding: 6px 0 6px 8px; text-align: right;">Komet 1.2.0</td> </tr> <tr> <td style="padding: 10px 8px 10px 0; color: #333; border-bottom: 1px solid #f0e9d9;">Visibility sweep, per frame<br /><span style="color: #6f6f6f; font-size: 85%;">in-game pool shape, 177,000 mesh parts</span></td> <td style="padding: 10px 8px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: #6f6f6f; border-bottom: 1px solid #f0e9d9;">9.61&nbsp;ms<br /><span style="font-size: 85%;">8.76&nbsp;ms</span></td> <td style="padding: 10px 8px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: #333; border-bottom: 1px solid #f0e9d9;"><strong>1.96&nbsp;ms</strong><br /><span style="color: #468847; font-size: 85%;">4.9&times;</span></td> <td style="padding: 10px 0 10px 8px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: #333; border-bottom: 1px solid #f0e9d9;"><strong>1.49&nbsp;ms</strong><br /><span style="color: #468847; font-size: 85%;">5.9&times;</span></td> </tr> <tr> <td style="padding: 10px 8px 10px 0; color: #333; border-bottom: 1px solid #f0e9d9;">Occlusion pass, per frame<br /><span style="color: #6f6f6f; font-size: 85%;">74,034 rays; Komet also moves it off the main thread</span></td> <td style="padding: 10px 8px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: #6f6f6f; border-bottom: 1px solid #f0e9d9;">85.0&nbsp;ms<br /><span style="font-size: 85%;">73.6&nbsp;ms</span></td> <td style="padding: 10px 8px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: #333; border-bottom: 1px solid #f0e9d9;"><strong>4.3&nbsp;ms</strong><br /><span style="color: #468847; font-size: 85%;">1

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.