Performance issue when checking for updates #99


  • Defect
  • Accepted
Open
Assigned to _ForgeUser8106975
  • _ForgeUser681663 created this issue Mar 24, 2013

    Courier's running a task that seems to take a full half second every time it runs. Possibly longer. Granted it's on a 300 minute interval, but that's a big enough spike that players can notice.

    Low priority, obviously.

    Courier v1.1.9 Total: 9.33 s Pct: 0.02%

         Pct Total    Pct Tick         Total         Avg        Count       Vio    Event
             0.00%       0.01%       2.429 s    0.0057 ms      423.82k     0.02%    ChunkLoadEvent
             0.00%       0.01%       1.782 s    0.0049 ms      366.79k     0.00%    EntityDamageEvent (and others)
             0.00%     910.94%       1.366 s    455.472 ms        0.00k     0.11%    Task: interval 360000
             0.00%       0.00%       1.123 s    0.0012 ms      937.65k     0.00%    CreatureSpawnEvent
             0.00%       0.01%       1.092 s    0.0051 ms      215.57k     0.00%    EntityTargetLivingEntityEvent (and others)

  • _ForgeUser681663 added the tags New Defect Mar 24, 2013
  • _ForgeUser8106975 removed a tag New Mar 25, 2013
  • _ForgeUser8106975 posted a comment Mar 25, 2013

    This is the update check, configurable in the config file (setting the schedule or turning it off completely). It was previously an Async task but moved to Sync (thus delaying the main thread) since it does touch APIs that should be sync:ed. It's possible to work around that, but low priority due to it being configurable.

  • _ForgeUser8106975 added a tag Accepted Mar 25, 2013
  • _ForgeUser681663 posted a comment Mar 30, 2013

    Cool, I'll turn it off then, I do a daily restart anyhow. :)


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