Fixed missing include
Added performance test for x11 grabbing