Throughput graph code

simple code to obtain graph results.