add performance messuring in GetPageTypesCommand getXObjectPageTypes