slow

Optimizing MySQL Query, takes almost 20 seconds!

Hi all, I'm running the following query on a Macbook Pro 2.53ghz with 4GB of Ram: SELECT c.id AS id, c.name AS name, c.parent_id AS parent_id, s.domain AS domain_name, s.domain_id AS domain_id, NULL AS stats FROM stats s LEFT JOIN stats_id_category sic ON s.id = sic.stats_id LEFT JOIN cate...

Why my computer opens Crytal Reports 8.5 file within about 20 seconds?

Hi I have installed Crystal Reports 8.5 on my computer recently. But When I open an existing file (.rpt), it takes about 20 seconds! The system O/s is : Win XP SP2. any help is appreciated... ...

Slow loading of images on IIS 6, Windows Server 2003

Hi, I have a Windows Server 2003 64-Bit VPS, and I'm experiencing a problem with pages, or rather more specifically images loading slow for all of the websites that are hosted on it. I have a shared hosting account with a particular company and also the VPS, and an identical site loads slower on the VPS. Initially I thought it was a c...

Php.ini Causing Ajax To Load Slow?...

Strange bug here... ajax has been loading slow on this server since day one... we thought it was the internet connection, until yesterday. I accidentally added an invalid extension into the php.ini file (ie. extension=php_pdf.dll), and then all of a sudden, the ajax loaded extremely fast. When I took out that invalid extension, the ajax ...

ASP.NET application on IIS7 - very slow startup after iisreset

I have an ASP.NET 3.5 website running under IIS7 on Windows 2008. When I restart IIS (iisreset), then hit a page, the initial startup is really slow. I see the following activity in Process Explorer: w3wp.exe spawns, but shows 0% CPU activity for about 60 seconds Finally, w3wp.exe goes to 50% CPU for about 5 seconds and then the pag...

how do I speed up netbeans' localhost?

I've just switched from radrails to netbeans. So far, so good. But I have noticed that radrails used to serve up pages a lot faster on localhost. I've left the server on glassfish, what can I do to make it run faster I'm on windows xp ...

localhost django dev server vs. postgres slow on mac os?

Hi StackO, Long time fan, first time posting. Hi! Anyone notice slowness from a django dev server running on Mac OS and connecting to a remote (postgres) db? It doesn't seem to be the DNS problem referenced elsewhere. We've got a staging instance running the exact same code on the same remote staging box that's hosting the db, and the ...

ms access complicated query. querying last two entries by date for each ID. very slow

I have two tables. Widgets, which has information about each widget (Color, size, etc); each widget has a unique ID, WidgetID. The other table is Tests, and it contains information about multiple tests that were run on each widget. This table, therefore, has multiple rows for each WidgetID. It contains information that we can call (Widg...

Slow performance on asp.net website, where to start looking for the problem?

I have developed a site using Asp.net C# 3.5 and now I feel that some of the pages are loading reeeaaally slooooow. I now need to start going through the website and try to find out whats making it so slow. But I don't know where to start, whats most likely causing the problem? Where do you usually start when trying to find out what is w...

Hibernate Unable to Start On Large-Scale Database

Hello, I have been using Hibernate + HSQLDB on my desktop for developing a database adapter for my application. For legacy reasons, the IDs are generated by the application as strings. All was working fine then. Now, we have a pre-prod database, with a bit more than a million records. I had to do some changes (e.g. identifier too long)...

MSMQ slow queue reading

I am using an open source .Net library which uses MSMQ underneath. After about a week or 2, the service slows down (not timed exactly but general guess). It appears that what is happening is messages from MSMQ are only being read exactly once every 10 seconds. Normally, they are read instantly. So they will be read at T+10sec, T+20se...

Purposefully Slow MATLAB Function?

I want to write a really, really, slow program for MATLAB. I'm talking like, O(2^n) or worse. It has to finish, and it has to be deterministically slow, so no "if rand() = 123,123, exit!" This sounds crazy, but it's actually for a distributed systems test. I need to create a .m file, compile it (with MCC), and then run it on my distribut...

How come the edit post page takes so long to load?

I just setup a new Wordpress blog at home, and no other pages takes forever...I am trying to just add an image to the post, but it is just taking forever...none of the other pages takes so long to load... And i have just optimized all my tables via mysq and a scheduled task, so i don't see why it's taking so long to load... ...

Initial iPhone virtual keyboard display is slow for a UITextField. Is this hack around required?

I have an app with a UITextField, amongst other things. When the user first taps on the text field, there is a noticeable delay before the virtual keyboard appears. On a 3GS it isn't too obvious, but on an older iPhone the delay can be around 1 second. After that the keyboard always pops up instantly. The delay is only the first time...

PDO constructor very slow (mysql)

This bit of code is taking almost a half second to execute. Could somebody help me with some reasons this could be happening and some possible solutions? If it matters, the DB is hosted by amazon rds $this->_connection = new PDO( $dsn, $this->_config['username'], $this->_config['password'], ...

localhost is slow sometimes

Hi there I'm using firefox as my default browser for my basic webdev learning process and I wish to know why when I'm doing some file transfer as ftp or p2p, accessing localhost takes so much time, as I was accessing an http server from the other side of the world. Any idea? Do you know how top fix it? ps: I'm using WAMP on a Windows...

NHibernate Configuration.AddDocument is slow

Hi all, i'm testing fluent-nhibernate in a small project. I have near 10 classes and when I call BuildSessionFactory method I get a slow response of about 4500ms (too much for a project that runs in about 40ms) I have identified that the longest method call is Configuration.AddDocument(xxx) in the NHibernate assembly. I don't set use_r...

Slow performance using anonymous functions in MATLAB... have others noticed this?

In order to refactor my MATLAB code, I thought I'd pass around functions as arguments (what MATLAB calls anonymous functions), inspired by functional programming. However, it seems performance is hit quite severely. In the examples below, I compare different approaches. (The code snippet is wrapped in a function in order to be able to u...

Why is PLSQL slower than SQL*Plus

I have several Oracle queries that perform well when run through SQL*PLUS. However when they are executed as a part of a PL/SQL package, they take MUCH longer. Our DBA has watched these queries take 10 minutes through PLSQL and 10 seconds through SQL*Plus. Does anybody have any pointers on where to look for the misconfiguration? Clie...

Why Interpreted Languages Are Slow?

I was reading about the pros and cons of interpreted languages, and one of the most common cons is the slowness, but why is the interpreted languages programs slow? ...