repo.or.cz
/
mono-debugger.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mono-debugger.git]
/
mono
/
benchmark
/
sbperf1.cs
blob
f5f13747c749bba77089c222a5be6b9d1e6e50cc
1
using
System
.
Text
;
2
3
namespace
test
{
4
public class
Test
{
5
public static int
Main
() {
6
for
(
int
i
=
0
;
i
<
500000
;
i
++) {
7
StringBuilder sb
=
new
StringBuilder
();
8
sb
.
Append
(
"hello"
);
9
sb
.
Append
(
" world!"
);
10
sb
.
ToString
();
11
}
12
13
return
0
;
14
15
}
16
}
17
}