dev/c/malloc_speed_test/malloc_speed_test.c
2011-04-28 14:42:44 +04:00

15 lines
165 B
C

#include <stdlib.h>
const unsigned long long MAX_I=0x00ffffff;
int main()
{
unsigned long long i;
for (i = 0; i < MAX_I; i++)
free(malloc(1));
return 0;
}