Issue Details#968 onPlayerJoin(PlayerJoinEvent)

  • Priority: Normal
  • Number: 968
  • Type: Bug
  • Status: New
  • Age: 698 Days

Description

Hello,

I have noticed that this event is causing a lot of CPU usage in the timings found here: http://i.imgur.com/oDAAyhU.png

In the config, I have player-join: false

However, whilst it is not logging a:join data, it still appears to be hogging CPU resources causing performance issues.

Could you take a look at this and get back to me please.

Many thanks on your great project!

History

champ Gravatar

champ May 30, 2015 9:36 AM

Issue reported.

botsko Gravatar

botsko May 30, 2015 5:16 PM

The event still has to run because we need to properly lookup and store played by their Mojang ID. This is done on the main thread because we need to ensure the data is read before Prism begins tracking data for the player.

Prism 3 (for sponge) will try to handle this differently. It's normally not an issue, but it's not good to have this on the main thread.

Update Issue

Add your comments to this issue!

Creating a free account will let you immediately report issues on this project, as well as comment on existing issues, save your filters, and more!!