benchmarking

Berkeley DB and C++ benchmark example?

Hi there! I'm trying to run benchmarks with a little berkeley db and c++ code, just for research purposes. Currently I'm testing with the following code. I'm filling the recors only with incrementing integers (I omitted things like error handling for better readability) (db is my own berkeley db class) // Open the database db.open( NU...

PHP: Get CPU usage of ImageMagick/GraphicsMagick

In PHP, is there a way I can capture what the CPU usage is of each ImagaMagick/GraphicsMagick method I execute? Memory usage would be nice, too. Basically, I'm trying to benchmark how much resources each library uses in my application. Failed attempt: exec('convert a.jpg a.png'); $result = array(); // Loop until process is detected ...

benchmarking trig lookup tables performance gains vs cpp implementation

We are developing a real-time system that will be performing sin/cos calculations during a time critical period of operation. We're considering using a lookup table to help with performance, and I'm trying to benchmark the benefit/cost of implementing a table. Unfortunately we don't yet know what degree of accuracy we will need, but pro...

Tools to monitor the RAM occupied

Hello, I wrote an application that needs to be compared with another one that does the same job.. mine is in OCaml while other one is in Java. I would like to make two runs on the programs and monitor the RAM usage during the time elapsed by these executions. Both programs are really memory and cpu intensive so I'll have enough data to ...

tracking metric over multiple time buckets - known algo?

A situation has come up a few times in the last few weeks when I'd like to measure some event which might happen regulary (like the time taken to redraw a frame in a 2D smooth-scrolling UI) or variable freqency (like a message arriving to a webservice endpoint). I've had and idea of measuring 1) 'normal' frequency, 2) current frequency,...

(Dis)advantages between Typo3, Joomla, Drupal and Wordpress

I'm about to switch from manual programming to using a CMS like the above ones. So my concern is, which one is the "best"...I know, the question which is best ist just very subjective, but maybe you can give me objective reasons for your oppinion. Maybe I just have to tell something about the projects I'm about to realise in those CMS: ...

Queues implementation benchmark

I'm starting development of a series of image processing algorithms, some of them with intensive use of queues. Do you guys know a good benchmark for those data structures? To narrow the scope, I'm using C mostly, but I can use C++, stl and any library. I've got a few hits on data structure libraries, such as GLib and C-Generic-Library,...

MYSQL disable SELECT BENCHMARK

Hi, how would I disable the mysql benchmark function, thus not being subject to blind sql injection attacks such as "select if( user() like 'root@%', benchmark(100000,sha1('test')), 'false' );" select * from func does not show up a function benchmark. Kind Regards Charles ...

What benchmark to test how well my hardware for my C#.NET and SQL Server?

What benchmark would test how well my hardware rates, for my C#.NET and SQL Server ? I just like to know how good my hardware rates, for my software. ...

Cross-Processor Benchmarking?

Hello, Is there an easy way to benchmark a piece of software across a wide range of processors? The software I am looking to benchmark is a piece of an SSL Library - I'm looking to test the performance of some of the algorithms as hardware changes. Because I don't personally have the wide range of physical processors which I would li...

How do I interpret benchmark times as reported by Perl's Benchmark module?

Summary When I execute a very simple program using Perl's Benchmark utility. I get values that are not (appearing as) milliseconds or nanoseconds. The benchmark data returned is not useful to me because I do not know how to interpret it. Example: use Benchmark; my $start = Benchmark->new; print "foo!"; my $end = Benchmark->new; my $...

Any recent performance comparison among Javascript, Silverlight and Flash

This is really a duplicate of the question- link text I googled it and found some old results like bubblemark.com, link text and link text. But is there any recent benchmarks as all the platforms have been updated. I like to measure the speed of silverlight 4 against the modern and faster javascript engines. Anyone have any source? ...

How to benchmark / test the speed of MySQL, Postgresql, MongoDB, where there are so many cache layers around?

I think with SQLite3, at least it doesn't keep any cached page because there is no server and each write will exit SQLite3, so it can't do any caching directly. But when it is MySQL, Postgresql, or MongoDB, there will be a layer which, when the data is thought to be saved already, it is actually in the memory cache of the DBMS... to be ...

Generate line graph for any benchmark?

I had spent so many hours failing to find a line graph generator for my benchmark results that I just wanted to plug in. I tried quite a few like Google's chart API but it still seemed confusing or not graceful looking, I am clueless. Examples of benchmark images I wished to make something like are this: http://developer.studivz.net/wp-...

Graph better than Google charts?

Possible Duplicate: Generate line graph for any benchmark? What services do you recommend to generate graphs for benchmark results, like the following? http://developer.studivz.net/wp-content/uploads/2009/03/splminheap_rw_mixed.png Some of the web services I had used were dodgy at best to make these graphs. ...

millisecond-accurate benchmarking in C++?

I do not really wish to profile because I was wanting to do many different small benchmarks on different simple functions. For the life of me I cannot find a way to record the amount of milliseconds in C++, I am using Linux by the way. Can you suggest the method to get the system clock in milliseconds (I may settle with seconds if I can...

ffmpeg vstats problems, Missing frames and misleading information!

The Problem I have is when using ffmpeg to encode a YUV using libx264 I don't get all the frame information in -vstats output. It raises the question of how reliable ffmpeg is, and therefore can any 'codec benchmark' review based on ffmpeg be trusted? I am analysing codec's to determine how they perform. I am using ffmpeg and its -vstat...

How do I benchmark and profile IO bound Perl web application under heavy load?

How do I benchmark (compare two different implementations) and profile (find performance bottlenecks in an implementation) behavior of a web application (in Perl) under heavy load? This webapp is (supposedly) IO bound rather than CPU bound. I'd like to compare proposed implementation (proposed improvement) with current solution, either...

How do I benchmark a web page, including all images, scripts, stylesheets etc.

I've tried using a couple of tools (apache bench, html_load) but they only request a single file. I'm testing out bundling strategies and so I need the tool to also download any stylesheets, scripts etc. included in the original html file. I.e. exactly what a browser would load. ...

Website loading time programmatically

Hello, I'm looking for a solution on monitoring website loading time Programmatically I build my web application on Codeigniter and can use the benchmark class for getting the server site execution time but what I need is the total loading time of a website from the time a server-side call is done until all the contents of the website h...