performance

EnterpriseDB InfiniteCache

Has anyone ever used EnterpriseDB infinite cache? Any successes or failures? I am doing research on it and find painfully little that is not marketing speak. ...

Performance monitoring : CA Wily vs Dynatrace - Are you using these ?

Tried researching a comparison study with CA Wily & Dynatrace, but couldn't find good material. Wanted to know if fellow SO users have used either of these two. If you are, are there any features you like/dislike in them ? ...

Performance benefits of Apache Tomcat native connectors

I have compiled and deployed the native connectors for Tomcat and have run my load testing benchmarks. There is no measurable difference. So my question is, under which circumstances are native connectors demonstratably faster? and can they be tuned to gain more performance from them. I do not mean "how do I benchmark to show an incre...

iPad: UIImage imageWithContentsOfFile performance problems

I need to display a 20 x 15 grid of images on an iPad. Each image is 50px x 50 px. I am using [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"name" ofType:@"png"]] to do this but am running into performance issues. The application lags heavily. There are 14 different types of images, all 50x50 in png format. ...

UI design - Best way to deal with many UIButtons

Hi, I'm running into problems when dealing with a large amount of UIButtons in my interface. I was wondering if anyone had first hand experience with this and how they did it? When dealing with 30-80 buttons most simple, a couple of complex do you just use UIButton or do something different like drawRect, respond to touch events and g...

SQL(plus) performance with sequence

Hi All, I have to generate some million update from some table, to update themselves. I had just recently learned about parallel(tablename,threads) which really improved the performance in PLSQL developer when I had run something like this: select /* + parallel(table1,100) parallel(table2,100) */ 'update table1 set id = 1 where ...

Efficient way to clone a HashSet<T> ?

A few days ago, I answered an interesting question on SO about HashSet<T>. A possible solution involved cloning the hashset, and in my answer I suggested to do something like this: HashSet<int> original = ... HashSet<int> clone = new HashSet<int>(original); Although this approach is quite straightforward, I suspect it's very inefficie...

Speeding up WIX compiles

I have a WIX 3.0 installer that is building 88 slightly different builds (cross product of 32 and 64-bit, 11 locales, four editions (Beta, Retail, Evaluation, Different Evaluation). Each build has slightly different contents in addition to localized UI, so I can't just build one configuration with multiple locales. The resulting MSI is...

RAMdisk slower than disk?

A python program I created is IO bounded. The majority of the time (over 90%) is spent in a single loop which repeats ~10,000 times. In this loop, ~100KB data is generated and written to a temporary file; it is then read back out by another program and statistics about that data collected. This is the only way to pass data into the secon...

Calculate database performance on overload.

I don't know if this is the right place for this question, but here it comes: I have a db function that I tested and can handle about 3000 requests/minute. The problem is that this calculation just gives me the optimal performance of the function (~18ms/request). How do I calculate the performance when the requests are twice, triple or ...

Performance of reading a registry key?

I'm wondering how long it takes (in milliseconds) to read a registry value from the Windows registry through standard C# libraries. In this case, I'm reading in some proxy settings. What order of magnitude value should I expect? Are there any good benchmark data available? I'm running WS2k8 R2 amd64. Bonus points: How impactful is the...

How to get performance increases using Processing for Android?

I have converted a few of my Processing sketches into Android apps, but they seem to run really slowly in the emulator and on my device. Are there any tips on how to increase the speed and performance of my sketch running as an Android app? Are there things or parts of the Processing API I should avoid? ...

Tips for optimizing performance when using tons of CALayer objects?

My app architecture / hierarchy looks like this: UIView UIView CALayer | CALayer | CALayer | CALayer .... (and a few hundred more) These CALayer instances represent small square dots in a dot matrix display for an fast countdown clock. I'm updating their backgroundColor as often per second as possible. Actually what I want is 60 times...

Good Performance on Octave or Matlab / Bad Performance on gcc

Hallo Everyone, I am actually on topic of 3d-Scanning for robotic pick&place-applications. To get a start I'm using an ICP-algorithmus to match the position of a reference object relative to the actual object. For this purpose I am using Octave/Matlab with the following code: http://www.mathworks.com/matlabcentral/fileexchange/12627-it...

Testing the speed of a jQuery function in IE

I have two pretty elaborate jQuery functions that produce the exact same result, but they do it in two entirely different ways. What is an easy way to compare the duration of the two functions? (Testing in IE7 specifically.) ...

What is the .NET equivalent of java's -verbose:gc command line option

I'm writting an ASP.NET MVC application and I'm seeing a seemly random performance from a one of my actions. My initial throught is that the garbage collection is kicking in and pausing the app for a little while, but I can't seem to find a button/switch that will prove or disprove my theory. For none java people out there -verbose:gc i...

Find and replace in CSV files with Python

Related to a previous question, I'm trying to do replacements over a number of large CSV files. The column order (and contents) change between files, but for each file there are about 10 columns that I want and can identify by the column header names. I also have 1-2 dictionaries for each column I want. So for the columns I want, I want...

If block vs Switch-Case block

Generally is there a performance difference between using an if block with many else ifs compared to a switch case block? Do some languages or style conventions prefer one over the other? Specifically I am curious about Matlab, C, and C++ ...

How to store millions of Double during a calculation?

Hello, My engine is executing 1,000,000 of simulations on X deals. During each simulation, for each deal, a specific condition may be verified. In this case, I store the value (which is a double) into an array. Each deal will have its own list of values (i.e. these values are indenpendant from one deal to another deal). At the end of a...

Why is pointer access slower than vector::iterator access? (compiler code generation)

OK, the question title is a bit crappy, but I didn't really know how to phrase this better. The problem I have is that given a std::vector<T> vs. a T* + size_t count my compiler (Visual Studio 2005 / VC++ 8) will actually generate worse code when looping over the pointer than when looping over the vector. That is, I have a test struct ...