Timing for Constraint version

Added simple timing for comparison