// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class ObjAllo {
    private static final int N = 100000000;
    public static void main(String[] args) {
        long t1 = System.currentTimeMillis();
        for(int i = 0; i < N; i++) {
            new Foobar(123);
        }
        long t2 = System.currentTimeMillis();
        System.out.println(1000L * N / (t2 - t1));
    }
}

class Foobar {
    private int v;
    public Foobar(int v) {
        super();
        this.v = v;
    }
    public int getV() {
        return v;
    }
    public void setV(int v) {
        this.v = v;
    }
}
