Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/bench.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <sys/stat.h>
#include <dirent.h>
#include <errno.h>
#include <locale.h>

static void _errno_assert(const char *file, int line, int i) {
if (i != 0) {
Expand Down Expand Up @@ -238,7 +239,8 @@ static candidate sparkey_candidate_compressed = {
/* main */

void test(candidate *c, int n, int lookups) {
printf("Testing bulk insert of %d elements and %d random lookups\n", n, lookups);
setlocale(LC_NUMERIC, "");
printf("Testing bulk insert of %'d elements and %'d random lookups\n", n, lookups);

printf(" Candidate: %s\n", c->name);
rm_all_rec(c->files());
Expand Down