Skip to content Skip to sidebar Skip to footer
Showing posts with the label Performance

Does It Consider Recursion If I Call Onload Event On The Funcion Which I'm Inside?

I have this code: function lazyCss(gallery) { var images = gallery.slider.find('[data-laz… Read more Does It Consider Recursion If I Call Onload Event On The Funcion Which I'm Inside?

Jquery/javascript - Performance-issue When Having A Lot Of Small .js-files?

i've got a site with a lot of referenced .js-Files; those are rather small files, but I want to… Read more Jquery/javascript - Performance-issue When Having A Lot Of Small .js-files?

Why Does The Execution Time Vary?

I measure execution time like this: function testFn() { return true; } console.time(… Read more Why Does The Execution Time Vary?

Array.foreach Running Faster Than Native Iteration? How?

http://jsperf.com/testing-foreach-vs-for-loop It was my understanding that Test Case 2 should run m… Read more Array.foreach Running Faster Than Native Iteration? How?

Does The Browser Re-render The Whole Page On Changes Or Only The Specific Elements?

Assume I have an element with id #msg and on a certain condition I want to add to it a class in ord… Read more Does The Browser Re-render The Whole Page On Changes Or Only The Specific Elements?

Jquery Bind() Unbind() And On() And Off()

Im working on a small adminarea for a webpage. Does it make sense to unbind events for increasing p… Read more Jquery Bind() Unbind() And On() And Off()