author | Alberto Bertogli
<albertito@gmail.com> 2007-01-08 22:15:14 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-01-08 22:15:14 UTC |
parent | 91ce6ffd9ba14d7b486f885c0fe97d3e2b90dea7 |
libnmdb/test1c.c | +1 | -1 |
libnmdb/test1d.c | +1 | -1 |
libnmdb/test2c.c | +1 | -1 |
libnmdb/test2cm.c | +1 | -1 |
libnmdb/test2d.c | +1 | -1 |
libnmdb/test2dm.c | +1 | -1 |
diff --git a/libnmdb/test1c.c b/libnmdb/test1c.c index e83a2e9..f4ea111 100644 --- a/libnmdb/test1c.c +++ b/libnmdb/test1c.c @@ -46,7 +46,7 @@ int main(int argc, char **argv) elapsed = timer_stop(); printf("%lu\n", elapsed); - gval = malloc(128 * 1024); + gval = malloc(70 * 1024); printf("get... "); timer_start(); for (i = 0; i < times; i++) { diff --git a/libnmdb/test1d.c b/libnmdb/test1d.c index 0d40de5..51e4f83 100644 --- a/libnmdb/test1d.c +++ b/libnmdb/test1d.c @@ -46,7 +46,7 @@ int main(int argc, char **argv) elapsed = timer_stop(); printf("%lu\n", elapsed); - gval = malloc(128 * 1024); + gval = malloc(70 * 1024); printf("get... "); timer_start(); for (i = 0; i < times; i++) { diff --git a/libnmdb/test2c.c b/libnmdb/test2c.c index b20d61e..1422db9 100644 --- a/libnmdb/test2c.c +++ b/libnmdb/test2c.c @@ -64,7 +64,7 @@ int main(int argc, char **argv) memset(key, 0, ksize); free(val); - val = malloc(128 * 1024); + val = malloc(70 * 1024); timer_start(); for (i = 0; i < times; i++) { * (int *) key = i; diff --git a/libnmdb/test2cm.c b/libnmdb/test2cm.c index f2e4365..222ff3f 100644 --- a/libnmdb/test2cm.c +++ b/libnmdb/test2cm.c @@ -70,7 +70,7 @@ int main(int argc, char **argv) s_elapsed = timer_stop(); memset(key, 0, ksize); - gval = malloc(128 * 1024); + gval = malloc(70 * 1024); timer_start(); for (i = 0; i < times; i++) { * (int *) key = i; diff --git a/libnmdb/test2d.c b/libnmdb/test2d.c index 876f6fe..d24b748 100644 --- a/libnmdb/test2d.c +++ b/libnmdb/test2d.c @@ -64,7 +64,7 @@ int main(int argc, char **argv) memset(key, 0, ksize); free(val); - val = malloc(128 * 1024); + val = malloc(70 * 1024); timer_start(); for (i = 0; i < times; i++) { * (int *) key = i; diff --git a/libnmdb/test2dm.c b/libnmdb/test2dm.c index 4ff5528..0ed89fd 100644 --- a/libnmdb/test2dm.c +++ b/libnmdb/test2dm.c @@ -71,7 +71,7 @@ int main(int argc, char **argv) memset(key, 0, ksize); free(val); - val = malloc(128 * 1024); + val = malloc(70 * 1024); timer_start(); for (i = 0; i < times; i++) { * (int *) key = i;