Closed
Bug 478332
Opened 16 years ago
Closed 6 years ago
Expose profiler information in shell
Categories
(Tamarin Graveyard :: Profiler, enhancement)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: jodyer, Unassigned)
References
Details
The player uses a "PreloadSwf" to install Flex Builder "profiler agent" swf that uses the flash.sampler.* API's to serialize profile information to a socket. avmshell doesn't have anything. Basic thoughts:
1) have a command line argument -Dprofile to turn on profiling (basically means calling AvmCore::sampler()->startSampling()) before running any script
2) write a profiler.as script that uses getSamples and present some nice formatted data
3) if -Dprofile is specified load and run profiler.abc after running the users script after calling stopSampling
4) extra credit: compile profile.abc into avmshell using asc -builtin (new precedent, builtin w/o natives, might cause problems)
I attached Flex builder' ProfilerAgent.as as a guide, note that the player doesn't call start/stop sampling so the agent does that.
This bug transferred from: http://bugs.adobe.com/jira/browse/ASC-3010
Updated•16 years ago
|
Flags: in-testsuite?
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Comment 1•16 years ago
|
||
The sampling API's are available but they are actionscript, if more of the shell was written in actionscript like TT it would be trivial to add a -profile flag to turn this on. I'd like to see it built into the shell rather than be a separate abc.
Assignee: nobody → rishah
Flags: flashplayer-qrb? → flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.x
Updated•15 years ago
|
Assignee: rishah → nobody
Priority: P3 → --
Target Milestone: flash10.1 → Future
Blocks: Profiler_bugs
Updated•15 years ago
|
Component: Virtual Machine → Profiler
QA Contact: vm → profiler
Comment 2•6 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 3•6 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•