Extendscript: Profiling memory usage in an extension

Explorer ,
Dec 04, 2020

Copy link to clipboard

Copied

I can see there are methods, such as `process.memoryUsage()` for Node.js, and `$.summary()`, both of which I thought would provide me with memory profiling capabilities. However, neither methods exist (using the `window.cep.process` and `$` objects on the client/server).

 

Is there a way to profile memory in Extendscript?

> Is there a way to profile memory in Extendscript?

 

No.

TOPICS
SDK

Views

36

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Extendscript: Profiling memory usage in an extension

Explorer ,
Dec 04, 2020

Copy link to clipboard

Copied

I can see there are methods, such as `process.memoryUsage()` for Node.js, and `$.summary()`, both of which I thought would provide me with memory profiling capabilities. However, neither methods exist (using the `window.cep.process` and `$` objects on the client/server).

 

Is there a way to profile memory in Extendscript?

> Is there a way to profile memory in Extendscript?

 

No.

TOPICS
SDK

Views

37

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 04, 2020 0
Adobe Employee ,
Dec 04, 2020

Copy link to clipboard

Copied

> Is there a way to profile memory in Extendscript?

 

No.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 04, 2020 0
Explorer ,
Dec 04, 2020

Copy link to clipboard

Copied

Welp that's officially the nail in the coffin - for now, we will retire them as the SDK lacks too much basic functionality, which is disappointing as we came very close to releasing a few AI-based plugins. I hope Adobe can improve their developer experience in the future so we can continue writing our plugins.

 

Are there any plans for future improvements in the near future for such basic things as profiling? We would be very excited to pick back up on development once they are

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 04, 2020 0
Adobe Employee ,
Dec 04, 2020

Copy link to clipboard

Copied

the SDK lacks too much basic functionality

Sorry you see this as a blocker; hundreds of partners make it work.

UXP integration, once available (no timeline available), will rely on JavaScript, not ExtendScript.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 04, 2020 0
Explorer ,
Dec 04, 2020

Copy link to clipboard

Copied

> hundreds of partners make it work

 

I'm sure it'll be thousands once these issues are resolved! Is there any way to request features, to make sure in that iteration there are at the very least profiling/testing suites/basic Node.js features, e.g., require?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 04, 2020 0
Adobe Employee ,
Dec 04, 2020

Copy link to clipboard

Copied

Feature requests are always possible, but until we get UXP third party integration working in PPro, there won't be much action. 

The best approach: Become familiar with what's currently possible in XD's and Photoshop's UXP-based APIs, and request specifics, based on that.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 04, 2020 0