adobe-photoshop / spaces-design

Adobe Photoshop Design Space
http://adobe-photoshop.github.io/
Other
852 stars 74 forks source link

history.queryCurrentHistory is slow #3706

Closed iwehrman closed 8 years ago

iwehrman commented 8 years ago

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.

  1. We should try providing an document ID reference, if possible. Leaving the document implicit is known to be slow.
  2. We should also file a JIRA issue for this because even with the document reference resolution, this still seems too slow.
iwehrman commented 8 years ago

https://jira.corp.adobe.com/browse/PS-1335

iwehrman commented 8 years ago

I'm closing this because my measurements for historyState were clearly broken. @shaoshing has followed up elsewhere on whatever is actually slow.