DCBot

Jump to navigation Jump to search

And any way, PIF is not that thing, which eats significant part of CPU time:) In my case, at least:)

Jdev15:35, 17 November 2011

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:PIF/Gradient PIF/DCBot/reply (7).

 

How you measure a performance?

You're welcome to rename this page, i can not find out better name:)

Jdev15:51, 17 November 2011

I had both methods running at the same time in the same bot, and put "System.nanoTime()" calls around each method. I then summed up the time taken in each and found the average time used by each method during a battle.

Rednaxela15:53, 17 November 2011
 

Maybe i will try same approach later and look self, which is faster:)

Jdev16:01, 17 November 2011