slowdown

Enough to call Children.Clear on a WPF canvas to get rid of old controls before adding new ones?

I am experimenting with WPF and re-implementing my old maze screensaver. My code basically adds a bunch of images to the canvas, building up a grid, 64x64 pixel images side by side, to cover the entire canvas. Then I "animate" movement in the maze, which is supposed to scroll the maze around, by adjusting a translate transformation, and...

OpenCV Frame Rate Issue

Hi all, I am working on a school project with OpenCV. A major part of the program will be a comparison of histograms. There will be a database of histograms and new histograms will be created from a live video feed then compared to the histograms in the database. Right now I am just trying to get the histograms created correctly from...

Why does the D2010 debugger make some things much slower?

I've got a special combo box with a very long list of items (a few thousand) that has to be calculated when you open it. When I was testing something, I was horrified to find that it took about a minute to open. So I hooked the program (same build, same options) up to Sampling Profiler to see what was taking so long, and it only took a...

Let system time determine animation speed, not program FPS

I'm writing a card game in ActionScript 3. Each card is represented by an instance of a class extending movieclip exported from Flash CS4 that contains the card graphics and a flip animation. When I want to flip a card I call gotoAndPlay on this movieclip. When the frame rate slows down all animations take longer to finish. It seems Fla...

How do I slow down a flash game?

Basically the objective is to click on certain targets, which upon doing so would destroy the target and garner you points. I've written a macro to help me until the point where its impossible to even see the target more than a mere flicker, (maybe even less than that, i cant see it with my eyes). But its possible because i believe other...

Visual C++ function suddenly 170 ms slower (4x longer)

For the past few months I've been working on a Visual C++ project to take images from cameras and process them. Up until today this has taken about 65 ms to update the data but now it has suddenly increased significantly. What happens is: I launch my program and for the first 30 or so iterations it performs as expected, then suddenly the...

Sharepoint 2007 search slowdown (using custom scopes)

Is there really a slowdown issue when using custom scopes in searching for contents in Sharepoint 2007? How do you resolve this? I experience the slowdown every after 3 or 4 tries (so the first tries work just fine). I'm using a custom masterpage but the same issue is encountered in OOB portals (using default masterpage). ...

PHP script gets progressively slower (file reader)

I have a script that, when put against a timer, gets progressively slower. It's fairly simple as all it does is reads a line, checks it then adds it to the database, then proceeds to the next line. Here's the output of it gradually getting worse: Record: #1,001 Memory: 1,355,360kb taking 1.84s Record: #1,001 Memory: 1,355,360kb taking...

Accessing DataTable.Rows performace decreases over time?

I have a IHttpHandler that I'm using to import an uploaded CSVfile into a database. The class has a static DataTable variable. They first time the handler is run, it opens the CSV file, reads it in to the static DataTable class and closes the file. Each time the handler is accessed after that point it starts a a for loop with the reques...

Metronome Timer slowdown (via Handler, or Threads too)

I have a simple, classic, statement that every 200 milliseconds plays a sound (a metronome). I wrote it using Handlers, and then in another way, using Threads. The problem is the same in both ways: when I press hardware home button, or also simply when I press a button to open a ListView, the metronome terribly slowdown for a while. T...