slow

Why is my Python OpenGL render2DTexture function so slow?

SOLVED: The problem was actually using time.time() every CPU cycle to see whether the next frame should be drawn or not. The time it takes to execute time.time() was having an impact on the FPS. I made this function for drawing 2D textures as images in a 2D view in my OpenGL application. After doing some testing I found that it takes up...

Xcode + Perforce: it frequently shows me the spinning wheel for no reason! What can i do?

While working on an Xcode project i keep getting the spinning wheel while switching files, scrolling, searching, typing, debugging, removing breakpoints, switching back from another app or saving. It also happens before compiling but usually it just happens from time to time for no apparent reason. This is the second time this started h...

WPF: RichTextBox typing TWICE slower than in a VB 5.0 RichTextBox ...

Hello, first this is no rant although its worth alone to put it on a blog... When I type very fast - having roughly 260 chars/minute - WPF`s RichTextBox starts swallowing chars and I have to stop writing that fast a => a.IsAnnoying = true; The same in a VB 5.0 RichTextBox fast as hell. Why is WPF again so great for? Customer satisfac...

MySQL is not using keys on the outer query of a subselect with "IN"

Hi, i'm querying a database like this: SELECT * from Log WHERE cookieId IN (select cookieId from Log WHERE someId="blafasel"); I have keys on someId and cookieId but yet the query is very slow. If I run the two queries (the outer and the inner) separated both of them or very fast. select cookieId from Log WHERE someId="blafasel" ...

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...

TortoiseSVN very slow on some windows configurations

Hi folks! I’m experiencing performance issues with tortoiseSVN client and xp-dev server : It take 19 minutes to check out 718kBytes in 297 files ! PC is running windows XP, latest version of T-SVN. I’ve disabled firewall and antivirus with the same result. I made another test on a second machine (same internet connexion, antivirus and f...

Move large resized image in IE(7 and 8) is very slow.

Hi, im writing some code to move dinamically an element on my page. If i try to apply this at img element with generous dimension i notice in IE a very slow down effect. Also, if the image is not displayed with its full size, IE seems to be more more slow. I think IE apply a sort of resize algorithm for img every time it is refreshed... ...

Ruby server very slow outside localhost (teambox)

I just installed TeamBox on my Ubuntu 9.10 server. I have it up and running on port 3000 using the provided server script. It's running extremely slow, up to 30 seconds per HTTP request when connecting from another computer. I used links to load up TeamBox from the shell and it took no time at all. I then setup an SSH tunnel and agai...

Slow select when inserting large amounts of data (MYSQL)

I have a process that imports a lot of data (950k rows) using inserts that insert 500 rows at a time. The process generally takes about 12 hours, which isn't too bad. Normally doing a query on the table is pretty quick (under 1 second) as I've put (what I think to be) the proper indexes in place. The problem I'm having is trying to run a...

SQL Server insert slow

Hi, I have two servers where I installed SQL Server 2008 Production: RAID 1 on SCSI disks Test: IDE disk When I try to execute a script with about 35.000 inserts, on the test server I need 30 sec and instead on the production server more than 2 min! Does anybody know why such difference? I mean, the DB are configured in the same way...

Why is doing a top(1) on an indexed column in SQL Server slow?

I'm puzzled by the following. I have a DB with around 10 million rows, and (among other indices) on 1 column (campaignid_int) is an index. Now I have 700k rows where the campaignid is indeed 3835 For all these rows, the connectionid is the same. I just want to find out this connectionid. use messaging_db; SELECT TOP (1) connect...

Is this slow WPF TextBlock performance expected?

Hi, I am doing some benchmarking to determine if I can use WPF for a new product. However, early performance results are disappointing. I made a quick app that uses data binding to display a bunch of random text inside of a list box every 100 ms and it was eating up ~15% CPU. So I made another quick app that skipped the data binding/...

Index page in Magento is way too slow, what can I do?

Weirdly, the index page of my magento commerce is very slow, while when you navigate the products, brands, searchs etc is very fast, but everytime you click on the banner to go for home or enter the website, it take ages to load I wonder what can I do about this? I don't know where to start, since I am new at magento. I thought I could ...

Is there a way to circumvent Python list.append() becoming progressively slower in a loop as the list grows?

I have a big file I'm reading from, and convert every few lines to an instance of an Object. Since I'm looping through the file, I stash the instance to a list using list.append(instance), and then continue looping. This is a file that's around ~100MB so it isn't too large, but as the list grows larger, the looping slows down progress...

MySQL slow queries

The MySQL slow query log often shows a bunch of following entries in sequence. SET timestamp=1268999330; commit; # User@Host: username[username] @ localhost [] # Query_time: 4.172700 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 SET timestamp=1268999330; commit; # User@Host: username[username] @ localhost [] # Query_time: 3.628924...

Slow SQLite access on iPhone

I have a quite slow data retrieval from a sqlite database on my iPhone and perhaps someone have an alternative idea to explain this. From what I tracked down so far sqlite3_step(statement) is sometimes unusually slow. While retrieving e.g. 50 rows from the database to execute this step takes normally some milliseconds but sometimes it t...

IIS6, ASP.NET MVC 1 and random slowdowns

I've recently deployed a MVC application to an IIS6 web server. One strange behaviour I've been having is the load times will randomly blow up to 30sec+ and then return to normal. Our tests have shown this occurring on multiple connections at the same time. Once the wait has passed, the site become responsive again. It's completely rando...

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...

WPF Using commands to slow to update UI controls

Hi, I bind a command to a button through command property and doing a command binding in the page it is placed. In execute method I create an instance of a class that contains the background worker and I start it (this is a long task). The background worker (bw) class contains a variable isRunning that it is set to true before DoWork me...

My C#.NET application is running slower when the exe is located on the network

Hi, My C#.NET application is running much slower when the exe is located on the network. And I'm talking about everything, even the graphical dispay is slower. For example: when a form is already loaded, if I unplug my network cable and minimize and maximize the window, it takes a very long time to redraw itself (whether the cable is p...