Is it possible to profile the processor / memory inside an Adobe AIR application?

It’s not possible to find any ActionScript APIs even in the beta documentation, do I correctly assume that this means that the only way to measure CPU / memory consumption is to prepare your own custom solution, associate it with AIR and make it work on every target the platform?

Basically, the goal is to have this information in AIR and not use an external application for profiling, not even to create Flex / Flash.


Thanks for the helpful answers, System.totalMemory stealthily eluded me!

It seems that to boot the processor, the only solution would be to scramble the command line using NativeProcess.

+3
source share
5 answers

you can measure memory consumption as follows:

System.totalMemory

If you use Google for "as3 fps", you will find many sites that discuss how to measure the actual frame rate.

but I don’t think you can find out the consumption of your flash application without external help.

+5
source

You might want to give this AIR-based debugger a try, this is really very good:

http://www.monsterdebugger.com/

+3
source

API, Flex Builder, Flex Builder. , , , , , :

flash.sampler

+3

Alcon - , .

+2

API flash.system.System.processCPUUsage(): Number, , 0. , , API?

, , . , , . , , .

Flash?

+1

Source: https://habr.com/ru/post/1739004/


All Articles