Commands for exploring causes of lag. https://torchapi.com/wiki/index.php/Plugins/Profiler
torchapi / profiler Goto Github PK
View Code? Open in Web Editor NEWTorch plugin for profiling entities in the game world
Torch plugin for profiling entities in the game world
Commands for exploring causes of lag. https://torchapi.com/wiki/index.php/Plugins/Profiler
Torch Version: 1.3.1.72 SE Version: 1.192.020 Profiler Version: v2.0.2.4-7-g28de2ed
Programmable Blocks run their scripts normally as always before.
If profiler is installed Scripts wont get executed. You can compile them and get "Compuilation successful" but when tryping to run it you always get "Assembly not Found"
I dont have many Logfiles, but there were some additional information on discord. Regarding Profiler Breaking the ModAPI
11:57:36.5506 [ERROR] Keen: Error during ModAPI initialization: Empty path name is not legal.
kamikaze0310heute um 19:05 Uhr
ok, well if found an issue with the profiler plugin, did lots of testing to make sure but its giving me errors in the log saying failing to compile mods. Mods still seem to load but it i've noticed that they fail to be able to read/write from xml config (if they have one). Once the plugin is removed, no more errors and all is well.
log incoming
https://discordapp.com/channels/230191591640268800/360599679714590743/614505468651634742
https://cdn.discordapp.com/attachments/360599679714590743/614505866653073480/log.txt
Hello,
Today twice time server crashed after using profiler command.
Server standing on GTXGaming with Troch and 3 plugins (Essential, Concealment, Profiler).
On log i see problem with Concealment but crashed be after use specific command:
!profile scripts --ticks=600
Before I used blocktype and player and everything was right. This is my concealment settings:
<?xml version="1.0" encoding="utf-8"?> <Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DynamicConcealScanInterval>2</DynamicConcealScanInterval> <DynamicConcealQueryInterval>15</DynamicConcealQueryInterval> <Enabled>true</Enabled> <ConcealInterval>3600</ConcealInterval> <RevealInterval>60</RevealInterval> <ConcealDistance>10000</ConcealDistance> <RevealDistance>5000</RevealDistance> <ConcealProduction>false</ConcealProduction> <ConcealPirates>false</ConcealPirates> </Settings>
And log:
First time:
https://pastebin.com/JBpCZXtZ
Second time:
https://pastebin.com/rqEz5gnv
It's completely shot.
One can only beg for its revival or it's back to guessing load again I guess?
However - R.I.P.
log shows:
[ERROR]Profiler.Core.ProfilerPatch: Unable to find any calls to Void Iterate(System.Action1[TElement]) in Sandbox.Game.Entities.MyEntities#Void UpdateBeforeSimulation() [ERROR] Profiler.Core.ProfilerPatch: Unable to find any calls to Void Iterate(System.Action
1[TElement]) in Sandbox.Game.Entities.MyEntities#Void UpdateAfterSimulation()
I am using the newest vision,Is there any way to solve this?thx
Also investigate load balancing for rotation
Server is crashing on start with Profiler in place. Default config as well as old config.
Hello there,
It would be absolutely amazing if we would get a way to profile plugins as well.
I mean I dont need to know what exactly its doing but I spent quite some time to figure out that the BlockLimiter seems to be a bit more expensive on huge worlds than anticipated eating up all our simspeed.
Visual Studio cleared that up for me, but since not everyone has the ability to do so it would be super amazing if a !profile plugins would exist.
It would be awesome to see how much our character (including everything: stations, ships, PBs, anything dynamic like pistons and rotors) contributes to overall load.
So we might adjust as a player what we prefer running and keep an eye on sim speed ourselves.
I think most of the time the people themselves are entirely oblivious towards that because we simply can‘t see how much our stuff lags a server.
Something like profiler plugin but that only gives you info about your character and grids.
What do you think about that?
Hello! I've had some issues recently. When running !profile scripts, the server has now crashed twice. I am no expert in C# but it seems to me like it's having trouble returning a specific script.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.