Added performance test to sign method.