Member Avatar

I know there are benchmarking programs that exist, but I've decided that as an exercise, I want to try and create some sort of simple benchmark program to test schedulers of my Raspberry Pi (CFQ, noop, deadline). I have been switching the schedulers and testing some linux commands using time and notice several differences. My question is: if I want to create a c program that's able to run and test the result of using a specific scheduler, how should I tackle this? I guess a simple outline of an idea I have is: program creates multiple threads with different …

Member Avatar
0
9
Member Avatar

Hi, i have 2 pieces of code that i created, both of which do exactly the same thing and i am trying to benchmark them to see which is generally more efficient. As such i used the code suggested by perldoc in the following format: use Benchmark; $t0 = Benchmark->new; # ... your code here ... $t1 = Benchmark->new; $td = timediff($t1, $t0); print "the code took:",timestr($td),"\n"; However both of my code samples are really short and as such come up with a result of "0 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)" The fact that …

Member Avatar
0
13
Member Avatar

Hello! I have coded a compression technique and I am having trouble in measuring the speed of it. I tried to generate log of start time and end time, but compression time of same file varies a lot under windows. That may be happening because other processes would be consuming resources my program could me in blocked mode for a while. Can anyone please suggest me a way to measure the execution time of my program minus the waiting time when it was blocked? I can think of three possible ways (1) Setup a minimal Linux and run my program …

Member Avatar
0
5
Member Avatar

I discussed yesterday how to access to members of JavaScript objects? var obj = {a:1}; value = obj.a; value = obj['a']; value = obj.geta() Are there differences in speed while accessing with dot notation, key notation or more java-like getter function? But the more complete solution can found on [URL="http://united-coders.com/christian-harms/javascript-object-access-micro-benchmarks"]united-coders.com[/URL].

0
1
Member Avatar

Intel tomorrow will officially unveil a pair of dual-core mobile processors with its [url=http://en.wikipedia.org/wiki/Hyper_threading]Hyper threading[/url] technology, adding to its x86 line a low cost chip with performance akin to that of the company's i7, Pentium 4 and Xeon parts. The Core i3 and Core i5 processors, [url=http://www.techshout.com/laptops/2010/05/leaked-hp-laptop-and-desktop-portfolio-for-ces-2010/]demonstrated by Hewlett-Packard[/url] and others at [url=http://www.cesweb.org/]CES 2010 in Las Vegas[/url] through Sunday, also incorporate graphics functions on board, saving power and cost by eliminating the need for a separate graphics package. In a [url=http://www.theinquirer.net/inquirer/review/1567177/intel-core-i5-661-part-cpu]benchmark report[/url] published yesterday, the two-core i5 661 processor outperformed a quad-core Athlon II 640 running at 3GHz.With on-board graphics …

0
1

The End.