update benchmark codes (simplewindow) to test window behavior