jQuery.isInView: Performance Test and Comparison

Components
Repetition
Test types

Please don't scroll while the tests are running.

Results

Average time Visible elements*
$.fn.inView()
$.fn.inView(), content box
:inViewport selector
$.fn.isInView() loop
isInViewport
jquery.visible
jquery_lazyload**
hunt***

* As detected by the filter. isInViewport includes partially visible elements.

** Testing the $.inviewport() method of jquery_lazyload.

*** Invoking the in callback of hunt.