rubyx/test/bench/c/hello.c
Torsten Ruger f865486f1e tweeks to the c tests
also figured out hello was caching stopped that to make results
comparable
even wrote a hello assembler version which is just 10% faster than soml
:-)
2015-11-21 16:33:07 +02:00

11 lines
203 B
C

#include<stdio.h>
int main(void)
{
setbuf(stdout, NULL); /* to make it equivalent to the soml, otherwise it caches */
int counter = 100352 - 352;
while(counter--) {
printf("Hello there\n");
}
}