Performance

 

 

Improve Your Recursions Performance With Tail Call Optimization

Improve Your Recursions Performance With Tail Call Optimization

I've always heard about optimizing recursions with tail call optimization (TCO), so lately I've decided to learn more about it.  While it seemed pretty cool that we can bring the performance of a recursive loop closer to that of the manual loop, I was in for a big...

Learn How To Compress Your Responses With Express and Node.js

Learn How To Compress Your Responses With Express and Node.js

Compression reduces up to 70% of the size of text-based files ( HTML, JS, CSS, etc..) and some compression algorithms can reduce the size even more, this will result in a much faster loading time for your clients and less bytes going over the wire. Gzip compression is...

Display Large Amounts Of Data With A Virtual List

Display Large Amounts Of Data With A Virtual List

There will come a time when you’ll work on an application that will have to display a large amount of data at the same page, the page will slow down or even the application will be blocked until the rendering is finished. Let's see how to handle this type of...

Correctly Use Javascript’s Imports To Improve Bundle Size

Correctly Use Javascript’s Imports To Improve Bundle Size

A very often overlooked aspect for developers is how they import their libraries into their project. Importing libraries incorrectly will rapidly increase your bundle size, increase your build time and will make the user eventually wait more time for the page to load....