Hi folks (posted this already in CS6 Bugs, but maybe it's not a Bug but rather false scripting? So I give it a try here)
I have to admit we are stuck in our development: We have written a Phothoshop Plugin unsing extensive JavaScript and Flash Panels / Action Script.
The Javascripts would, eg. select a given layer. When running the Javascript in PS CS5 or 5.1 everything is smooth and snappy but we've noticed, that the same JavaScript running in PS CS6 takes up to 300% more time.
Does anyone having observed the same performance issues?
Would it be faster to address the specific layers by their native Layer ID's rather than their names?
Why is there such a performance slow down with the same JavaScripts / ActionScript-FlashPanel between CS5 and CS6?
We have already contacted techsupport@adobe.com (we are solution partner silver) but they do not start acting if you are using your own JavaScripts....
You are our last hope
I can send you some of the code but I don't want it to be publicly exposed here.
Thanks in advance,
Andrash
JavaScript and PS CS6: Performance issue
-
pfaffenbichler
JavaScript and PS CS6: Performance issue
Code: Select allWould it be faster to address the specific layers by their native Layer ID's rather than their names?
Just to make sure: You are using Action Manager code either way or do you do the name-based selection via DOM?
Just to make sure: You are using Action Manager code either way or do you do the name-based selection via DOM?
-
Andrash
JavaScript and PS CS6: Performance issue
I will go ahead and ask our developer (I'm the CEO with less knowledge in JS and the related).
-
Andrash
JavaScript and PS CS6: Performance issue
we are doing it via DOM. Obviously the action manager code did not make a difference as our developer has told me. Any clue?
-
pfaffenbichler
JavaScript and PS CS6: Performance issue
Obviously the action manager code did not make a difference as our developer has told me.
The Action Manager code is often faster.
The Action Manager code is often faster.
-
Andrash
JavaScript and PS CS6: Performance issue
The way we are addressing the layers is by a direct path. The JS code looks like this Code: Select allapp.layerSets['Layerset'].artLayers['Layername']
-
Mike Hale
JavaScript and PS CS6: Performance issue
Depending on what you are doing Action Manger can still be faster even with this type of direct reference because it may not need to make the layer active or build a complete layer object.
However I don't think that is the problem here. You say the code runs fine in CS5 and is very slow in CS6 and that it is being run from a panel. I think the problem is with the panel framework not your script.
However I don't think that is the problem here. You say the code runs fine in CS5 and is very slow in CS6 and that it is being run from a panel. I think the problem is with the panel framework not your script.
-
Andrash
JavaScript and PS CS6: Performance issue
Hi Mike and thanks for your reply.
You think the problem is related to the panel framework in general? Do you mean it's not so wise to use flash panels or do you think it's related to how we coded the panel?
I need to involve our software engineer... getting too technical for me
Hope you can help us finding the cause! Thanks again
Andrash
You think the problem is related to the panel framework in general? Do you mean it's not so wise to use flash panels or do you think it's related to how we coded the panel?
I need to involve our software engineer... getting too technical for me
Hope you can help us finding the cause! Thanks again
Andrash