Difference between revisions of "Part 1 Speed"

From CMSC 420
(Initial edit; add Ben's code)
 
m
Line 6: Line 6:
 
</pre>
 
</pre>
 
</code>
 
</code>
where n is replaced with one of the values from the table.
+
where n is replaced with one of the values from the table. (You may need to <code>tap java150</code> to access Java on Grace.)
  
 
{| border="1"
 
{| border="1"
 
|-
 
|-
|Who || n=10 || n=100 || n=1000 || n=10000
+
!Who !! n=10 !! n=100 !! n=1000 !! n=10000
 
|-
 
|-
 
|Ben || 1    || 1    || 11    || Still running...
 
|Ben || 1    || 1    || 11    || Still running...
 
|}
 
|}

Revision as of 03:51, 30 March 2007

These are user times in seconds (rounded up) from running the following command on linux.grace.umd.edu:

./gnarly.py n | time java -Xmx1024M Main > /dev/null

where n is replaced with one of the values from the table. (You may need to tap java150 to access Java on Grace.)

Who n=10 n=100 n=1000 n=10000
Ben 1 1 11 Still running...