projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
another microbench
[mono.git]
/
mono
/
benchmark
/
boxtest.cs
diff --git a/mono/benchmark/boxtest.cs
b/mono/benchmark/boxtest.cs
new file mode 100755
(executable)
index 0000000..
04385f7
--- /dev/null
+++ b/
mono/benchmark/boxtest.cs
@@ -0,0
+1,19
@@
+using System;
+
+
+public class Test {
+
+ public static int Main (string[] args) {
+ object x;
+
+ for (int i = 0 ; i < 5000000; i++) {
+ x = i;
+ }
+
+ int j = (int)x;
+
+ return 0;
+ }
+}
+
+