slow

Howto Speedup Visual Studio(2005/2008) Toolbox initialization

Every time I open a windows forms application in VS .NET it takes minutes to initialize the Toolbox. Is there a way I can tell VS to cache this toolbox somehow? ...

High latency using brctl, eventual timeout.

When using brctl, my latency on the notebook that is doing the bridging becomes horribly slow. Eventually, I cannot get the notebook to connect to anything, even the routers admin panel, or pinging the router. The scenario is I have an 802.11b router upstairs, an 802.11b card in my notebook, and an eth port in my notebook. I am setting ...

How to make visual studio 2008 ASP.NET designer faster?

Visual studio designer for asp.net applications is generally very slow and i would like to know if there are any tips or guidelines for settings in order to get better. The problem is usually noticed when i try to make a change in design or source view, especially in source view it may get non-responding for a couple of seconds. ...

How do I bulk upload to s3?

I recently refactored some of my code to stuff rows into a db using 'load data' and it works great -- however for each record I have I must upload 2 files to s3 -- this totally destroys the magnificent speed upgrade that I was obtaining. Whereas I was able to process 600+ of these documents/second they are now trickling in at 1/second be...

MySQL performance optimization: order by datetime field

I have a table with roughly 100.000 blog postings, linked to a table with 50 feeds via an 1:n relationship. When I query both tables with a select statement, ordered by a datetime field of the postings table, MySQL always uses filesort, resulting in very slow query times (>1 second). Here's the schema of the postings table (simplified): ...

Java Applet starts up very slowly for some users?

Hi, [UPDATE: I forgot to add that this 30 sec. freezing problem only happens the first time I try to load a file from the server. Subsequent loads are very quick. Maybe some strange reverse DNS lookup? I am hosting on Google's appengine.] I started a little project recently called http://www.chartle.net which is build around an applet....

PHP / Curl: HEAD Request takes a long time on some sites

I have simple code that does a head request for a URL and then prints the response headers. I've noticed that on some sites, this can take a long time to complete. For example, requesting http://www.arstechnica.com takes about two minutes. I've tried the same request using another web site that does the same basic task, and it comes bac...

Windows Forms: using BackgroundImage slows down drawing of the Form's controls

I have a Windows Form (C# .NET 3.5) with a number of buttons and other controls on it, all assigned to a topmost Panel which spans the whole Form. Eg the hierarchy is: Form -> Panel -> other Controls. As soon as i assign a BackgroundImage to the Panel the Controls draw very slowly. I have the same effect if i use the Form's BackgroundIm...

How to go about speed testing my PHP script?

I have a script that is running slowly and I was wondering how I could time it and see which fixes improve the speed. Is there some sort of a PHP timer? Update: Thought I should clarify... The script that is running slowly is my mailing list script that sends an email to everyone on the list. So I am looping through an array of subscrib...

Why is WPF application running in debug mode slow?

Hi there, I know that running applications in DEBUG (build configuration) thru the visual studio adds a level of overhead but I have a WPF application that I am testing out that is painfully slow in its execution and other functions such as drag/drop of items. When I run the application in Release mode it performs like one would expect...

.NET MVC Slow Site

I have a site that is taking around 20 seconds to load every page (no matter what it does) So i put in a /scripts/test.html that isn't part of a route and it still takes this long... no db hit nothing. I renamed the web.config to _web.config and it loads instantly, rename it back... back to around 20-30 second load times. Running the ...

Is anybody experiencing slowness when using Visual Studio 2008?

Is anybody experiencing extreme slowness when using Visual Studio 2008? I have a fairly beefy machine so I don't think hardware is the issue, and I didn't have these issues with 2005. Basically everything that I do is slow, from opening a new project, to opening code, to saving files. All of my Windows Updates are up, I have VS2008 SP...

PHP: mysql_fetch_array() in a while-loop takes too long

I am creating an online calendar for a client using PHP/MySQL. I initiated a <table> and <tr>, and after that have a while loop that creates a new <td> for each day, up to the max number of days in the month. The line after the <td>, PHP searches a MySQL database for any events that occur on that day by comparing the value of $i (the c...

Sqlite + 80K rows + LIKE = keyboard lag

I've had this problem that I have been putting off solving, but now is the time. I have a basic dictionary program. It has a UISearchBar and a UITableView. It works the way that it should except when running on the device it causes Keyboard lag. (Simulator is fine, of course) I have two types of searching. As-you-type and On-return. I f...

WPF column resize performance issues

Are there in general any known performance issues in WPF related to grid column resizing? I have an application where I need to do some particular things in a column, but for all the different solutions I find the column resizing gets slow. This applies when I have typically more than 1000 elements in my list, but I assume this isn't t...

Why is this piece of Javascript code so slow?

I have this piece of Javascript code, which takes about 600 ms on every call in Internet Explorer. The time taken in other browsers is negligble. var _nvs_currentTab; var _nvs_zoomfield; var _nvs_centerfield; var _nvs_globsearch; var _nvs_category; var _nvs_favsonly; var _nvs_wishonly; var _nvs_friendfavsonly; var _nvs_newitemsonly; var...

Why is the JVM slow to start?

What exactly makes the JVM (in particular, Sun's implementation) slow to get running compared to other runtimes like CPython? My impression was that it mainly has to do with a boatload of libraries getting loaded whether they're needed or not, but that seems like something that shouldn't take 10 years to fix. Come to think of it, how do...

How efficient is javascript?

Sometimes I hear the argument against doing things on client side using javascript. People say stuff like "JavaScript is inefficient...or slow". I'm wondering if there actual facts supporting this conclusion? ...

Debugging in visual studio takes 5-15 minutes per page(aspx)

I'm running a Pentium 4 2.8 ghz with 1.7g gigs of ram. ...

Visual Studio 2008 Help slow to load... How come?

Lately, bringing the help window from Visual Studio is taking a long time. Even updating the help system takes an awful long time. Is there something broken with my installation? ...