TimingsParser
TimingsParser
TimingsParser provides various tools to better understand your merged timings files and profile your plugins. For example, generate a pie chart displaying your most inefficient plugins.
How to Use
1. Enable plugin-profiling in bukkit.yml and restart your server.
2. Type this command: /timings merged
3. Look at the name of the file it tells you, then type this command: /timingsparser <file name>
For example, if it tells you timings/timings.txt, you would type /timingsparser timings.
Commands
- /timingsparser <timings file name>: Generate a link to a pie chart displaying the time taken by all your plugins.
Permissions
- timingsparser.use: Permission to use all commands.
We are waiting and begging for an update! It never makes a pie chart. Just internal error!
Still no update?
@ZwPBerserk
It'll be updated soon.
I guess no fix?
@chaseoes
Ok. I have 2. On a server with alot of plugins and 1 with almost none.
Alot plugins: http://pastebin.com/rWYADiGN
Almost None: http://pastebin.com/HCcmMYdi
I hope it helps. I really need to find out what is causing my lag :P
Thanks for responding so fast. (to bad i went asleep right after i posted this xD)
@ZwPBerserk
Can you upload your timings.txt file to Pastebin?
Hey,
The plugin gives an error in 1.7.9:
<<code [04:28:46] [Server thread/INFO]: Timings written to timings\timings.txt[m [04:28:46] [Server thread/INFO]: Paste contents of file into form at http://www.spigotmc.org/go/timings to read results.[m [04:28:53] [Server thread/WARN]: Unexpected exception while parsing console command "timingsparser timings" org.bukkit.command.CommandException: Unhandled exception executing command 'timingsparser' in plugin TimingsParser v0.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [Spigot179.jar:git-Spigot-1543] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [Spigot179.jar:git-Spigot-1543] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:767) [Spigot179.jar:git-Spigot-1543] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchServerCommand(CraftServer.java:753) [Spigot179.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.DedicatedServer.aB(DedicatedServer.java:321) [Spigot179.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:285) [Spigot179.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:584) [Spigot179.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:490) [Spigot179.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [Spigot179.jar:git-Spigot-1543] Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) [?:1.7.0_25] at me.chaseoes.timingsparser.TimingsFile.parse(TimingsFile.java:54) [?:?] at me.chaseoes.timingsparser.TimingsParser.onCommand(TimingsParser.java:35) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [Spigot179.jar:git-Spigot-1543] ... 8 more [04:28:59] [Craft Scheduler Thread - 8/INFO]: [Metrics] Connection timed out: connect>>
<</code>>
Top plugin!
I figured out which plugin to deal with first.... nocheatplus... or its conflicting with another plugin! Thanks for the plugin! Ant
lwc 97% xD
@chaseoes
This is the BEST! I finally was able to pinpoint the biggest source of lag on a server I am managing. Without this, players would still be crashing. THANKS SO MUCH!
@deasertm
Thanks!
Damn this is actually a pretty useful plugin. You do plugin miracles. Yet again, another one of your epic plugins, good job!
The graph is CPU usage and not RAM usage correct?
Just cause lack of posts and updates for a bunch of months, thanks for the reply
@Trishh_
I have no clue why you would think it wouldn't.
Still work?
Rather than give a proportion of data alone, could you also quantify exactly how much resources each plugin consumes over a given amount of time (like NoLagg)? Showing proportions alone could lead to wild misinterpretations.
I'd also prefer 2D pie charts. 3D pie charts tend to look rather skewed and can also lead to misinterpretations.
Amazing idea, Thank you so much!
Love your plugin @chaseoes!
Thank you for providing this publicly!