Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1204

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

10 votes
Accepted

Is using 64 bit integers (long long) faster than less bits ones?

And so, in order for this to matter, there must be: A performance difference, That can be measured, Where that measurable performance difference materially impacts your application. … concert with other improvement techniques, causes the performance requirement to succeed, as measured by your performance tests. …
Robert Harvey's user avatar
2 votes

What typical hardware improvements can be made to improve a Web app's performance?

You're probably not going to like this answer, but... Getting from four seconds to two seconds might require an architectural overhaul. Essentially, this is probably as fast as your Java Spring/Hiber …
Robert Harvey's user avatar
50 votes

Working through the single responsibility principle (SRP) in Python when calls are expensive

Many potential performance concerns are not really a problem in practice. The issue you raise may be one of them. … But don't make that tradeoff unless you know you have a performance problem. …
Robert Harvey's user avatar
7 votes

Comparison of build times on various hardware; why non-linear results?

Just off the top of my head: CPU performance is not the only thing that affects compile times. Benchmarks do not always take into account performance factors that affect real programs. … You have to consider other real-world factors that affect overall performance, like seek times on hard disks and the manner in which the code is written. …
Robert Harvey's user avatar
5 votes
Accepted

When using an ORM when should I sacrifice performance for convenience?

Identify an actual performance problem that is causing a significant impact. Measure the actual performance, using a profiler or timers. … Optimize those areas where the improvement in performance exceeds the additional effort required. …
Robert Harvey's user avatar
0 votes

Can Setter Validation affect performance?

If I have a grid that usually returns 500 records, I assume that for each record it passes on all validations. If my entity has 5 setter validations, than I have passed in 2,500 validations. Only …
Robert Harvey's user avatar
1 vote

Matching 2 sets of items by price

As a starting point... Sort their items by value divided by cost, in descending order. This gives you a list of their items with the most valuable items at the top. Select items from the top of this …
Robert Harvey's user avatar
5 votes

Is denormalising a data structure essentially a code optimisation, to which the normal rules...

Make sure that your optimization is actually going to give you the performance benefit you are seeking, before you spend the time and money optimizing." …
Robert Harvey's user avatar
3 votes
Accepted

When > apply a performance and memory profiler?

Use a memory and performance profiler when you need to find out why your program is running too slow or using too much memory. … Further Reading Beginners Guide to Performance Profiling …
Robert Harvey's user avatar
3 votes
Accepted

How can I be quicker at resolving application performance problems

iterations in each level may seem benign, but that's 1 million total iterations, and if anything is happening in that inner loop that takes any significant amount of time, then there's going to be a performance … Only optimize when you're going to get a significant gain in performance. Where this happens isn't always going to be obvious. Whenever possible, optimize later. …
Robert Harvey's user avatar
1 vote

Compile-time vs. run-time configuration

Performance is almost certainly a non-issue, since you can cache the values once they are read from the configuration file. …
Robert Harvey's user avatar
1 vote

What is the explication for the difference execution time for the same instruction?

If you're talking about the difference between 2 ticks and 3 ticks, it could simply be that, for a given execution, you started counting ticks early or late in a single tick cycle, and that the execut …
Robert Harvey's user avatar
11 votes

Where is the evidence for the performance of Node.js?

Let's have a look at the second claim. The JavaScript reactor pattern will always handle concurrency better than any multi-threaded application. To address this claim, I'm going to assume that concu …
Robert Harvey's user avatar
25 votes

Is a 1 < 10 comparison less expensive than 1 < 1000000?

Is there a difference in performance on the ALU level in comparisons between very large numbers vs very small ones? …
Robert Harvey's user avatar
13 votes

Why aren't we building and using parallel processors *meant* for general computation?

We already do; that's what multi-core processors are for. Part of highly-optimizing for speed is specialization. When you build processors that specialize in one thing, you can optimize for that one …
Robert Harvey's user avatar

15 30 50 per page