How to improve performance on events?

Discussion in 'Plugin Development' started by Milkywayz, Aug 14, 2012.

Thread Status:
Not open for further replies.
  1. Offline


    I was doing some performance tests with my library using a test plugin on a craftbukkit server with no plugins other then the test, server had 1gb of ram. My timings results:
    LibraryTest v1.0
        BlockPlaceEvent Time
    41130000 Count3 Avg13710000
        Total time 41130000 
    After another test with 4gb of ram, the tests were worse (probably because i executed the command quicker).
    Clearly extremely inefficient, Because of the loops. Which is why Im asking for help. I need to increase the efficiency in my library so that plugins using it don't experience lag.
    The github is here ->
    All contributions are extremely welcome and absolutely appreciated.
Thread Status:
Not open for further replies.

Share This Page