slow

WPF - slow service init connection

Hi, I am developing a small WPF application which is using web service. The web service is only available for internal users and they have to be logged in to their machines to be able to use it - it is using windows credentials. Everything works well except the connection speed. It takes around 10 sec to initiate the connection and do...

HashSet . slow performance in big set

Hi! I have encountered a problem i cannot find a solution. I am using a HashSet to store values. The values I store is of the custom type Cycles where i have overridden the HashCode and equals as following in order to make sure the slow performance is not cuased by the hascode or the equal methods Also i have set the initial capacity of...

Unreasonable WPF DataGrid Loading Time

I've always had long loading times with WPF DataGrids, and I cannot find any similar reports online, so I suspected that I was doing something wrong. Now I am sure of it, since adding layout complexity considerably slows down execution. In a very simple layout, the DataGrid populates instantaenously, whereas the code below takes around...

C# TableLayoutPanel – Clearing Controls is Very Slow

This is really simple. I have a TableLayoutPanel that is populated with controls (just Labels, Buttons, and some Panels with buttons) based on a database query. When the data needs to be refreshed, I use TableLayoutPanel.Controls.Clear(). Unfortunately, this is a very slow operation. I would expect it to be faster than the code populati...

UITableView becomes slow when switching views.

Hi, I'm working on an app which has a main menu which then switches views based on the menu item clicked using a UINavigationController. Whenever I run my app and click on an item in the menu, it is a good five seconds before the view loads. Is this normal or do I need to do this in another way. Thanks for looking! My code in RootViewCo...

XNA - Object Movement (?) gradually slowing down the game

Hello! I'm currently making a 2D game using XNA. I've made a class named GL_Object that contains my objects data (Sprite, Position, etc), and also contains a GL_Path object. GL_Path contains a GL_Motion. This GL_Motion object contains a list of GL_Movement objects. GL_Movement is a interface which holds two main methods, "ProcessMove",...

Flash Application Slows Down [removeChild]

Hi everyone, I have a problem with my flash application because after a while that it is running, it eventually starts to slow down. My application involves something that needs to be replicated with the addChild() method. I've read some info on the internet which states that the cause of the slowing down or the lag in the application i...

(iPhone)Instruments question

Hi, Just wondering if my iPhone application should be running slow when I put it through instruments? When I test my app using instruments, it goes extremely slow and is frustrating to use. Thanks. ...

Apache HttpClient in Android extremely slow downloading attachment

I am trying to download a zip file using HttpCLient 4 and it is going at around .5 (kilobytes/kilobits)? per minute. The file is less than a MB large, and the download will probably take an hour! Am I doing something wrong? How else should I do this? Here is my current implementation: @Override protected Uri doInBackground(S...

WinForms ListView draws HELL SLOW in Windows 7 Compared to XP

I'm using ListView in VirtualMode and Details View with small icons. This ListView have like 100,000 items inside. The problem is that drawing this listview is much slower in Windows 7 compared to XP. You can fill the slow drawing while scrolling the ListView or while multi-selecting items. Additionally, i noticed that drawing become...

IIS Slow response on POST requests

We've got a .NET application as a front end with a Java based ECM solution as a backend. So the front-end does requests to the back-end through IIS. The issue is that it works fine for GET requests, but POST requets are most of the times really slow (not always). We've tried doing POST requests using the POSTER plugin for firefox and i...

mysql ReplicationDriver, slow and timeout when using roundrobin mode.

I'm using replicationdriver according to this article for DB reading round robin though several databases. http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-replication-connection.html Whenever I enabled this, I had slow db response and sometime it resulted in timeout. The DB servers are fine. I wonder whether there are imp...

Some slow request on tomcat 5.5

Hello, we are testing our Tomcat 5.5 Server on a debian system. And we can see, that a few requests are very slow and can't find a reason therefore. We did some tests with Apache benchmark like this: # ab -n 10 -c 1 http://localhost/demo/startseite ... Connection Times (ms) min mean[+/-sd] median max Connect: ...

Custom Views take forever to inflate; inflate before show next screen possible?

I have some custom views that load when I start an activity with an XML layout containing them. They can be found in another thread, here: http://stackoverflow.com/questions/3392351/custom-view-not-appearing . The custom views take forever to load, and the Logcat is throwing a million warnings. I am considering just using a text button ...

Mysql performance with nested indices

I have a mysql table (articles) with a nested index (blog_id, published), and performs poorly. I see a lot of these in my slow query logs: - Query_time: 23.184007 Lock_time: 0.000063 Rows_sent: 380 Rows_examined: 6341 SELECT id from articles WHERE category_id = 11 AND blog_id IN (13,14,15,16,17,18,19,20,21,22,23,24,26,27,6330,6331,...

sliksvn first commit slow second fast

Ive created a program that needs to commit to repositories. I'm using slikSvn. It seems that the very first commit I make is very slow (20 sec) but every other commit is much faster more like 1 sec. Is there some kind of connection to slikSvn I can make when I first load my program to avoid this 20 sec commit? Please let me know what ad...

text search too slow on sqlite db on tableview on iphone

hi, I have a large table of around 2500 entries. I am displaying it on tableview. however the search bar is too slow while doing dynamic search. ie I am filtering the table everytime the user puts in a character on search bar. following is the code: - (void)searchBar:(UISearchBar *)theSearchBar textDidChange:(NSString *)searchText { ...

Java Event: slow network

Hi, I am trying to do a bit of asynchronous programming, but my Java skills are a bit rusty... Here's my code: private static String uname="xxx"; private static String pword="xxx"; private static int productId=82; private static String sessionToken=""; public static void main(String[] args) { BFGl...

Flex code doesnot(only sometimes) compiles in java+flex (+ BlazeDS+Tomcat ) combined project.a

i am working on a flex+java combined project. My IDE and computer configuration is as follows: Windows 7 Professional, 64-bit, Core2Duo 2.1GHz, 2GB Ram Eclipse (helios) with Flash Builder Premium v4.0 Eclipse plugin Flex=javaEE combined project with BlazeDS v4.0.0.14931 and Apache Tomcat 6 using BlazeDS remote object--RPC fo...

How to detach the local git repository from its working directory?

Is this feasible? I would like to have the .git directory on another drive than the checkout directory. I could not find a way to detach both. The reason is: there is an exchange area on a very slow network drive and limited space and this is a real nightmare with timeouts. At least the repository operations (synchronization with a svn...