Updated test case for float input for performance comparison