9
test_p_bson_find (void)
17
keys = g_new(gchar *, MAX_KEYS);
20
for (i = 0; i < MAX_KEYS; i++)
22
keys[i] = g_strdup_printf ("tmp_key_%d", i);
23
bson_append_int32 (b, keys[i], i);
27
for (i = 1; i <= MAX_KEYS; i++)
29
c = bson_find (b, keys[i - 1]);
40
"bson_find() performance test ok");
43
RUN_TEST (1, p_bson_find);