SpigotMC/Spigot — pull request #129 by aikar (2014-03-12 03:52:41+00:00)
Title: Overhaul Timings System

Includes MANY improvements.
Resolved Performance issue with Bukkit HandlerList method. Now all timings simply uses the Spigot System
Performance Improvement simply not using TimedRegisteredListener too
Bug with SyncChunkLoad tracking resolved. Now properly tracks many aspects of sync chunk load.
Reset/On/Off accuracy - should no longer have any issues turning it on/off during runtime, so this has been re-enabled - Everything is reset on "on", so if there is any problems with dynamic toggling, then reset is broken too, and we might as well warn but not block... I use reset/on/off without issue so it should not be blocked on everyone even if there is a random bug.
Paste command on RCON now works
Now tracks everything related to plugins too, so you can easily see total plugin cost
Now tracks Tasks better and where they came from
Now tracks plugins event handlers to the method name too.

View better diff of changes here:
https://github.com/starlis/EMC-Bukkit/commit/4f7c8c347b11eb57a55d5bdb2f13f39e09fadca3
https://github.com/starlis/EMC-CraftBukkit/commit/46f5cc5d18cec4955d7b1b1b9fc94cf3f9a94661

And new Final States:
https://github.com/aikar/EMC-Bukkit/commit/98b714c693d8c007cd27e7ac6d38f74b317c28f6
https://github.com/aikar/EMC-CraftBukkit/commit/ed8513700dbb7ee5b0849580b30a604bbd1ebae7

Merged some Bukkit Patches so all timings changes are in 1 patch.