Closed Bug 1072598 Opened 10 years ago Closed 10 years ago

Ship profile.sh and dependent scripts with private builds

Categories

(Firefox OS Graveyard :: Infrastructure, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wcosta, Assigned: wcosta)

References

Details

Attachments

(1 file, 1 obsolete file)

Ship profile.sh and depedent scripts so we can profile non-dev builds.
Attachment #8496163 - Flags: review?(jgriffin)
Profiling the emulator? Yukk! We should discourage people to do extensive profiling there.
Attached patch bug1072598.patchSplinter Review
Attachment #8496178 - Flags: review?(nthomas)
(In reply to Benoit Girard (:BenWa) from comment #2)
> Profiling the emulator? Yukk! We should discourage people to do extensive
> profiling there.

Well, :lightsofapollo told me we should ship it with emulators...
Attachment #8496163 - Flags: review?(jgriffin) → review+
Comment on attachment 8496178 [details] [diff] [review]
bug1072598.patch

Seems fine to me from a packaging point of view. If you're planning to uplift to other branches then you can do that a=NPOTB, just watch out that there may be some more platforms on older branches.

Do we need MOZ_PROFILING=1 exported at build time too ? Question was prompted by https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler
If so, does that impact people who may be dogfooding on flame ?
Attachment #8496178 - Flags: review?(nthomas) → review+
(In reply to Nick Thomas [:nthomas] from comment #5)
> Comment on attachment 8496178 [details] [diff] [review]
> bug1072598.patch
> 
> Seems fine to me from a packaging point of view. If you're planning to
> uplift to other branches then you can do that a=NPOTB, just watch out that
> there may be some more platforms on older branches.
> 

lightsofapollo, are we going to push this to other branches?

> Do we need MOZ_PROFILING=1 exported at build time too ? Question was
> prompted by
> https://developer.mozilla.org/en-US/docs/Mozilla/Performance/
> Profiling_with_the_Built-in_Profiler
> If so, does that impact people who may be dogfooding on flame ?

Not necessarily, without MOZ_PROFILING we still get some useful information.
Flags: needinfo?(jlal)
Attachment #8496163 - Attachment is obsolete: true
After talking with :lightsofapollo, we came to the conclusion that there is no point in shipping profiling scripts with the emulators.
Yeah it would be ideal to get this on 2.1 if possible.
Flags: needinfo?(jlal)
(In reply to James Lal [:lightsofapollo] from comment #8)
> Yeah it would be ideal to get this on 2.1 if possible.

There a lot more patches that should go into 2.1 (Bug 1061796), is 2.1 open for feature patches?
Flags: needinfo?(nthomas)
(In reply to Wander Lairson Costa [:wcosta] from comment #9)
> (In reply to James Lal [:lightsofapollo] from comment #8)
> > Yeah it would be ideal to get this on 2.1 if possible.
> 
> There a lot more patches that should go into 2.1 (Bug 1061796), is 2.1 open
> for feature patches?

After a talk with :lightsofapollo, we concluded that we can postpone this on 2.1.
Flags: needinfo?(nthomas)
(In reply to Wander Lairson Costa [:wcosta] from comment #9)
> There a lot more patches that should go into 2.1 (Bug 1061796), is 2.1 open
> for feature patches?

You'd need to talk to the people doing the approvals for aurora, eg bajaj.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: