measurement

ASP.net - How can one differentiate Page-Processing Time from Client-Transmission Time

The single timing column in the weblog naturally includes client transmission timing. For anamoly analysis, I want to differentiate pages that took excessive construction time from requests that simply had a slow client. For buffered pages, I've looked at the ASP.NET page lifecycle model and do not see where I can tap in and codewise m...

Anyone used the ABC Metric for measuring an application's size?

There are some nice things about it (like it encapsulates the concept of Cyclomatic complexity), and I was wondering if anyone has used it in "real life". If so, what are your experiences? Is it a useful measure of size (as opposed to KLOC or Function Points)? For those wondering what I'm smoking: Here's a link to some info on it: htt...

What is the best method to gather data about the use of your application?

My company releases a small software product for which I've recently been taking over the development side. It is a C# Windows Forms application. One of the things I've noticed is that much of the information about how the software is used is filtered through my superiors and I get the feeling that I'm missing important detail in some ...

Limiting assembly execution number of cpu cycles

I have a project that dynamically loads in unknown assemblies implementing a specified interface. I don't know the contents or purposes of the assembly, other than it implementing my interface. I need to somehow restrict the amount of processing power available to these assemblies. Processor priority is not what I'm looking for. I can't...

How do you measure page load speed?

I am trying to quantify "site slowness". In the olden days you just made sure that your HTML was lightweight, images optimized and servers not overloaded. In high end sites built on top of modern content management systems there are a lot more variables: third party advertising, trackers and various other callouts, the performance of CDN...

Mips calculation for embedded software

Hello, I have been recently (and repeatedly) asked by customers about MIPS needed to run our software. Usually we was able to get rid of this questions by explaining the customer that this is really depend on the cpu/os/hw (our software is highly portable) and/or use case (i.e. how our software is used). But I have a last one not o...

Measuring Java execution time, memory usage and cpu load for a code segment

For a particular segment of Java code, I'd like to measure: execution time (most likely thread execution time) memory usage CPU load (specifically attributable to the code segment) I'm a relative Java novice and am not familiar with how this might be achieved. I've been referred to JMX, however I'm not sure how that might be used, an...

What is a fair productivity measurement technique for programmers?

Is there any measurement technique that takes into consideration not only how many artifacts were generated (i.e. lines of code, use cases, etc), but also considers the quality and effort involved? What is a good measurement that we can deploy that will not hurt the developers? Every now and then there is a client or a manager who want...

What strategies can a layman use to measure the development process?

Hi, I'm consulting at a traditional business that has almost zero understanding of software development. They are justifiably concerned about how to measure our progress, & productivity and are currently looking for way to measure this. Obviously, I'm concerned they will adopt some easy to measure, but bogus strategy. (ie: Lines of C...

What applications are there that I can pass data as it's generated and have it analyze some statistics for?

The basic requirement is pass to some command type and execution time (possibly other data as well, but that's the basic data we're concerned with at the moment) from C# code (either managed code or something that can take data periodically from the command line. and perform some statistical analysis on it: avg time for each command type...

How do you measure code block (thread) execution time with multiple concurrent threads in .NET

Right now we just use something like this stopWatch.Start(); try { method(); } finally { stopWatch.Stop(); } Which works fine for synchronous methods, but some are executing asynchronously, so the time is skewed when multiple threads are execut...

What is the best way to measure "lines-of-code"?

Duplicate of http://stackoverflow.com/questions/353380/what-is-a-line-of-code Should you count end-lines? Should you base it on delimiters in your language, such as semi-colons? Should you count all non-whitespace characters then divide by the average number of non-whitespace character per line? Maybe the concept of "lines" isn't even ...

Programmable network diagnostic tools?

Are there any network diagnostics tools available that I can use to measure things like bandwidth. As such there are a lot of tools which can do this, but I need one that I can embed in my application and program. Environment is WinCE but please list any generic tools also, preferably open source. ...

Is it possible to measure bandwidth using ping?

Can we find the internet bandwidth from the time it takes to ping a server if yes how is it done ...

Metric for the impact of an application on network traffic

I'm writing an application and I'm able to set its throughput (the number of bits per second it sends over the wire) to whatever rate I wish. However, I would like to set it as high as possible, as long as other traffic on the network is not heavily impacted. The problem is, I don't have a good metric to measure that impact. I thought o...

storing + evaluating performance data

since we suffer from creeping degradation in our web application we decided to monitor our application performance and measure individual actions. for example we will measure the duration of each request, the duration of individual actions like editing a customer or creating an appointment, searching for a contract. in most cases the d...

How can I measure my (SAMP) server's bandwidth usage?

I'm running a Solaris server to serve PHP through Apache. What tools can I use to measure the bandwidth my server is currently using? I use Google analytics to measure traffic, but as far as I know, it ignores file size. I have a rough idea of the average size of the pages I serve, and can do a back-of-the-envelope calculation of my band...

Measurement conversion on the fly

Hi All I'd like to ask re: measurement conversion on the fly, here's the detail : Requirement: To display unit measurement with consider setting. Concerns: - Only basic (neutral) unit measurement is going to be stored in database, and it is decided one time. The grid control has direct binding to our business object therefore it has ...

Problems of Measuring Programmer Productivity...

Ok, the question is usually, how can one measure a programmer's productivity. But I want to put a slight twist on the question. How does one measure one's own productivity when coding? Do you measure yourselves by problems solved, questions answered versus asked, or the dreaded "lines of code"? ...

What is the best way to get a string that fits the provided width in pixels?

I am now facing a problem with getting a string that fits the provided width in pixels. For example, if I have a sentence like this (in JavaScript): var mystring = "This is my sentence, I need to get just 50 pixels from it." If I use the MeasureString method in C# I can get the width: Font font = new Font("Segoe UI", 11, FontStyle.R...