Long time to access API data in Photoshop v.24

That is it? 3 layers and 4 groups? That really shouldn’t take 5.5 seconds.

The problem with DOM is that it does not cache anything so even if you don’t change anything in document it always ask PS for fresh data again and again which can add up when you have a lot of iterations.