All programs execute in about one second whether you have a lot of programming or very little, they will execute at about the same speed regardless of the program size.
The thing which is limiting you is the response time of the input, its slower than what a user would expect from a pushbutton which would be on the order of a ‘few 100 ms’. We sample the inputs at about one second for normal inputs. The high speed inputs can respond more quickly, while testing this we found that the high speed logic is only executed if the input is configured as a pulse counter. We’ll do a firmware update this week which samples the high speed inputs when they are configured as binary type ranges as well. We should be able to respond to a hit on the pushbutton as short as 1ms though it could take up to a second for the output to respond.
Here’s a table showing where the high speed inputs are located for all T3-XX controllers and expansion modules. Later this week you can update the firmware and repeat your test with the switch wired to one of the high speed inputs.