Timing repeort really high #50


  • Started
  • Other
Open
Assigned to timvisee
  • _ForgeUser2094923 created this issue Jul 24, 2013

    What is the issue?
    i have noticed the timings are high for sc any ideas to help this get lower?
    SafeCreeper v1.5.1.1 Total: 21.17 s    Pct: 0.16%
         Pct Total    Pct Tick         Total         Avg        Count       Vio    Event
             0.04%    3,870.87%       5.806 s    1935.4338 ms        0.00k     0.46%    Task: interval 72000
             0.03%       0.01%       4.046 s    0.0056 ms      716.32k     0.11%    BlockFromToEvent
             0.03%       0.00%       3.746 s    0.0003 ms    12,893.50k     0.00%    BlockPhysicsEvent
    Please provide any additional information below.
    for better view of report
    http://aikar.co/timings.php?url=5909248

    This server is running CraftBukkit version git-Spigot-1033 (MC: 1.6.2) (Implementing API version 1.6.2-R0.1-SNAPSHOT)

  • _ForgeUser2094923 added the tags New Other Jul 24, 2013
  • timvisee posted a comment Jul 27, 2013

    Hello,

    At first, thank you very much for the detailed time report ;), how do you generete it like this if I may ask? Bukkit has a build in timer, which is able to clearly show timings and calls and is similar to the time table above, I'll run that some time.

    Safe Creeper might be a bit heavy indeed, it's because of the complicated configuration files. I think I'll build caching into Safe Creeper, that caches all the settings when being loaded, and also caches stuff that is called many times to make the plugin faster. Now it's reading the configuration file everytime from the RAM, that might cause the increased timings. I might also be able to make the core of Safe Creeper a bit faster, I'll try to do this as soon as possible.

    Tim Visée

  • timvisee removed a tag New Jul 27, 2013
  • timvisee added a tag Started Jul 27, 2013
  • timvisee posted a comment Jul 27, 2013

    About the most heavy item in the time table of Safe Creeper (Task: 72000) I know what causes the problem and I'll fix the issue as soon as possible. I'll also make this task ASYNC, that ensures that the tasks that is that heavy doesn't have any effect on the server itself.

    Tim Visée


To post a comment, please login or register a new account.