measurement

Determining if the difference between two error values is significant

I'm evaluating a number of different algorithms whose job is to predict the probability of an event occurring. I am testing the algorithms on large-ish datasets. I measure their effectiveness using "Root Mean Squared Error", which is the square root of the ((sum of the errors) squared). The error is the difference between the predicte...

How to measure the TCP/IP overhead without sniffing?

Hello, I'm wondering whether there is a programmatic way to obtain a measure of the full bandwidth used when sending data through a TCP stream. Since I cannot seem to know how the network stack would divide the stream into packets, or when it sends a TCP SYN or ACK or many of the things it does in the background for you, I can only get ...

Suggestions for profiling a webserver...

I developed a small nifty webserver in C and would like to evaluate its performance. For this I'm doing the following: Measuring the socket establishment time, file transfer time (for files of random sizes) and socket teardown time in the following scenarios: Single-Threaded Multi-Threaded And this should give me the throughput/band...

How to measure memory used in a block or program with C++

What is the best way to measure the memory used by a C++ program or a block in a C++ program. The measurement code should thereby be part of the code and it should not be measured from outside. I know of the difficulty of that task, so it does not have to be 100% accurate but at least give me a good impression of the memory usage. ...

Cross Platform System Usage Metrics

Is there a cross platform C API that can be used to get system usage metrics? ...

Unmeasurable CPU usage?

Hi Chaps, Im trying to monitor the CPU usage of a process I've been updating to do a bit more work. However reading the /proc/pid/stat file, the jiffie counts (of utime,stime, etc) of the process will not increase. (It is definately doing some work, I can see it with strace etc). The amount of work the process is doing is relatively ti...

Measuring Class Dependencies

I want to measure dependencies between classes - what's the best approach and tools to use? I'm working in MS .Net Text based information / reports are OK, but I'd prefer something visual. Open source tool would be ideal. ...

Measure upload time?

I have a very simple page with which a user uploads a file. Using only server-side C# (e.g. the code-behind), how can I measure the amount of time the user had to wait for the file to upload? ...

HP LoadRunner - measurements to watch outbound active TCP ports

I am trying to find out if there are any relevant measurements that LoadRunner can track, when running a load test - where it can allow me to monitor the number of active outbound ports from a given windows 2003 box. i am seeing that there are various measurements specific to CLR and IIS - such as current connections, but i am looking ...

How to quantify your "slow" development machine?

( Please provide the question this one duplicates. I'm disappointed I couldn't find it. ) My development machine is "slow". I wait on it "a lot". I've been asked by decision makers who want to help to fairly and accurately measure that time. How do you quantify the amount of time you spend waiting on the computer (during compiles, w...

I'm looking for a way to evaluate reading rate in several languages

I have a software that is page oriented instead of scrollbar oriented so i can easily count the words, but i'd like a way to filter outliers and some default value for the text language (that is known). The goal is from the remaining text to calculate the remaining time. I'm not sure what is the best unit to use. WPM (words per minute)...

Measuring the time to create and destroy a simple object

From Effective Java 2nd Edition Item 7: Avoid Finalizers "Oh, and one more thing: there is a severe performance penalty for using finalizers. On my machine, the time to create and destroy a simple object is about 5.6 ns. Adding a finalizer increases the time to 2,400 ns. In other words, it is about 430 times slower to create and destroy...

Units of measurement conversion logic in C#

I am adding a feature to my program in which the user will have the ability to change their unit of measurement at any time, and have the program recalculate their input and output. If the user inputs say, 20lbs for an item, then decides he wants to work in kilograms instead, he can select an option to do so at any time, and the program...

Measuring debug vs release of ASP.NET applications

Which has the biggest impact? Building ASP.NET applications in release vs debug mode Setting <compilation debug="true"> in web.config Has anyone done any testing to get actual numbers about what the differences are, considering performance and memory usage? (Perhaps other metrics are useful as well?) For example, something like: E...

Easily measure elapsed time

I am trying to use time() to measure various points of my program. What I don't understand is why the values in the before and after are the same? I understand this is not the best way to profile my program, I just want to see how long something take. printf("**MyProgram::before time= %ld\n", time(NULL)); doSomthing(); doSomthingLo...

Measure development platform effeciency

We are devloping an application that is a kind of development tool for developing Line Of Buisness applications. The current applications that we build are windows desktop clients but we are looking into also targeting silverlight / cloud kind of applications. What we are looking for is a "standard" way of measuring the time to build ...

Tools to measure website size

Can someone please recommend some tools that would help me measure the size of our website pages? I need to gather the size of the page rendered. We have over 100 pages and so obviously I am looking for a tool that could diagnose an entire domain or folder. I don't want to spend days measuring the pages one at a time. Thank you so much...

Which measurement is best to use?

Possible Duplicate: Why em instead of px? em or px or % I always found px to be better, but why do people use em? ...

SQL Server 2008 Geography .STBuffer() distance measurement units

I'm working with a geographic point using lat/long and need to find other points in our database within a 5 mile radius of that point. However, I can't seem to find out what the "units" are for STBuffer, it doesn't seem to conform to feet, miles, meters, kilometers, etc. The documentation only refers to them as "units", any suggestions? ...

Measure website

Hi, I was wondering if it is possible to install or use any online service to measure your website's performance? I've seen many just checking the download speed of images, external files etc. But is it possible to meassure how long asp/php code takes to execute? I have a site running a bit slowly, and it would be very nice with some a...