Questions related to improving application performance, this can be range from selection software architecture to selection of algorithms.

learn more… | top users | synonyms

27
votes
8answers
1k views

What causes bad performance in consumer apps? [closed]

My Comcast DVR takes at least three seconds to respond to every remote control keypress, making the simple task of watching television into a frustrating button-mashing experience. My iPhone takes at ...
1
vote
4answers
207 views

Will LAMP meet the following needs?

I remember a few years back, when I had a web-site I wanted to develop, that many people recommended I go the LAMP route. Unfortunately, I never got around to studying/practicing that. I'm currently ...
2
votes
2answers
413 views

Why profile applications using AOP?

When tuning performance in a web application, I am looking for good and light-weight performance profiling tools to measure the execution time for each method. I know that the easiest profiling method ...
3
votes
2answers
761 views

Speed of MySQL type index access vs. binary jump search on a huge file?

I am dead set on moving over to a MySQL database for some huge data sets I'm working with but right now I don't have the time. In the meantime I am curious about a technical performance issue ...
6
votes
7answers
6k views

Best practices to follow with database indexes [closed]

What are some DOs and DONTs for improving database performance using index? A DO would be a case in which an index should be created, or another indexes related tip that will improve performance. A ...
4
votes
6answers
3k views

PHP email blasts using a cron job

My PHP application needs to send product expiry notifications to customers everyday. I am thinking of: A one-time cron job for a php script that identifies the customers from a table of 10000 rows ...
2
votes
6answers
1k views

How did you find the slow performance in your application?

What makes the web application perform and scale better is always a big topic. And finding the performance problems and tuning them is another... Here is some my thoughts of how to "finding" ...
1
vote
1answer
199 views

How to get good scenario coverage in performance benchmarks?

