Closed Bug 568565 Opened 15 years ago Closed 15 years ago

App runs much slower under profiler than without profiler

Categories

(Tamarin Graveyard :: Profiler, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
Q3 11 - Serrano

People

(Reporter: mike, Assigned: rulohani)

References

Details

(Whiteboard: Profiler_bugs)

Attachments

(1 file)

Attached file Repro sample
Steps to reproduce: 1. Download and unzip soap.zip, which contains the source and binary for a simple Flex program. 2. In Flash Builder, make a project called "WSTest" 3. Copy the downloaded MXML, WSDL, and XML files into the WSTest project's "src" directory 4. Compile and run 5. Click the "Call WebService" button in the app; then move the mouse pointer so it is no longer hovering over the button, so that you'll be able to tell when it is done. On my machine, it takes about 24 seconds to complete. 6. Exit the app, and run it again, but this time, with the profiler active. Do a performance profile (not memory profile). 7. Again, click "Call WebService" in the app. Actual result: "Call WebService" button takes about 19 minutes to complete on my machine, compared to just 24 seconds when there is no profiler. Expected result: The profiler shouldn't cause that big of a slowdown in performance of the app. A slight slowdown is acceptable, maybe 20% or so, or maybe 100% at worst, but this big a slowdown is too big.
Component: Virtual Machine → Profiler
Assignee: nobody → rulohani
Status: NEW → ASSIGNED
Flags: flashplayer-qrb+
Priority: -- → P3
Whiteboard: Profiler_bugs
Target Milestone: --- → flash10.2
With the attached sample app I get the following results on my machine (MacBook Pro 10.5.8 2.8GHz Intel core 2 Duo, 4GB RAM): With the flash player build (10.0.45.2) which is default right now in the Flash Builder 4: App completion time ( time in which the spinning wheel disappears): Without profiler: 23 sec With Perf profiling: 26sec (approx). With the flash player build (10.1.53.64): App completion time ( time in which the spinning wheel disappears): Without profiler: 23 sec With Perf profiling: 26 sec (approx). I am seeing the behavior as mentioned by Mike Morearty above.
Ruchi, to confirm -- are you also seeing the 19 minute for the profiled app to complete the web service call (vs. 24 sec when not using the profiler)?
Dan, I am not seeing the 19 minutes delay for the profiled app completion. With profiling I see around 26 sec approx for the app to complete which is pretty much same as without profiling (23-24 sec). I would like to see if anyone else is seeing the delay with the profiling. I will request some QE internally to see if this is reproducible.
One of the flash player QE verified internally and was unable to reproduce the delayed behavior as mentioned in the bug. The time taken for the app to complete with profiler is slightly more (~3-4 sec) than the time while running normally. Should this be closed ?
(In reply to comment #1) > > I am seeing the behavior as mentioned by Mike Morearty above. Just noticed the missing "not" in my earlier comment above! No mistakes this time - "unable to repro".
Thanks for the confirmation. Marking as Resolved/WORKSFORME
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: