adobe-photoshop / spaces-design

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

Automate layer panel performance test #3545

Closed shaoshing closed 8 years ago

shaoshing commented 8 years ago

This PR adds the ability to run layer panel performance test automatically. The test is accessiable via the menu item Help > Test Layer Panel Performance. It works for the flat and hierarchical structure in the LayerPanel. Here is a video of how it works https://www.dropbox.com/s/slalhpmhjjf9a9o/layer-panel-performance-test.mov?dl=0

Benefits of adding the task:

PS: would it be a good idae to move the developer snippets into the menu item as well? Maybe under the menu item call Snippets?

baaygun commented 8 years ago

Fantastic. Can you add Windows menus as well?

baaygun commented 8 years ago

Re: Snippets, that's a great idea as well, we should try to find a way to make them toggle-able. Our snippets right now add listeners but don't remove them.

iwehrman commented 8 years ago

Re: menu item: I suggest creating a new top-level menu called "Debug" or something like that to hold all of our rando developer stuff.

shaoshing commented 8 years ago

@volfied I added the menu item for windows too, and refactor the code to address @iwehrman 's comment. About the snippets, I will create a code-cleanup issue with your suggestions.