DocumentEditor performance