@danielkalen/simplybind
Version:
Magically simple, framework-less one-way/two-way data binding for frontend/backend in ~5kb.
23 lines (18 loc) • 467 B
text/coffeescript
new TestSuite
'title': 'Create Object Bindings'
'subtitle': 'Create 1000 bindings to objects'
'measureMethod': 'sync'
'nonSharedTest': true
'timesToRun': 1
'setupFn': ()->
= 'prop':'value'
= ({'prop':null} for i in [1..1000])
return
'teardownFn': (container$)->
SimplyBind.unBindAll(, true)
delete
delete
delete
'testFn': ()->
SimplyBind('prop').of()
.to('multi:prop').of()