Performance Profiler 预览图

以撒的结合:重生 (The Binding of Isaac: Rebirth)

Performance Profiler

Lua

最后更新 2026/10/12文件 52.6 KBID 3817953774

模组简介

Based off Nato Potato's work on Mod Profiler (and the original prototype by Oatmealine ), I made this because I needed to measure the performance impact of my own mods with more granularity, but it ended up being so useful I decided to make it public This version addresses some issues with the original profiler, improves performance, and adds more detailed reports to help pinpoint exactly which mods and functions are causing lag, down to the file and line number How to use Press I in-game to toggle the overlay and Tab to cycle through the top mods • Session: Ranks mods by average time per frame and shows the selected mod's top 10 callbacks, their source locations, and average runs per frame • Spike: Tracks performance over 10-second windows and reports the worst frame, along with the top 5 callbacks responsible for the spike • Profiler Cost: Shows the profiler's own cost • Top Callbacks: Shows the highest recorded callback times for the current session • luamod support: Reloading any mod (including the profiler itself) through the debug console automatically resets the session and profiles the updated code! Metrics use a white-to-orange-to-red gradient to indicate severity Repentogon heavily recommended With Repentogon, the profiler can measure performance times with sub-millisecond precision, making it much easier to identify small callbacks that add up to significant performance costs Without it, timing falls back to the vanilla API and records milliseconds only, which will make it harder to identify small but cumulative performance costs Settings and Console Commands You can adjust settings through Mod Config Menu or the debug console • profilermods X : Number of mods shown in the session list (3 to 10, default 5) • spikethreshold X : Minimum frame time that highlights a spike (default 12) • profilerfontscale X : Text size scale (default 0.5) • profilerhud on/off : Toggle hiding the game HUD while the profiler is open Notes • The profiler wraps callbacks to measure how long they take, so it may appear in error stack traces while the overlay is on, even when another mod is responsible for the error • If the overlay is off, the mod doesn't cost any performance, since the profiler fully unwraps all callbacks and becomes dormant • The mod is designed to be easy to use for both players and modders Keep in mind the showcases use an unreleased version of Smart Culling which I'm actively working on

详情图片

条目信息

所属游戏
以撒的结合:重生 (The Binding of Isaac: Rebirth)
创意工坊 ID
3817953774
文件名
3817953774.bin
文件大小
52.6 KB
最后更新
2026/10/12
内容版本
v1791736347-e29b46bba0ec321f
作者与来源
由原作者发布于 Steam 创意工坊。本站不改变署名,作者信息与原始内容请以 Steam 原始页面 为准。