performance

How does Google Maps work?

What is the name of the technology behind Google Maps which allows the server to send only the part of the map requested from the user to enhance the performance, and is there any library to handle this? ...

Performance impact of using Workflow Foundation

Hi, I realize this is a quite general question, but I am wondering about the performance impact of implementing business logic with WF contra imperative code in fairly large enterprise system. I would like to hear others experiences in this regard. ...

I/O Performance Sanity Check - Checking for a file's existence

Are you aware of any serious performance problems with checking if a file exists before you open it and send it? The context for this is a web application that serves up files dynamically via an ASP page. I was told that there is no check for whether or not the file exists because the database stores this information and shouldn't be wro...

which db should i select if performance of postgres is low

In a web app that support more than 5000 users, postgres is becoming the bottle neck. It takes more than 1 minute to add a new user.(even after optimizations and on Win 2k3) So, as a design issue, which other DB's might be better? ...

SQL Server 2005 performance issue

Hi ! I have a dev and a UAT environments. Dev is in our place, UAT is in client's place. Our DEV machine is a XEON 4 core @2,33GHz, 4Go RAM with Windows server 2003 The UAT physical machine is quite the same but a virtual machine is used (under VMWare). I don't know the exact parameters used for this VM. The problem is that the SQL ...

.htaccess redirect performance

Are htaccess redirects any slower/put any more strain on Apache than redirects in configuration files? Also, how big can a number of redirects in htaccess get before they start decreasing performance? ...

PHP Opt-Code Caching/Zend Acceleration and include_once vs. require_once

I have a colleague who is looking into Opt-Code Caching/Zend Acceleration (I've always assumed these are the same thing) for our PHP based application. His Benchmarks appear to indicate that we're NOT seeing a performance benefit if we include our (large) class libraries with require_once, but we DO see the performance benefit when usin...

Setting Performance goals for Developers

I'm about to go through and set a list of personal performance goals for a team of Developers (4) that I am now managing. They are in various stages of the Developer life cycle, from Intern through Senior. I'd like to get some feedback and examples of good SMART (Specific, Measurable, Achievable, Realistic, Timely) goals for any member...

When to separate files to save bandwidth

I'm doing some optimising for my site and am trying to figure out just how big some inline code can be before it can justify having it's own file instead of being written inline. My guess on how to measure it would be that the amount of code (CSS or JS in this case) would need to be bigger than the HTTP packets sent and received to get ...

Storing Documents as Blobs in a Database - Any disadvantages?

The requirements for my document management system were: Must be secure from theft by simple copying of directories, files etc. Must be secure against traditional virus infection (infection of physical file) Must be fast to retrieve The repository must not be visible to casual (directory) browsing users etc. I have decided to store a...

Are there any performance benefits of using SQL Server 2008 over SQL Server 2005?

Hi, Are there any performance benefits of using SQL Server 2008 over SQL Server 2005? ...

ASP.NET MVC URL generation performance

A little benchmark with ASP.NET MVC. Viewpage code: public string Bechmark(Func<string> url) { var s = new Stopwatch(); var n = 1000; s.Reset(); s.Start(); for (int i = 0; i < n; i++) { var u = url(); } s.Stop(); return s.ElapsedMilliseconds + "...

How can I troubleshoot Rendering Performance issues in IE

Our web application renders fast in some IE browsers, slow in others... It seems to be an HTML rendering problem... The first 10% of the page displays immediately, the last 90% takes up to 10 seconds, and this is static content. I've run with firefox/yslow, renders very quickly. Seems to be isolated to some users/configurations of ie...

Is WHILE TRUE...BREAK...END WHILE a good design?

I've been looking at some code recently where the author used something similar to this (pseudo-code): WHILE TRUE OpenAFile IF Failed BREAK ENDIF DoSomething IF NOT OK BREAK ENDIF ...etc... BREAK END WHILE Arguments for using this design was speed (due to 'fall through' routines) and...

Do the concepts in Accelerated C++ Practical Programming by Example still hold up today?

I was recommeded a book called: Accelerated C++ Practical Programming by Example by Andrew Koenig and Barbara E. Moo Addison-Wesley, 2000 ISBN 0-201-70353-X The basis of this book is that Object Oriented Programming is highly wasteful memory-wise, and that most source-code should not be written this way, rather that you should use ...

Most memory efficient way for searching within a string in C

What is the most memory efficient way to search within a string in ANSI C? (put the code up) An example where this is needed is in embedded devices that are very short on available memory but nowadays have reasonable clock cycles. ...

How to improve Trac's performance

I have noticed that my particular instance of Trac is not running quickly and has big lags. This is at the very onset of a project, so not much is in Trac (except for plugins and code loaded into SVN). Setup Info: This is via a SELinux system hosted by WebFaction. It is behind Apache, and connections are over SSL. Currently the .htpa...

Java very large heap sizes

Does anyone have experience with using very large heaps 12 gb or higher in Java? Does the GC make the program ununable? What GC params do you use? Which jvm sun or bea would be better suited for this? Which platform linux or windows performs better under such conditions? In the case of windows is there any performance difference to be ...

OpenGL: Fast off-screen rendering

I need to render quite alot (tens of thousands) images off-screen using OpenGL. I am running under Windows and using QT as a framework. the solution can be windows only, it doesn't really matter. From what I've found using Google there are a number of options for doing this This article which seems rather dated suggest a few ways, out o...

What steps do you take to increase performance of a Sharepoint site?

Sharepoint isn't the speediest of server applications, and I've read about a few tips to speed it up. What steps do you think are necessary to increase performance so it can be used to host a high traffic site? ...