bench-compression.c (dovecot-2.3.16) | : | bench-compression.c (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 157 | skipping to change at line 157 | |||
} | } | |||
o_stream_nsend(os, buf, sizeof(buf)); | o_stream_nsend(os, buf, sizeof(buf)); | |||
} | } | |||
i_assert(o_stream_finish(os) == 1); | i_assert(o_stream_finish(os) == 1); | |||
o_stream_unref(&os); | o_stream_unref(&os); | |||
printf("Input data constructed \n"); | printf("Input data constructed \n"); | |||
for (unsigned int i = 0; compression_handlers[i].name != NULL; i++) T_BEG IN { | for (unsigned int i = 0; compression_handlers[i].name != NULL; i++) T_BEG IN { | |||
if (compression_handlers[i].create_istream != NULL) { | if (compression_handlers[i].create_istream != NULL && | |||
compression_handlers[i].create_ostream != NULL) { | ||||
bench_compression_speed(&compression_handlers[i], level, | bench_compression_speed(&compression_handlers[i], level, | |||
block_count); | block_count); | |||
} | } | |||
} T_END; | } T_END; | |||
i_unlink("decompressed.bin"); | i_unlink("decompressed.bin"); | |||
i_unlink("compressed.bin"); | i_unlink("compressed.bin"); | |||
lib_deinit(); | lib_deinit(); | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added |