benchmarking

Benchmarking Desktop Applications

I have the desire to benchmark a Client/Server application (GUI) written in Java, on a Windows platform. I'm doing this so I can identify where the Application platform will break when scaled to 100s of users. This is not my application, I do not have source code. I know packages like selenium exist for web apps, but I haven't seen ...

Benchmarking Oracle 10G on Windows XP

I am not a DBA. However, I work on a web application that lives entirely in an Oracle database (Yes, it uses PL/SQL procedures to write HTML to clobs and then vomits the clob at your browser. No, it wasn't my idea. Yes, I'll wait while you go cry.). We're having some performance issues, and I've been assigned to find some bottlenecks ...

Determining cache misses for various filesystems

Hello, I've got a project for school where I have to find out how many cache misses a filesystem will have under heavy and light loads and on a multiple processor machine. After discussing this with my professor, I came up with a basic plan of execution: Create a program which will bog down the filesystem and fill up the buffer cache. ...

C# which is faster do/while or for?

I have a C# .NET 2.0 script and I want to know why the following code would be faster than a do while loop of the same kind. private double getStop(double avgPrice, bool longTrading) { double stopS = 0.0; double stopL = 0.0; for (int i = 0; i < 13; i++) { if (i == 0 || i == 12) { stopS = 0.0; stopL = 0.0; } ...

What are the individual tests SunSpider JavaScript benchmark runs?

Can someone explain to me what each SunSpider subtest actually checks and give a real-life equivalent of their importance and use? Which outcomes (ie times) are considered acceptable for a modern system? The only information I have found so far was generic for each subsection, at Coding Horror. 3d Pure JavaScript computations of ...

Which is faster: multiple single INSERTs or one multiple-row INSERT?

I am trying to optimize one part of my code that inserts data into MySQL. Should I chain INSERTs to make one huge multiple-row INSERT or are multiple separate INSERTs faster? ...

Anyone have benchmarks / speed tests comparing Classic ASP vs ASP.NET 2.0 or 3.5?

I'm thinking about using ASP.NET in a new project I'm starting and I'm wondering if it's faster than classic ASP. I've been using classic for years, and never ran into any problems, but I really want to pick the fastest out of the three. Thanks for your help! ...

Has anyone done a performance analysis of boost::asio ?

I require socket-like local IPC. I used named pipes and overlapped IO on windows and I want to rewrite the application to boost::ASIO so that it can use UNIX domain sockets as well. I've recently reviewed parts of the libevent library and I know it only supports socket() and select() for windows in the 1.4 version. As overlapped IO is v...

Timing in JavaScript

I am speed testing some JavaScript programs by creating a Date object, and using it to get the time in milliseconds before and after the real work of the function. I made the body a simple adding for loop, and then the end is subtracting the old ms from the new ms and printing that. However, everything finishes in 0 milliseconds... which...

Your predictions on Languages evolution

Well, I know it's not all about speed and memory usage. But I would like to know what you think will happen to most of the high-level programming languages. As far as I know, Java is much faster than it was in the past, what about python, php etc. ...

How to benchmark php/mysql site

I would like to know how to benchmark a php/mysql site. We have a web app almost completed and ready to go live, we know how many people are going to be using it in a years time but have absolutely no idea how much bandwidth the average user takes, to how much time they burn up on the database etc. We need to determine the correct serve...

As2 Benchmarking

I've been looking for a took or a method of benchmarking as2 code specifically individual functions. I've looked at Grant Skinners Performance Test which is for as3 so it does me no good. Does anyone know of an as2 version or a good way to time functions? Thanks in advance! ...

benchmarking a asp.net website, can I use jmeter?

just looking at jmeter, from what I can I see it is a desktop application, so is it safe to say I can use it to benchmark a windows server running asp.net? any other recommended tools? ...

How to Calculate Execution Time of a Code Snippet in C++

Hi folks. I should compute execution time of a C++ code snippet in seconds. It must be working either on Windows or Unix machines I use code the following code to do this. (import before) clock_t startTime = clock(); // some code here // to compute its execution duration in runtime cout << double( clock() - startTime ) / (double)CLO...

Benchmarks for various Google App Engine Datastore operations?

A recent question regarding the datastore and how long a query should run got me thinking - has anyone compiled a nice set of benchmarks that would demonstrate what "typical" results should be for datastore performance? I know that every entity kind will have different performance characteristics, but it would be great to be able to see...

Higher-performance method do this type of insert from python?

Given two arrays hashes and table, for each value in hashes I want to store the position of the element at the element's value's offset in the array table. Here is the naïve algorithm: def insert_n(table,hashes): for x in xrange(len(hashes)): table[hashes[x]]=x This is extremely slow. Psyco helps some here, but hardly. N...

Ruby on Rails question - how can I measure response time from when request first hits app?? (e.g. using 'benchmark')

Hi, Background - I'm serving files (text, images) to a browser via my Rails application as the user needs to be authenticated too. The files are on file system, however references are in the database, as I'm using PAPERCLIP. Using AUTHLOGIC for authentication. I'm finding the response times are quite bad, as each request for HTML/ima...

Why does Perl's tr/\n// get slower and slower as line lengths increase?

In perlfaq5, there's an answer for How do I count the number of lines in a file?. The current answer suggests a sysread and a tr/\n//. I wanted to try a few other things to see how much faster tr/\n// would be, and also try it against files with different average line lengths. I created a benchmark to try various ways to do it. I'm runni...

MySQL Benchmark

Hi Everyone, I am trying to use MySQL benchmark to test some queries. But, I am running to an error. SELECT benchmark (10000, (select title from user)); and in return I get this error; ERROR 1242 (21000): Subquery returns more than 1 row Does anyone know how to benchmark a query? Thanks ...

Execution times for various RDBMS queries?

Is there some reliable (i.e. acknowledged) data on the execution times for various queries, such as different types of joins, scans, with different types and size of data? I am looking for the order of magnitude. This does not have to be vendor-specific data. It should be similar in terms of presentation for latency for various access t...