ActionScript Profiler

Compatible with  IntelliJ IDEA
20.11.2013
27 751
The plugin allows you to profile your Flash and Flex applications.
CPU profiling: self and cumulative execution time, caller and callee hierarchy, sorting, navigation to source code and scope filtering.
Memory profiling
Please find more details on plugin wiki page.

Download plugin

Recent change notes

IntelliJ IDEA 13 compatibility
Anonymous
10.02.2015
Nice Profiler, but i have some question. Can u please also calculate current items count, not only maximum? Or just share source i'll do it. 10x, Vitaliy Levitskiy
Anonymous
27.11.2012
Incompatible with 123.23. I keep getting this error when starting it. Reverting to the stable build of IDEA fixed the issue. Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.Timer$DoPostEvent@135c70e,notifier=null,catchExceptions=false,when=1354029885264] on sun.awt.windows.WToolkit@624159: com/intellij/icons/AllIcons$Compiler java.lang.NoClassDefFoundError: com/intellij/icons/AllIcons$Compiler at com.jetbrains.actionscript.profiler.ui.LiveObjectsView$6.customizeCellRenderer(LiveObjectsView.java:159) at com.jetbrains.actionscript.profiler.render.AbstractInfoCellRenderer.customizeCellRenderer(AbstractInfoCellRenderer.java:16) at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(ColoredTreeCellRenderer.java:122) at com.intellij.ui.treeStructure.treetable.TreeTableTree$1.getTreeCellRendererComponent(TreeTableTree.java:115) at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2786) at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1359) at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:737) at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:643) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3893) at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:580) at javax.swing.tree.DefaultTreeModel.reload(DefaultTreeModel.java:297) at javax.swing.tree.DefaultTreeModel.reload(DefaultTreeModel.java:212) at com.jetbrains.actionscript.profiler.base.BaseSortableTreeTable.reload(BaseSortableTreeTable.java:64) at com.jetbrains.actionscript.profiler.ui.LiveObjectsView$1.actionPerformed(LiveObjectsView.java:82) at javax.swing.Timer.fireActionPerformed(Timer.java:312) at javax.swing.Timer$DoPostEvent.run(Timer.java:244) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:682) at java.awt.EventQueue$3.run(EventQueue.java:680) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:691) at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Anonymous
16.11.2012
incompatible with IDEA 11.1.4, need update
Anonymous
05.09.2012
Hi, profiler is launched through time …. it works, then the message “Waiting for profiling agent to connect ….” In what could be the reason? I use FlashPlayer Debugger 11.4…. Thanks!
11.01.2012
To answer to my own issue :
I had to copy the mm.cfg in my c:user directory as my personal folder is overridden in my dev environment

AND use IE instead of chrome

Now I love it!
11.01.2012
@All Please report problems right in the bug tracker: http://youtrack.jetbrains.net/issues/IDEA#newissue=yes (you can login via OpenID). This would be much better way to sort and track bug reports, and you will receive notifications on the fixes.
11.01.2012
Hi and thx for this wonderfull work
however
I have the "waiting for profiling agent to connect" message ; did I miss something?

My plateform is

OS: Windows 7
Flex: 3.5
Flash Player: 11.1
Intellij: 10.5.2
Java : 6
04.01.2012
I get the following error when I try to load to profile my app.
OS: Mac OS X 10.7
Flex: 4.5
Flash Player: 10.2
Intellij: 11

ReferenceError: Error #1056: Cannot create property allowCodeImport on flash.system.LoaderContext.
at mx.core::CrossDomainRSLItem/completeCdRslLoad()[E:\\dev\\4.5.1\\frameworks\\projects\\framework\\src\\mx\\core\\CrossDomainRSLItem.as:277]
at mx.core::CrossDomainRSLItem/itemCompleteHandler()[E:\\dev\\4.5.1\\frameworks\\projects\\framework\\src\\mx\\core\\CrossDomainRSLItem.as:386]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
08.09.2011
I'm getting IOProblem: Address already in use: JSV_Bind when I try to run it using IDEA 10.5.2, FP 10.3, Flex 4.1
05.09.2011
On some systems (especially corporate), the home folder is mapped to a network share, and not c:/documents and settings/SomeUser. If so, the mm.cfg file is placed in the wrong directory by the plugin.

The plugin should use %homedrive% and %homepath% to locate the proper home directory, and not make assumptions on c:/documents and settings
24.08.2011
A bit of notes on the main views would be nice. But it works. To install just drop it into the intellij install plugins directory. Look for a 'profile' button to appear just next to the run and debug buttons.

Using it with Air 2.6 runtime
10.08.2011
How do I install this plugin? It doesn't seem to appear in the Plugin Manager within Intellij
28.07.2011
Getting the same error as \"Anonymous\" when starting the application (Flex 3.5) using the following line in mm.cfg:
PreloadSwf=C:/apps/profiler_agent_3.swf?host=127.0.0.1&port=1310

ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not defined.
at flash.ui::ContextMenu/initLinkAndClipboardProperties()
at flash.ui::ContextMenu()
at mx.core::Application/initContextMenu()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\core\\Application.as:1172]
at mx.core::Application/initialize()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\core\\Application.as:862]
at application/initialize()[U:\\sources\\visu\\photon\\com.systar.photon.application-host\\src\\main\\flex\\application.mxml:0]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\managers\\SystemManager.as:2131]
at mx.managers::SystemManager/initializeTopLevelWindow()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\managers\\SystemManager.as:3400]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\managers\\SystemManager.as:3223]
at mx.managers::SystemManager/docFrameListener()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\managers\\SystemManager.as:3069]
28.06.2011
Can this be used with flex 4 and flash player 10?
Anonymous
07.04.2011
is that true ?
You can not use this profiler for flex 3.5 project which require player 10 ?

Last time I report, I can not use it for my 3.5 sdk project, then I thought it maybe because the project require player 10.

today, I update intellij from 10.0.2 to 10.0.3, and I can use it for my project now.

Btw found another open source profiler project http://jpauclair.net/flashpreloadprofiler/

it would be really good can intergrate with this one?
Please  sign in  to leave a comment.