add time measurement for ecdsa signature