NoLaggExamine
Introduction
The examine component is able to monitor the entire server for a set period of time. It monitors the process times of all events and tasks. After the results have been gathered, the data is stored into '.exam' files. You can open these files using the same program as the plugin, NoLagg.jar.
How to use
Use /lag examine [duration] to make the plugin examine the server for the set duration. When /lag examine is used, it will examine the server for 500 ticks. After the exam files has been generated, open it up using the plugin. Simply double-click the plugin and then drag-drop the exam file onto the file path box. Then the file is loaded and the results are displayed.
Viewer
Everything is nicely rendered onto the screen. By hovering your mouse cursor over lines in the graph, you can highlight the plugin, event or task associated with it. By left-clicking on the line, or on the selection box, you can look deeper into the results. For example, if you are currently viewing a plugin and you click on an event, it will switch the graph to show only the results from that event. By left-clicking on the background (black) you can go back, so from the event to the plugin.
Output
The output graph looks somewhat like this:
Should I use it?
If you notice the tick rate dwindling, or simply want to find out exactly how well your plugins are behaving, you can temporarily add this component to find it all out. When not examining it is doing nothing, so it will not harm performance if you leave it behind anyway.
How do i open this .exam file
@TheMimey
2x click NoLagg.jar (execute it) and open it with that GUI viewer.
I can't open the NoLagg.jar. Every single time that I try to, it flashes the screen once with an obvious error stack trace and closes before I can even read it. Using java 7 update 9...
Is this kind of usage normal: http://i.imgur.com/qzBZp.jpg? There are two plugins which are anomalous. However, the server itself doesn't seem to suffer noticeably. The yellow tick is LWC "magnet" which no one uses so I've disabled it in any case. The other is a whitelist plugin that checks for new registrations. I've been told that nolagg has timings of events in threads so if a plugin is running in a thread it won't affect the performance as it 'sleeps' while waiting for the reply, but nolagg will say it takes ages to complete... makes sense to me and the data on the above image seems to agree. I'm keen to tweak things as far as possible, so any insight gratefully received.
I can't even use this. /lag define only says Unknown sub-command! every time I use it.
essntials /lag just wents up when i try. help?
Is there a reason why not every plugin cannot be monitored by /lag examine? I have a suspicion that PermissionsEX causes our server load to go to full 100% every few minutes, up to 30 seconds. This has happened already since 1.4.5. It is not related to user join/disconnect, since the same happens when I am the only on on the server, standing still.
But /lag examine -> the file DOES NOT include information from PermissionsEX at all! All the other plugins info is there...
@Crysillion
It's /lag examine
@Etsija
Are both plugins up to date?
what is the best Average duration per tick? I have 500 ticks Average duration: 0795 ms / tick. What would Average duration of 20tps me?
Wow I didn't realize anything like this existed. I can use this to ensure the efficiency of my plugins. Great job bergerkiller!
the .jar file won't load. Says "can not find or load main class"
Thought maybe that's because it's in use by the server so I downloaded another seperate copy and it says the same thing :/
Any ideas?
Where is the download? :D
I cant open the exam files.
I use windows 8.
@killertudse Open the NoLagg.jar you downloaded with Java. click the Open button in the top left and find your .class file.
@killertudse
Y U USE WINDOWS 8??!?!?!?
@killertudse
Opens fine in Windows 8
i type lag examine and it return /lag [all]
what is this{?
@deniseee22
type /lag examine duration
duration being the number of ticks you want the server examined for. Then double click on the nolagg jar and drag the exam file into the window to view it.