LS 25 Perf Profiler V1.0.0.0

LS 25 Other



LS 25 Perf Profiler V1.0.0.0

This is early development mod, not a standalone software
Low or unstable FPS with a big mod list? Before you start deleting mods at random, measure.

Perf Profiler times the game’s main Lua thread from the inside and writes a clear ranking to log.txt every 20 seconds:
– Which MOD costs the most milliseconds per frame
– Which FUNCTION inside it (hooks, listeners, vehicle/placeable specializations, game systems)
– How much of the frame is Lua at all and how much is the engine (render, physics, loading)
– Every SPIKE (frame over 40 ms) with its top contributors, marked as LUA or ENGINE

Real example from a 2,489-mod savegame: scripts were only ~4 ms of a ~19 ms frame. The expensive part was somewhere else, and the profiler showed that in 20 minutes instead of a week of trial and error.

WHAT IT MEASURES
– hook: functions attached by mods (Utils.appendedFunction / prependedFunction / overwrittenFunction)
– ovr: functions overwritten by specializations, by name
– mod: update()/draw() of mod event listeners
– spec: onUpdate / onUpdateTick / onPostUpdate / onDraw of vehicle, placeable and hand-tool specializations
– veh: / plc: total update of each vehicle and placeable
– sys: game systems (environment, AI, traffic, water, economy…)
– frame: total Lua per frame – the scripts vs engine split
Every entry shows “self” time (no double counting) and “incl” time (with everything nested).

HOW TO USE
1. Put AAA_PerfProfiler.zip into your mods folder and activate it in the savegame.
Keep the name – “AAA_” makes it load first, which it needs to catch other mods’ hooks.
2. Play normally. The first 20 seconds after loading are skipped.
3. Read the [PerfProfiler] lines in log.txt (Documents/My Games/FarmingSimulator2025/log.txt).

CONSOLE COMMANDS (~)
ppReport – write a report now
ppReset – reset statistics (measure night, rain, fieldwork separately)
ppStart / ppStop – resume / pause measuring
ppSpike <ms> – spike threshold (default 40)
ppTop <n> – ranking length (default 35)
ppInterval <s> – report interval (default 20)

GOOD TO KNOW
– This is a testing tool. Measuring costs about 0.5 ms per frame, so remove it when you are done.
– It changes nothing in your savegame or gameplay. It only times functions and logs the results.
– Measures main-thread Lua. The engine side (render, physics) shows up as “engine” time and ENGINE spikes.
– Multiplayer: supported. Like any mod, every player needs the same file if the host has it active.
– Full documentation (README.md) with an explanation of every log line is inside the zip.

VERSION
1.2.2.0

Credits:
Siemanek
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)


Why to use Farming Simulator 19 mods | Farming Simulator 22 mods?
Even though Farming Simulator 2019 / Farming Simulator 2022 is a great game, you can make it even more astonishing by installing Farming Simulator 19 mods / Farming Simulator 22 mods. There are plenty of mods for every part of the game so you can change or integrate whatever you like. All the FS 19 mods / FS 22 mods are absolutely costless, so you won’t spend anything trying to change the game according to your own wishes. Our main goal is to keep Farming Simulator 19 / Farming Simulator 22 community happy where everyone has a possibility to implement their ideas and enjoy playing a perfect game. If something looks disturbing, bothers you or maybe you just need to integrate more tools and supplements, simply use FS 2019 mods / FS 2022 mods. Not many games provide an opportunity to change it by individual needs, but Farming Simulator is different. You can do whatever you want just by installing LS 19 mods/ LS22 mods so it’s time for you to take action and fulfill even craziest ideas!



You may also like...

Leave a Reply