mil.navy.nps.testing
Class Benchmark

java.lang.Object
  extended bymil.navy.nps.testing.Benchmark

class Benchmark
extends java.lang.Object

Benchmarker code

This is some thrown-together test harness code to figure out just how fast we can do some things in java. There are various tests for instantiation speed, how fast objects can be serialized/deserialized, and so on.

HISTORY 25Oct96 DMcG New


Constructor Summary
(package private) Benchmark()
           
 
Method Summary
static void fullGC()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Benchmark

Benchmark()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.net.UnknownHostException,
                        java.net.SocketException,
                        java.net.UnknownHostException,
                        java.io.IOException
Throws:
java.net.UnknownHostException
java.net.SocketException
java.io.IOException

fullGC

public static void fullGC()