slowness

Web Server slows down (ASP.NET)

We have a really strange problem. One of the servers in the server farm becomes really slow. We see a number of timeouts in the logs and overall response time is not where it should be (and is on other servers in the farm). What is also strange is that it is not just the web app - Just logging into the server takes up to 1.5 min to sho...

How to speed up Visual Studio 2008? Add more resources?

Hello, I'm using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time (2 minutes) to run the debugger, compiler, and if I save a file in my app_code folder it locks up for 2 minutes. I have 12 Gb of r...

Is WPF the reason my application is slow?

I am developing an application using WPF. The app runs full screen, and I need it to resize nicely no matter the monitor resolution. The graphic designer has designed beautiful images for the UI buttons, backgrounds, etc. Using an Illustrator plug-in, all the images have been converted to xaml files. I've added all these images into the ...

Exceptionally slow javascript performance on one laptop out of a few dozen

I'm working on a web application using a pretty heavy amount of javascript. On the majority of computers (all running IE6...unfortunately), the average document.ready time is about 2 seconds. While this isn't great, it's at least useable. The problem is one computer has ridiculously slow javascript document.ready times. Something that w...

Why is postgresql update query so slow sometimes, even with index

i have a simple update query (foo column type is BOOLEAN (default false)): update tablename set foo = true where id = 234; which "id" is set to (primary) key, and if i run "explain analyze" i got: Index Cond: (id = 234) Total runtime: 0.358 ms but still, i have plenty of unexplained queries at slow log (pgfouine), which took more t...

Slow site... but just in Chrome/Safari

I'm trying to find a bug in a web application, which is causing Chrome and Safari to take up to 15 seconds to load the page (Firefox and IE, there are no problems). I've tried using Chrome's developer tools to find out what is causing the slowdown, but am unable to understand what elements/script is slowing down the page. This is a joom...

Intermittent slow query on SQL Server 2008

I am developing a system which periodically (4-5 times daily) runs a select statement, that normally takes less than 10 seconds but periodically has taken up to 40 minutes. The database is on Windows Server 2008 + SQL Server 2008 R2; both 64bit. There is a service on the machine running the database which polls the database and genera...

Is there a way to move many files quickly in Python?

I have a little script that moves files around in my photo collection, but it runs a bit slow. I think it's because I'm doing one file move at a time. I'm guessing I can speed this up if I do all file moves from one dir to another at the same time. Is there a way to do that? If that's not the reason for my slowness, how else can I spee...