benchmarking

Industry benchmarks to assess data mining tools

Hi I'm looking for data mining tools for a project and in line with that I have put up another post in SO. I'm currently looking at different tools and am wondering whether any industry benchmark exists to asses different data mining tools so that I can refer it do a better evaluation of tools. Please let me know if any such benchmark ...

Benchmark UIView drawRect: method

Hi, I am writing an iPhone application in Objective-C that utilizes some custom drawing in views and I would like to benchmark various revisions of my code to see what really helps. I was planing on doing this by setting up a new application, adding my custom drawing code to the drawRect: method of the view, then, in a for loop in the v...

Why would one CPU core run slower than the others?

I was benchmarking a large scientific application, and found it would sometimes run 10% slower given the same inputs. After much searching, I found the the slowdown only occurred when it was running on core #2 of my quad core CPU (specifically, an Intel Q6600 running at 2.4 GHz). The application is a single-threaded and spends most of ...

Why is looping over range() in Python faster than using a while loop?

The other day I was doing some Python benchmarking and I came across something interesting. Below are two loops that do more or less the same thing. Loop 1 takes about twice as long as loop 2 to execute. Loop 1: int i = 0 while i < 100000000: i += 1 Loop 2: for n in range(0,100000000): pass Why is the first loop so much slow...

Prioritizing erlang nodes

Assuming I have a cluster of n erlang nodes, some of which may be on my LAN, while others may be connected using a WAN (i.e. via the internet), what are suitable mechanisms to cater for a) different bandwidth availability/behavior (e.g. latency induced) and b) nodes with differing computational power (or even memory constraints for that ...

any formal benchmarking of Open source Database software ?

Hi, Is there any formal performance and stress test reports of open source database, specially sqlite,MySQL an PgSQL? I want to use sqlite in server for its simple structure and easy embeddable capability. But I can not find any pros and cons (by Googling and Yahoo!ing) regarding performance of these database software. Please suggest....

How to measure network performance (how to benchmark network protocol)

First, a bit of background. There are many various comparison of distributed version control systems (DVCS) which compare size of repository, or benchmark speed of operations. I haven't found any that would benchmark network performance of various DVCS, and various protocols used... beside measuring speed of operations (commands) involvi...

How to use the SPEC benchmark (for dummies)

Hi I just had a quick look so far at the documentation of the SPEC2006 benchmark. However, until now I was not able to find some information how I can nicely present the performance measurements I got from the benchmark. So I am wondering if some of you have played around with it and can lead me where I could find a "SPEC2006 for dummie...

apachebench aborts with a strange error message

I run a very simple php file on apache. Then I benchmark apache, using ab -n 10000 -c 5 http://localhost/~me/hello.php?name=Niko But I get this error message, depending on c (for c=1, things are fine): apr_socket_connect(): Operation already in progress (37) I'm using ApacheBench, Version 2.3 on OSX 10.5.7. The very simple PHP f...

Using POST data with ab2 - Benchmarking

I'm trying to benchmark a development site, with the biew of proposing a change to the production server setup. The most 'logic' intensive part fo the site is the product search as it dynamically expands the criteria if no results are found. The form uses POST, so using the Live Headers plugin in Firefox I trapped the POST data and ...

Tools to profile function execution times of a .NET program

What tools are available to profile a .NET program by measuring function execution times and generating graphs to visualize the time spent at various points in the call graph? ...

wordpress performance benchmarking

I have setup a wordpress based blog for online flash games. The website is www.nirgame.com. i need to know what tools can be used for performance testing the website. Sorry for being naive but i come from the C++ world and this PHP/Apache/MySql thing is new to me. ...

How to benchmark apache with delays?

What is a good way to benchmark apache with a delay between requests from a unix command line? The only benchmark tool I know from the command line is ab and it doesn't support delays. ...

Looking for a source tree to benchmark compilation

I need to run a set of compilation benchmark tests on a system, I'm looking for a Visual Studio project (e.g. from Codeproject.com) which would take about 5 minutes to build on a modern laptop. Any ideas? ...

howto benchmark javascript code ?

Hi all, Is there a package that helps me benchmark JS code ? Im not referring the Firebug and such tools. I need to compare 2 different JS functions that I have implemented. Im very familiar with perl's Benchmark (http://search.cpan.org/~tty/kurila-1.19_0/lib/Benchmark.pm) module and Im looking for something similar in javascript. Is ...

C++, ways to benchmark improvements in cache locality?

I have an implementation of a class X, that has two pointers to two pieces of information. I have written a new implementation, class Y, that has only one pointer to a struct that contains the two pieces of information together as adjacent members. X's and Y's methods usually only need to manipulate one of the pieces of information, but ...

How many hardware details can a Java Applet Discover?

I'm writing a Java applet to run differently under different hardware. For instance if I know a computer has a large amount of RAM but a weak processor, I can alter the balance of some time-memory trade-offs. Being able to discover the exact make and model of the CPU on which the applet is running could be helpful. Having such informatio...

What is the best Linux filesystem for MySQL (InnoDB)?

I tried to look for benchmark on the performances of various filesystems with MySQL InnoDB but couldn't find any. My database workload is the typical web-based OLTP, about 90% read, 10% write. Random IO. Among popular filesystems such as ext3, ext4, xfs, jfs, Reiserfs, Reiser4, etc. which one do you think is the best for MySQL? ...

Timing Objective-C code

Hello! I would like to add some automated performance test to my Objective-C application. (This is a game, so that I would like to see the current performance of key parts of the engine by simply running a set of tests.) To do this I want to write some timing support routine, something like this: - (void) benchmarkSelector: (SEL) msg o...

benchmark and the cause for difference between c# and java

I have a puzzling situation and I would need an expert opinion as to the cause of the phenomenon explained below. A couple of weeks ago, I have conducted a session titled "An overview .NET for Java developers" and as a part of it I wrote a quick class C# (3.5 framework) to read from a file and write to another file line by line (in an i...