BadWords

21 - Possibilities to reduce cpu usage

What steps will reproduce the problem?
1. Just start the server.
2. Have more then 100 users connected.
3. Examine the cpu usage for singol plugins.

What is the expected output? What do you see instead?
This plugins has a feature that cause a lot of cpu usage.

What version of the product are you using?
1.23 Latest

Do you have an error log of what happened?
No log error

Hello,
before I start, thanks for this plugin is very usefull for our work.
I have seen that the features "warning system" with the method PlayerJoinEvent use a lot of cpu (377% of the method PlayerChatEvent), is possible please to add an option in the config where you can disable the warning system so the PlayerJoinEvent, that could be very usefull to reduce cpu usage.

Please make this option, because this plugins with 148 user, take  379ms/5000ticks , yeah I know that is not a lot but for us yes please.

Thanks for your time.
Best Regards,

Dratih

P.S. sorry for my bad english

User When Change
ChuckHunky Apr 30, 2013 at 14:01 UTC
draithwilliam Apr 17, 2012 at 14:43 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of ChuckHunky ChuckHunky May 07, 2013 at 11:25 UTC - 0 likes

    Hi

    I am just looking at this problem. When do you see the high CPU usage, is it when a player joins or when a player speaks?

    Many thanks

  • 1 comment

Facts

Last updated
Apr 30, 2013
Reported
Apr 17, 2012
Status
Accepted - Problem reproduced / Need acknowledged.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
4

Reported by

Possible assignees