System Benchmarking using Java