If it is relatively easy to get good code coverage from profiling (because profiling tells you which functions are/aren't called, how many times, and with what parameters), how do I get good ...
3
votes
1answer
907 views

What are the characteristics for a good report generation software for reporting and tracking software benchmarking results?

This is an offshoot question from this answer to a previous question, where http://speed.pypy.org is highlighted as an example having a good presentation. (However, it appears to me that the project ...
5
votes
1answer
503 views

How to apply OOP, SOLID principles and Design Patterns in a library which does parallel processing without the caller's knowledge?

I want to explore the contentions between the two hot topics: Clean code vs. Good performance. (In progress ... please post comments to help me flush out the details of this question. Thanks.) ...
5
votes
4answers
428 views

Does profiling without benchmarking lead to micro-optimization?

Read first: For a definition of the two terms ("profiling" and "benchmarking") and the need for distinguishing them, please read this answer to a previous question. I have to admit that until I saw ...
5
votes
3answers
651 views

Can software performance monitoring/profiling be automated to a high degree, as in unit testing?

Unit testing consists of executable code which exercise a certain functionality and then assert some conditions. The results are either Pass or Fail. The objective is always to have all tests ...
4
votes
3answers
698 views

On access scans and Visual Studio

Where I work McAfee On Access scan is enforced to be on for all our machines. Visual Studio 2010 isn't exactly the speediest program at times but combining a large website, several build ...
1
vote
1answer
2k views

Looking for web languages performance comparison [closed]

Not to long ago I was here on stack overflow and saw this great diagram of programming languages performance comparison, and now I can't find it... Does anyone have a similar comparison? The two I'm ...
2
votes
2answers
156 views

The role of determination of the variable type (floating point or fixed point) in program performance

I know with changing the variable type, the speed of the program change. I want to understand the other effects of this change in the software performance. I want to know if we use a floating point ...
3
votes
1answer
151 views

Performance issues when parsing code [closed]

I was wondering about performance issues when parsing a source file that is being edited by the user (for example, when you need to give a syntax highlight). I think that the simplest approach is to ...
5
votes
4answers
490 views

How does optimization make code “greener”?

It seems clear that whatever the language used, an optimized application consumes fewer resources than a poorly written application, and require fewer servers to manage a similar number of requests ...
2
votes
4answers
1k views

How to speed up PHP powered websites? [closed]

Many people are talking about somethings like accelerator, opcode, etc to speed up a website's performance. To be honest I do not know how to make any PHP website perform well and when do I need to ...
10
votes
15answers
785 views

Is it appropriate in a developer's job description to have “error free” as a key output?

As part of a review of all job descriptions, my company has decided to include the following as a key output: website development completed on time, within specification and error free Given ...
12
votes
6answers
3k views

What makes an application scalable?

I keep seeing in job postings that the applicant must have experience writing "scalable" applications. What makes an application scalable, and how do I know that my code can scale to millions of ...
8
votes
10answers
3k views

In term of performance : while , for … Loops VS recursion

What is better for performance to write the loop as linear e.g. for , while or write it as recursion ?
14
votes
5answers
3k views

How should developer performance be measured? [duplicate]

In many companies there is a formal procedure of reviewing employees' work. For example, a salesperson can stay she'll sell one million units at the beginning of the year. When she comes up for ...
7
votes
5answers
822 views

How do you off load work from the database?

In at least the web development field, web servers are everywhere but are backed by very few database servers. As web servers get hit with requests they execute large queries on the database, putting ...
1
vote
4answers
570 views

Database in the cloud?

Some of my recent clients are asking for remote connections to the office server, for standalone work, etc, in winForm applications. Since the concept of the web is remote connection to a server both ...
3
votes
2answers
211 views

How is performance testing integrated into your product lifecycle?

Do you do any performance testing in any repeatable and automated way? Do you trigger it as a part of CI builds? What tools do you use? How do you spot changes in trends? I'm looking for how-tos and ...
20
votes
8answers
4k views

How to Structure Bonuses for Software Developers? [duplicate]

I am a software developer, and have been asked to define a bonus structure for myself by recommending the metrics that will determine my bonus. I think, once I have defined this bonus structure, there ...
3
votes
3answers
257 views

Improve address lookup usability and accuracy?

In my application,I have a feature like this: The user wants to add a new address to the database. Before adding the address, he needs to perform a search(using input parameters like ...
2
votes
2answers
217 views

How can Agile methodologies be adapted to High Volume processing system development?

I am developing high volume processing systems. Like mathematical models that calculate various parameters based on millions of records, calculated derived fields over milions of records, process huge ...
6
votes
8answers
360 views

How often is software speed evident in the eyes of customers?

In theory, customers should be able to feel the software performance improvements from first-hand experience. In practice, sometimes the improvements are not noticible enough, such that in order to ...
2
votes
1answer
340 views

System response times — A good Service Level Agreement?

In order to view system performance, I have been asked by management to give page response times for a few key pages. I want to make sure I am giving a good picture of the overall health of the ...
3
votes
2answers
135 views

how do you manage application performance reviews

I have been trying to figure out ways to effectively do performance reviews before an install happens for all releases done by our team. Do you usually make this a part of code review process or do ...
3
votes
2answers
264 views

What will be a good python script (or your favorite language goes here) to test a system's performance and capabilities?

Let's say you're in a computer store looking at 10 laptops, you want to really compare the system's capabilities. What will be an efficient "your fav language goes here" script that will allow you to ...
10
votes
10answers
495 views

How to communicate with a co-worker that considers frameworks a performance hit

How can one sell an idea like "we should use jQuery because its highly optimized and cross browser compatible" or "entity framework is cool because its neat and takes care of our model automagically" ...
18
votes
14answers
2k views

Is slower performance of programming languages, really, a bad thing? [closed]

Here's how I see it. There's machine code and it's all that computers needs in order to run something. Computers don't care about programming languages. It doesn't matter to them whether the machine ...
1
vote
6answers
2k views

What is JQuery performance compared to YUI, Dojo and other frameworks? [closed]

I have been using JQuery for quite sometime now and I'm pretty much happy with the performance. I'm just wondering if there is any performance comparison between jQuery, YUI, Dojo, Prototype, ...
13
votes
4answers
4k views

Are DDD Aggregates really a good idea in a Web Application?

I'm diving in to Domain Driven Design and some of the concepts i'm coming across make a lot of sense on the surface, but when I think about them more I have to wonder if that's really a good idea. ...
1
vote
9answers
292 views

Programmer performance : based on location, timings

Do programmers perform better when working from office or from a location of their choice? Also do they work better with fixed timings compared to flexible hours?
2
votes
6answers
694 views

Programmer performance [duplicate]

I am a PHP programmer with 1 year of experience. As I am just starting my career, I am learning a lot of things now. I can say I am a little bit of a perfectionist. When I am assigned a problem I ...
29
votes
16answers
3k views

Should you sacrifice code readability with how efficient code is? [closed]

Should you sacrifice code readability with how efficient code is? e.g. 3 lines of code into 1 line. I read in Code Craft by Pete Goodliffe that readability is key. Your thoughts?
3
votes
3answers
219 views

How to query a very long list of properties fast

I have a structure for storing item properties on SQL Server: ItemId PropertyId Value 1 1 a 1 2 b 2 1 a 2 2 5 Currently there are over 130000 ...
14
votes
22answers
791 views

At What Point Should You Start To Think About Performance?

As I'm building applications I find myself constantly asking if this is best way to perform or implement a certain functionality. Often, I'll post questions on stackoverflow or another forum desiring ...
13
votes
2answers
681 views

What makes a large and complex software product slow?

For a reason that is largely irrelevant, I installed Delphi 7 once again in such a long time. I have to say, I was completely blown away - in a way I haven't been for rather a while. This is not how I ...
5
votes
2answers
335 views

What design is best for data transformation?

My company's database makes available data to a lot of external applications. So I need to transform the same data to a lot of dynamic views. I can see that a former database developer had implemented ...
5
votes
5answers
1k views

Is Moore's law (empirically) the same for both memory capacity and processing speed?

Or, in other words, has memory and processing power increased over time around basically in the same rate, or we could say that one or the other has increased more? Has cost decreased in the same ...
5
votes
1answer
526 views

Books on improving JEE web application performance and responsiveness

Does anyone know of any good books on this topic? I did search on amazon but ones that I found are pretty old publications.
1
vote
2answers
632 views

Multithreaded UI desktop application issues

I am involved into development a rich UI project: desktop windows application. Application uses asynchronous invocations and in its turn it should be ready to process external messages (events). The ...
16
votes
3answers
7k views

How do you do ASP.Net performance testing?

Our team is in need of a performance testing process. We use ASP.Net (both web forms and MVC) and performance testing is not currently built into our projects. We occasionally do some ad-hoc analysis, ...
18
votes
8answers
6k views

KPI's for Programmers [duplicate]

Do you know any Key Performance Indicators for Developers? What should be measured and monitored?
2
votes
1answer
158 views

Alternative methods for maintaining JavaScript source

I'm looking for other options for maintaining my personal JavaScript namespace. The problem I'm having boils down code Organization Vs. Performance. I would simply LOVE to be able to separate major ...
13
votes
5answers
6k views

JIT compiler for C, C++, and the likes

Is there any just-in-time compiler out there for compiled languages, such as C and C++? (The first names that come to mind are Clang and LLVM! But I don't think they currently support it.) ...