repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[System] Use GZipStream from corefx
[mono-project.git]
/
mono
/
benchmark
/
static-fields.cs
blob
9ac89df333a5b96ff40be63dfa01cb2fadba90d7
1
using
System
;
2
3
public class
Tests
{
4
5
public static int
si
=
0
;
6
7
public static int
Main
(
string
[]
args
) {
8
int
h
=
0
,
repeat
=
1
;
9
10
Console
.
WriteLine
(
"Repeat = "
+
repeat
);
11
12
for
(
int
i
=
0
;
i
< (
repeat
*
50
);
i
++) {
13
for
(
int
j
=
0
;
j
<
10000000
;
j
++) {
14
h
+=
si
;
15
}
16
}
17
18
if
(
h
!=
0
)
19
return
1
;
20
21
return
0
;
22
}
23
}
24
25