davidgtonge / backbone_query

A lightweight query api for Backbone Collections
MIT License
378 stars 29 forks source link

Implement benchmark.js? #17

Closed pocesar closed 6 years ago

pocesar commented 11 years ago

It would be nice to have an out-of-the-box benchmark to run using node benchmarks.js using Benchmark.js.

I'm using this library on a AngularJS project and angularjs is known of firing the same cycles over and over again, just one page load, a $watcher is called 90 times!

so I'm interested to I can rest assured that this won't ever be a bottleneck.

davidgtonge commented 11 years ago

Good, idea. I've been re-writing a lot of the library and will push the updated version live shortly. I've been doing quite a few tests via jsperf.com, but I'll add in a performance cli script.