The call to descriptor.getProperty("historyState") seems to take 600-800ms in Vermilion with only 2 history states. This blocks documents.beforeStartup among others. It does not seem like PS should take this long.
We should try providing an document ID reference, if possible. Leaving the document implicit is known to be slow.
We should also file a JIRA issue for this because even with the document reference resolution, this still seems too slow.
The call to
descriptor.getProperty("historyState")
seems to take 600-800ms in Vermilion with only 2 history states. This blocksdocuments.beforeStartup
among others. It does not seem like PS should take this long.