Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


benchmarking...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
dental
Expert Cheater
Reputation: 0

Joined: 07 Sep 2008
Posts: 110

PostPosted: Mon Mar 22, 2010 5:20 pm    Post subject: benchmarking... Reply with quote

anyone have a good idea on how to benchmark cheat engine 5.6? i wished ce included a counter that says it took x number of seconds/milliseconds to complete this search/scan (feature request, db? Razz ).

i'm thinking about building a new pc. one of the upcoming hexa core processors and maybe a new dx11 video card.

which would yield faster search results? amd or intel hexa cores? does ce spawn more threads when doing long searches (i.e. float or double). i wonder if ce could offload some of this to the video card because video card can do a better job/faster with floating point numbers.

i'm guessing these scans/searches rely heavily on cpu speed and ram speed the most. so the higher the clock speed and faster the ram the less time it takes to complete a scan.

so i think a good application to scan is microsoft calculator. since this application comes with windows, this would be identical on most user's machine. nevermind. the searches are done too fast with windows calc. Embarassed

anyone with a good suggestion? Wink
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25823
Location: The netherlands

PostPosted: Mon Mar 22, 2010 5:38 pm    Post subject: Reply with quote

you could get the sourcecode and add in some code that checks how long it took to do a scan.
Also, first scan speed can be quite different from subsequent scans because the target process might have had memory paged to disk, but the memory scan will bring it back to active memory. So first scan will be slow(er) than the next ones

As for speed: It depends on diskspace, diskcache, cpu speed and cpu cache
The scanbuffer also makes a huge difference on the scan speed based on the amount of results you get.

So, besided the cpu, a faster harddisk is sometimes also a great benefit to scanning (which is why I think those standalone versions you run of usb sticks suck)

And yes, ce will spawn more threads depending on how many cpu's your system has (if hyperthreaded, it spawns the (total count divided by 2)+(total count divided by 4) )


Quote:

does ce spawn more threads when doing long searches (i.e. float or double). i wonder if ce could offload some of this to the video card because video card can do a better job/faster with floating point numbers.

Not sure why you ask because there's hardly any noticeable speed difference , even on a big game (done on an intel i7 with 12GB ram)


oh yes, forgot to mention, having more than 64MB ram helps speeding up as well

As for windows calc, you haven't seen windows 7 calculator then. (but yes, it's pretty fast)


Buuut, if you just want something to benchmark with, here's my 'personal' version of ce 5.6 that i've been using to do some benchmarks when improving the pointerscan for ce 6.0
During a pointerscan it'll show how many iterations it has gone through and how long it has taken, and shows a iterations/second as well. Just do a high level pointerscan and you can get a pretty decent benchmark after 60 seconds
http://cheatengine.org/temp/cheatengine.rar

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dental
Expert Cheater
Reputation: 0

Joined: 07 Sep 2008
Posts: 110

PostPosted: Mon Mar 22, 2010 6:25 pm    Post subject: Reply with quote

i got the following result:

evaluated: 3092921 time: 64 (48122 /s )

this is on intel atom eee pc. intel atom n270 @ 1.6 ghz (1 core; 2 threads). Wink ddr2 1 gb ram. windows 7 32bit.

i attached to opera browser with 15 tabs opened. i searched for 4-bytes, exact value of '1.' i ended up with 1,569,865 results. i add the 1st one. then right click and did the pointer scan with default options.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25823
Location: The netherlands

PostPosted: Mon Mar 22, 2010 6:34 pm    Post subject: Reply with quote

ok, I see your main bottleneck problem. Most games these day take up 1GB to 1.5GB of ram

cheat engine makes a copy of the game and scans that, and for the pointerscanner it generates a database of pointer of 1GB size as well.

so, when you're scanning, you're going to cause a lot of paging to and from disk

as for 1.6GHz, it's not much, but should be enough

As for the benchmark I usually just try the ce tutorial second step address with the option disabled to stop a path when a static has been found (my system with 5 threads tends to do 400000 /s after 60 sec)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites