blog’s amazing Rotating Header Image

Posts Tagged ‘optimization’

Ask git to check if your code is error free!

How about syntax checking your work before issuing a commit? I’m sure you know how it feels when those tiny last minute changes – hey it needs no testing! – just break your app after deployment.
If git is your version control system of choice, make sure you don’t miss the pre-commit hook feature, which was [...]

Google Closure: How not to write JavaScript

Dmitry Baranovskiy, the creator of the Raphaël and gRaphaël JavaScript libraries has serious criticism against the Google Closure JS library.
According to Dmitry:

“It’s a JavaScript library written by Java developers who clearly don’t get JavaScript.”
poorly optimized loops and unoptimized switch statements
memory caching with unlimited size: “I’m not sure what this pattern is called in Java, but [...]

“Micro” Optimizations That Matter

Brandon Savage compiled a good summary of application performance tips. Definitely not the difference between using single and double quotes in your code: these are easy to implement and effective (=”micro”) methods to improve responsiveness of your code, like:

Caching
Eliminate Any Sort Of Logged Errors
Enable Output Buffering For Everything
Make Use Of A Content-Delivery Network
Determine What Data [...]