Skip to content

Commit af4d8d5

Browse files
authored
[BOLT][test] Update perf2bolt/perf_test.test (#73482)
1 parent a90e215 commit af4d8d5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#include <stdio.h>
2-
#include <stdlib.h>
3-
#include <unistd.h>
4-
51
int add(int a, int b) { return a + b; }
62
int minus(int a, int b) { return a - b; }
73
int multiple(int a, int b) { return a * b; }
@@ -15,12 +11,12 @@ int main() {
1511
int a = 16;
1612
int b = 8;
1713

18-
for (int i = 1; i < 100000; i++) {
14+
for (int i = 1; i < 1000000; i++) {
1915
add(a, b);
2016
minus(a, b);
2117
multiple(a, b);
2218
divide(a, b);
2319
}
2420

2521
return 0;
26-
}
22+
}

0 commit comments

Comments
 (0)