updated Performance monitor to use same memory stream and include summary