rubyx/test/bench/c/hello.c

11 lines
212 B
C
Raw Normal View History

2015-11-20 18:12:13 +01:00
#include<stdio.h>
int main(void)
{
2016-12-11 11:55:03 +01:00
setbuf(stdout, NULL); /* to make it equivalent to the typed version, otherwise it caches */
int counter = 100352 - 352;
2015-11-20 18:12:13 +01:00
while(counter--) {
printf("Hello there\n");
}
}