Top "Timing" questions

timing is a numerical measurement of the how long it takes to execute an instruction or series of instructions

How accurate is Thread.sleep?

I'm studying computer hardware where we learn that using a hardware timer gets more accurate results than a software delay. …

java timing
Javascript run loop for specified time

I have a function that interfaces with a telephony program, and calls people. I want to know, is there a …

javascript timing
How do you run a long PHP script and keep sending updates to the browser via HTTP?

How do you run a long PHP script and keep sending updates to the browser via HTTP? Something to do …

php scripting timing updates
wrong numbers with clock_gettime and CLOCK_PROCESS_CPUTIME_ID

I'm on a 64bit Ubuntu 12.04 system and tried the following code: #include <unistd.h> #include <time.h&…

c precision clock timing gettime
Why is Collections.sort() much slower than Arrays.sort()?

I tried to do a test, regarding Collection.sort() and Arrays.sort(). In the test, I created an array of …

java arrays list sorting timing
MATLAB scatter3, plot3 speed discrepencies

This is about how MATLAB can take very different times to plot the same thing — and why. I generate 10000 points …

matlab plot timing scatter-plot
Why are gettimeofday() intervals occasionally negative?

I have an experimental library whose performance I'm trying to measure. To do this, I've written the following: struct timeval …

c++ c linux timing gettimeofday
QueryPerformanceCounter and overflows

I'm using QueryPerformanceCounter to do some timing in my application. However, after running it for a few days the application …

c++ winapi timing deterministic
What does CPU Time for a Hadoop Job signify?

I am afraid I do not understand the timing results of a Map-Reduce job. For example, a job I am …

hadoop timing benchmarking
How can I hold a WPF storyboard animation for a second, before continuing?

We have a color animation that blends from red to white. Currently, this is a linear fade. We know we …

wpf animation storyboard timing