Performance Improvement
Once you have a profile, you can identify which region of code is "hot".
To improve the performance:
- change the algorithm and/or data-structures
- may give orders-of-magnitude better performance
- but it is extremely costly to rebuild the system
- use simple efficiency tricks to reduce costs
- may improve performance by one order-of-magnitude
- use the compiler's optimization switches (
gcc -O )
- may improve performance by one order-of-magnitude
|