slow

Mysql Connections topping out within seconds

hello, i have aweird problem that has only just started happening. i have a small cluster (one web and one db) setup and i host a rather popular group of4 -5 sites that allow users to dynamicly create their own mobile chat communitys automaticly. each site gets its own mysql db createdand populated automaticly. this is all fine, but ...

Slowing down computer for debugging intermittent defect

Is there a way to slow down my development computer to try to replicate a defect that only occurs intermittently on a slow machine? (For what it's worth, Ableton Live has a CPU usage simulation feature, but I've never seen something like this for debuggers.) ...

First time a Java loop is run SLOW, why? [Sun HotSpot 1.5, sparc]

In benchmarking some Java code on a Solaris SPARC box, I noticed that the first time I call the benchmarked function it runs EXTREMELY slowly (10x difference): First | 1 | 25295.979 ms Second | 1 | 2256.990 ms Third | 1 | 2250.575 ms Why is this? I suspect the JIT compiler, is there any wa...

MySql - slow sending data phase

One of my queries on MySQL 5.0.45 is running slow in "sending data" phase. The query is a simple select, returns about 300 integer ID fields as result set. mysql> SELECT source_id FROM directions WHERE (destination_id = 10); +-----------+ | source_id | +-----------+ | 2 | | 8 | ... | 2563 | +-----------+ 341 rows i...

VS 2008 SP1 over Remote Desktop: Constant Repainting?

The text editor in Visual Studio 2008 was very fast over Remote Desktop. The text editor in Visual Studio 2008 SP1 is very slow over Remote Desktop, causing way too much repainting (and resulting flickering). The slower your connection is, the worse the problem is, but it's aggravating enough even when RDPing into a machine on the same ...

VS2008 is slow in a development environment that is disconnected from the internet

My development environment is disconnected from the internet, and it seems that visual studio 2008 is very slow there. My guess is that the slowness is a result of vs2008 timeouts on attempts to perform internet operations, since on a similar PC that is connected to the internet, vs2008 is much faster. Does anyone know how can I speed up...

How do I disable plugins from command line on visual studio?

Resharper is killing me for some reason on startup, I just need to get in, is there a command line switch for load without addins? ...

Java classloading running extremely slow?

Hi, I'm trying to load a java .class file dynamically and call it by reflection. I've got a class called Foo; it has an empty constructor and has one method called doit() which takes a String argument and returns a String. Also it reverses the String. Here is my code: URL url = new URL("file://C:/jtest/"); URLClassLoader loader = ne...

Editing xml files with long lines is really slow in vim. What can I do to fix this?

I edit a lot of xml files with vim. The problem is that, because of the long lines, navigation/editing in vim is extremely slow. Is there something I can do (besides turning off syntax highlighting/filetype plugins and filetype indentation) to be able to edit these files without all that lag? It's really frustrating that a trivial thing...

jquery UI dialog open is mind-numbingly slow in IE7

Have a large amount of HTML, but where I thought the bottleneck would be is incorrect: it's when I'm opening the dialog, not when I'm building the string of HTML (~35ms), nor when I'm appending it to the dialog container div (~50ms). When calling dialog("open") below In FF, I'm consistently getting 1800+ ms, IE7 is around 17000(!) ms. ...

oracle insert with many bind variables over WAN is very slow

Hello, we have problem with slow insert statement using 40 bind variables as columns values. It runs several seconds when running over WAN link and we were not able to nail down the problem, until we used network analyzer. Every single execution of this prepared query required exchanging over 120 packets between client and server to com...

Simple MySQL Table Running Slow Queries

I have a very simple table with two columns, but has 4.5M rows. CREATE TABLE `content_link` ( `category_id` mediumint(8) unsigned NOT NULL, `content_id` int(10) unsigned NOT NULL, PRIMARY KEY (`content_id`,`category_id`), KEY `content_id` (`content_id`,`category_id`) ) ENGINE=MyISAM; When I run a simple query like: SELECT ...

Why is MinGW very slow?

I'm using Code::Blocks IDE with Gcc/minGW on Windows and I'm trying to build a wxWidgets application which has ca. 20k lines and 40 source modules. And it builds very very slow. Compiling a cpp module lasts 2-5 seconds, and linking lasts even 2-3 minutes. It's a portable code, this code on Linux compiles very fast. I can't follow the bu...

Why is intranet so slow on our machines?

Hi, we are using IIS 5 + Windows XP on our machines, they have Celeron CPUs @ 2.6 ghz, 2 GB RAM These machines have control system for machinery, control system logs events to database and we want to show reports for machinery usage, operator logins, etc. We use Windows XP and IIS 5, our applications are ASP.NET (3.5). We use Sql serve...

ASP.NET: ajaxToolkit's HoverMenuExtender slows down sorting in GridView

I have a GridView inside UpdatePanel and also a HoverMenuExtender declared. GridView also has Paging and Sorting enabled and PageSize is 25. Right now I'm working on a mockup of the actual application so I'm using a mock DataSet with only 20 records. Problem is when I try to sort gridView by clicking on a column it's VERY SLOW. It take...

Creating very large image files with BufferedImage, strange issues depending on compilation and computer

I'm attempting to create a very large image in Java like so: BufferedImage bi = new BufferedImage(58240, 1664, BufferedImage.TYPE_INT_RGB); obviously the image is very large. Now the issue I'm having is that it seems to work fine 100% on some computers but really slowly on others (and no this has NOTHING to do with specs). My most m...

Why does .NET Array class copy so slow?

I was disappointed to find that Array.Clone, Array.CopyTo, and Array.Copy can all be beat by a simple 3-line manually coded for(;;) loop: for(int i = 0; i < array.Length; i++) { retval[i] = array[i]; } Say the base case for performing an operation a few million times on an array of some predetermined size takes 10 ...

Multiple AJAX (jquery) calls causing extreme slowness and crashing

Hello, I wrote some code that asks for a user to enter a date range and click the next button. This triggers an AJAX call to a file that figures out what dates are included within those days and prints them out onto the screen. If the user changes the dates and presses "next" again, it does the calculation again. After doing this sever...

Win7 command processor (CMD.EXE) really slow

Does it seem to anyone else that the Windows 7 command processor (CMD.EXE) is really slow starting up? I ran this test from a command line (ntimer is a timing utility from the Windows server resource kit and you can just leave it out if you don't have it installed): ntimer cmd /c for /l %a in (1,1,100) do @cmd /c rem All it's doing...

.NET Application very slow after long period of inactivity

I'm not sure if the question title is the best one but it was the best one I could come up with... I have this .NET (C#) applications which starts up with Windows and remains opened until the computer is turned off. The app stays on the tray and I open it by clicking the tray icon and close it the same way. The app is not slow at first...