add simple loop bench
fiddled with run numbers a bit recording times with noop removed results slightly worse than hoped
This commit is contained in:
7
test/bench/c/loop.c
Normal file
7
test/bench/c/loop.c
Normal file
@ -0,0 +1,7 @@
|
||||
int main(void)
|
||||
{
|
||||
int counter = 1000000;
|
||||
while(counter) {
|
||||
counter -= 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user