Copy link to clipboard
Copied
Hi!
I'm writing a PS Plugin and I see that it's working different on mac and on windows. Can anybody explain why?
More about it:
I create new text layer and style it. Then I push button on my plugin which run script. This script gets json data with a list of texts from server. Then it iterates through this list and doing next:
- Creates a duplicate of existing styled layer;
- Changes text of duplicated layer to text from my list;
- Saves this layer as PNG image.
- Sends this image to server.
- Deletes image.
This process repeats for each text in list. And after ask for another batch of json data from server.
I've tested this on Mac OS and on Windows machines. And result time for mac was 2-4 times bigger then time on windows.
Copy link to clipboard
Copied
Do you really mean a plugin or do you mean a Script?
Even if you should be talking about a Script but do not feel like posting the code it might be difficult to try and help you.
And if you are talking a bout a plugin (C++ or whatever) this may not be the ideal Forum for addressing the issue.
Copy link to clipboard
Copied
It might "be a feature" if the outcome is the same on both.. My experience is that Javascript performance is pretty equal in Win & Mac (latter being slightly better). But there might be specific things that perform very differently. You should drill down on the difference, is everything slower or just some specific spot. If you find specific part that has a big difference, post it back here.
A couple of pointers that might or might not be relevant (since you might be doing going through all layers):