1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-11 16:21:12 +00:00

Remove temporary warmup for benchmark

This commit is contained in:
jsteube 2017-10-27 11:39:07 +02:00
parent 5875867efb
commit c6390deeb1

View File

@ -2266,12 +2266,14 @@ int run_cracker (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, co
if (user_options->speed_only == true) if (user_options->speed_only == true)
{ {
/* do we really need this warmup?
for (int i = 0; i < 16; i++) for (int i = 0; i < 16; i++)
{ {
const int rc = choose_kernel (hashcat_ctx, device_param, highest_pw_len, pws_cnt, fast_iteration, salt_pos); const int rc = choose_kernel (hashcat_ctx, device_param, highest_pw_len, pws_cnt, fast_iteration, salt_pos);
if (rc == -1) return -1; if (rc == -1) return -1;
} }
*/
hc_timer_set (&device_param->timer_speed); hc_timer_set (&device_param->timer_speed);
} }