new TestSuite 
	'title': 'Input Update'
	'subtitle': 'Update the value of an input field 10,000 times'
	'measureMethod': 'sync'
	'warmUps': 10000
	'timesToRun': 10000
	'setupFn': (container$)->
		@obj = 'prop':'value'
		@input$ = $('<input type="text">')
		currentValue = 0

		SimplyBind('prop').of(@obj)
			.to('value').of(@input$)

		@getNewValue = ()-> "value#{currentValue++}"
		
		container$.append @input$
		return

	'teardownFn': (container$)->
		container$.empty()
		SimplyBind.unBindAll(@obj, true)
		SimplyBind.unBindAll(@input$, true)

		delete @obj
		delete @input$
		delete @getNewValue


	'testFn': ()-> @obj.prop = @getNewValue()