There have been some questions about List.js performance. How many items can it handle? How fast is the indexing, sorting and searching in larger lists?
Today I have an answer: Try it yourself at http://listjs.com/examples/performance-test.html
But for you who just want some quick stats have I done some benchmarking myself.
Important: All these stats are based on first runs (read more about first runs in the last paragraph of this blog post). And I have a new Macbook Pro and Chrome, so these stats are first run-best cases):
Indexing
Searching
Sorting
Adding
One thing worth mentioning when it comes to List.js and performance is that the default settings (changeable) only allows 200 items to be visible at the same time. This is to boost performance and helps A LOT for larger list.
(Hint: In future releases the handling of larger lists will be much smoother, promis)
One other thing worth mentioning is that modern browsers (like Chrome, Safari, Firefox) optimizes complex JavaScript at runtime which means that all scripts get MUCH faster the second time they are called. The data above are all based on first runs. Searching in 10 000 takes e.g 18 ms the second time compared to 800 the first.
Design by Simon Fletcher. Powered by Tumblr.
© Copyright 2010