Popular Performance Programming Tips
Don't use Array.forEach, use for() instead
Afshin Mehrabani
·
19 responses
·
performance, loop, javascript
Why you should always append DOM elements using DocumentFragments
Thomas Lindstrøm
·
10 responses
·
performance, dom, document, fragment
Box / Unboxing vs. Encapsulation: Java's `Map<Something, Integer>`
Mufid
·
1 response
·
performance, java
Use NFS to speed up your Vagrant
Anton Kalyaev
·
19 responses
·
performance, virtualbox, vagrant
Use IN instead of ANY in PostgreSQL
Michał Czyż
·
6 responses
·
performance, postgresql
Speeding up AngularJS's $digest loop
Laurent Perrin
·
22 responses
·
angularjs, performance, digest, dirty-checking
Did you know you can multithread in JavaScript?
Thomas Lindstrøm
·
4 responses
·
performance, javascript, multithread
Don't use innerHTML to empty DOM elements
Thomas Lindstrøm
·
5 responses
·
performance, dom, boost, html
~~ is faster than Math.floor()
Afshin Mehrabani
·
10 responses
·
performance, math, shortcut, javascript
The prototype is your friend (if you care about perf)
Dan Tao
·
17 responses
·
performance, prototype, javascript
Fix Samba read and write performance issues.
Samuel Williams
·
1 response
·
performance, samba
Quick performance test on JavaScript console
justGoscha
·
3 responses
·
performance, javascript, performance-testing
Nginx aggressive asset configuration
Stéphane Bachelier
·
3 responses
·
performance, assets, cache, nginx
DO NOT $('#foo a'); DO $('#foo').find('a');
Adam Argyle
·
35 responses
·
css, performance, dom, jquery
Improve scroll performance of Chrome when using background-size: cover;
René Ras
·
5 responses
·
css, chrome, performance, background-size
MySQL SQL_CALC_FOUND_ROWS for pagination performance
Cristiano Diniz da Silva
·
0 responses
·
mysql, performance, pagination
How to not trigger browser repaint when opacity changes
Marcus Zanona
·
3 responses
·
css, performance, browser, css3
Fast byte array to hex string conversion in C#
Sascha Kiefer
·
2 responses
·
performance, convert, hex, c#
Tune up your PostgreSQL
Bartłomiej Danek
·
0 responses
·
performance, postgresql, tune up, database administration
Speed up your zsh completions
Adam Stankiewicz
·
4 responses
·
shell, zsh, performance
Measuring memory usage in Ruby
Bryan Powell
·
3 responses
·
ruby, performance
Use infinity.js for smooth infinite scrolling
Ash
·
0 responses
·
jquery, performance, js, infinite scrolling
Getting to know and love Chrome's CSS selector profile
Peter Mescalchin
·
1 response
·
css, chrome, performance, browser
Measuring JavaScript Heap
Jonathan Krause
·
0 responses
·
performance, javascript
setTimeout(func, 0) will not work as expected
Matt Johnson
·
4 responses
·
performance, javascript