slow

VS2008 is very slow on a specific large C++ solution

I have a solution with 21 C++ projects and 1 VB.NET project. The IDE responds very slowly when I simply move the carret in a file or try to open the menu. The process seems to take 50% of CPU for each movement. It only happens with this solution and only on my machine. The solution has total of 2380 source and header files, of which 128...

PHP script keeps doing mmap/munmap

Hello, My PHP script contains a loop, which does nothing much more than echoing and dereferencing pointers (like in $tab[$othertab[$i]]-> stuff). It was working great until yesterday, when this script starting being VERY slow (like 50 times slower than before). After using strace, i figured out that 90% of the time, the script does m...

ASP.NET Website no Response while Processing Long Process

Dear Programmers, When my Application face a long-time process, i.e fetch a query (SELECT a, b, c FROM d) This query needs 10 seconds to be completed in the MSSQL Management Studio, but when the ASP.NET application try to fetch it, it refuse to return any response to any other requests made on that Server. I am hosting my Application o...

appengine log console extremely slow

I am using the python app engine and finding that the log console on the local development server is terribly slow. Output to this window seems to show in chunks of about 5-15 lines every second. Is that typical? I find that it's so slow that it hinders my debugging time waiting for log data to appear. ...

VS2010 and WPF slow debug issues

hi all, im (like a lot of other people) doing my first steps in vs2010. one of the things i just found which really annoys me is that each time i try to debug a WPF application the ide slows down so each movement from one statement to the other results in 10 sec. (!) waiting. what can i do ? is there a nice solution (besides not using...

Slowing down some Javascript

I have a large list of instructions that I need executed sequentially but slowly. One every ten milliseconds or so. I'm thinking about a queue type data structure but am unsure how to proceed. ...

MySQL Slow join - but not always and not on all tables

We're experiencing a performance issue with a MySQL database that's so weird we need another set of eyes to tell us whether we're going crazy or not. We've got 2 MySQL Certified Developers in the team, but all they can say is : "this is impossible". Anyway, here's the situation : we have a query that in theory should be reasonbly fast, ...

mysql slow query log

I am trying to write a script to parse the MySQL slow query log. I have seen 1 or 2 parser. does anyone know how to extract the information from that log? I mean does anyone know the structure of the file so I can work with that and if anyone know a good parser for this log file? thanks ...

Why is calling a function (such as strlen, count etc) on a referenced value so slow?

I've just found something very strange in PHP. If I pass in a variable to a function by reference, and then call a function on it, it's incredibly slow. If you loop over the inner function call and the variable is large it can be many orders of magnitude slower than if the variable is passed by value. Example: <?php function TestCoun...

Very slow TRUNCATE accompanied with "Server seems busy" on httpd log

I have this very simple table with only 35 rows on 5 simple columns (primary key on id auto increment, title (varchar), a bool, and 2 datetime). As we work in team, we import data from Google Docs, rephrase it as a SQL to do a TRUNCATE->LOCK TABLE WRITE->INSERT INTO (multiple lines)->UNLOCK TABLE at once. On other bigger, more complicate...

Android animation slows down

I have a continuous frame animation which runs 24 frames per X seconds, which is working fine, Now when i run another two animations ( Alpha animation ) at the same time , i notice performance drop , that is frame animation slows down. Any idea why this is happening, and is there any work around for this? Thanks in advance. ...

With Spring Transactions with Hibernate, how can you get 2000+ inserts to not slow down in the same transaction?

I have a curious little problem. I have a service that needs to create 2000 records in the database, minimum on various tables. While it would be nice to have them run in the same transaction, the performance gets to be really bad around 400-600 inserts. For some reason, the inserts go slower and slower. I suppose that Hibernate needs t...

[iPhone] App works really slowly

I have big problem with my app on the iPhone. It's extremly slow. ( I run it on the simulator, but on device it's even slower) I'm using the newest Xcode and run it on the 4.0 simulator. When I render 10 quads, I have 60 FPS. When I render 30 quads, I have 30 FPS What's going on? Here's my render function (void)render { // Replac...

Stop slow-loading script with GreaseMonkey

On a page that I visit, it has a slow-loading external script that occasionally takes so long that the page is basically unusable. Disabling this script entirely removes some functionality, but it's better than nothing. Is there a way I could use greasemonkey to cancel the script? I know I could use NoScript, but I wanted to give it a...

Android - Debug slow running code

Hi, Is there a good way (proper way, or effective way) to debug slow running code? I have a thread which runs multiple loops and then recurses and my code is running very slow. Is there a good way to debug different loops or sections of code to find out which is running slowest? If the debugger already does this, can someone please e...

qt - dynamic forms very slow

qt - This code very slow QWidget *MainWindow::loadUi(QString uiPath) { QWidget *newui; QUiLoader loader; QFile uiFile(uiPath); if(uiFile.open(QIODevice::ReadOnly)) { newui = loader.load(&uiFile); newui->show(); uiFile.close(); } else { QMessageBox::warning(this, "error", "o...

VS2010 WPF debugging: TextBox typing is very slow, just me?

I am creating a new application in .NET 4 and the TextBoxes are way too slow, I haven't applied any Styles, Bindings etc. just plain TextBox. I tried to create a new project with a TextBox in Visual Studio 2008 and the TextBox works good. Note: The problem only occurs in debug, when I run without debugging (^F5) it works good in VS2010...

Generation of backup puts my website down - is there an easy solution?

Hi. On my database server there is a cronjob that backups all the databases in a way that makes it easy to restore them. It is something like this: 0 5 * * * /usr/local/bin/backup.php The problem is that the website (using that db server) is very slow during that process. Even, Pingdom sends me a 'website down' alert at the start of ...

Swing load available font family slow down the performance

After I add in this code to load the available font family and add it in to combobox GraphicsEnvironment ge = GraphicsEnvironment. getLocalGraphicsEnvironment(); String[] fontNames = ge.getAvailableFontFamilyNames(); It load very slow took about 7 seconds to show the page when i trigger the page. After i take it out it load fine as...

iPod App runs slower on 32GB model than on 8GB model

Hi all, I have a big performance problem on 32GB iPod touch model 3rd generation. The App is a port of an DS 3D game. The rendering is done with OpenGL ES 1.1. It uses OpenAL for Audio and the MPMoviePlayerController for videos. The performance on a 8GB iPod touch is fine, it runs constantly with more than 30 fps. Then I tested it on ...