Top "Optimization" questions

Optimization is the act of improving a method or design.

Profiling a Java Application in Eclipse? (plug-in)

I'm looking to find bottlenecks in my Java application in Eclipse. I'm thinking this might be useful: http://www.eclipse.…

java eclipse optimization profiling plugins
Fastest way to remove duplicate documents in mongodb

I have approximately 1.7M documents in mongodb (in future 10m+). Some of them represent duplicate entry which I do not …

mongodb performance optimization duplicates
Which is better option to use for dividing an integer number by 2?

Which of the following techniques is the best option for dividing an integer by 2 and why? Technique 1: x = x >&…

c++ c optimization division micro-optimization
How to prevent GCC from optimizing out a busy wait loop?

I want to write a C code firmware for Atmel AVR microcontrollers. I will compile it using GCC. Also, I …

c optimization gcc avr-gcc
Print All JVM Flags

Found an interesting JVM Flag : java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version It prints hundreds of various options, I never heard …

java optimization printing jvm flags
How many GCC optimization levels are there?

How many GCC optimization levels are there? I tried gcc -O1, gcc -O2, gcc -O3, and gcc -O4 If I …

c optimization gcc compiler-construction
Unobtrusive JavaScript: <script> at the top or the bottom of the HTML code?

I've recently read the Yahoo manifesto Best Practices for Speeding Up Your Web Site. They recommend to put the JavaScript …

javascript performance optimization coding-style
Draw Rectangle with XNA

I am working on game. I want to highlight a spot on the screen when something happens. I created a …

c# optimization xna
How to calculate percentage improvement in response time for performance testing

How should I calculate the percentage improvement in response time. I am getting 15306 ms response time for old code and 799 …

optimization time
Very slow Eclipse 4.2, how to make it more responsive?

I'm using Eclipse PDT on a rather large PHP project and the IDE is almost unusable. It takes nearly 30 seconds …

eclipse performance optimization eclipse-juno