Closed Bug 844756 Opened 11 years ago Closed 11 years ago

Solve the problem of duplicate apps in Datazilla

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julienw, Assigned: rik)

References

Details

(Keywords: perf, Whiteboard: [c=automation p= s= u=])

Attachments

(1 file, 1 obsolete file)

      No description provided.
Attached patch Proposed patch (obsolete) — Splinter Review
That should do it.
Assignee: nobody → anthony
Status: NEW → ASSIGNED
Attachment #718527 - Flags: review?(felash)
This is not the patch :)
Attached patch Proposed patchSplinter Review
Oops, thanks Guillermo.
Attachment #718527 - Attachment is obsolete: true
Attachment #718527 - Flags: review?(felash)
Attachment #718869 - Flags: review?(felash)
Comment on attachment 718869 [details] [diff] [review]
Proposed patch

Review of attachment 718869 [details] [diff] [review]:
-----------------------------------------------------------------

I think we should also change this in the |fullTitle| output.

::: tests/reporters/jsonmozperf.js
@@ +52,5 @@
>  
>    var self = this;
>    runner.on('end', function() {
> +    var [manifestPath, entryPoint] = window.mozTestInfo.appPath.split('/');
> +    self.stats.application = entryPoint || manifestPath;

I'd prefer to have this in an external function ?
Attachment #718869 - Flags: review?(felash)
So I'm not sure we should only fix the issue for communications app. The main problem here is that b2gperf uses app name and |make test-perf| uses pathname.

Renaming to figure what's the best thing to do here. We should probably parse the manifest files to actually report app names.
Summary: remove the "communications/" part of the entry points that are part of this app → Solve the problem of duplicate apps in Datazilla
Discussed this with Julien a bit. One issue with using the app name is when we'll want to run those tests for other locales. If b2gperf relies on app names, it won't be able to run those.
Won't we be able to launch using the localised name? CC'ing Jeads, who is going to hide apps from the list if the selected test has no data for them. In my opinion, this resolves the issue.
Depends on: 846837
We will be able to launch using the localised name, but that's just asking for trouble imho.

Anyway, the new datazilla visualisation resolves this. I'll just follow up by removing the "communications/" part because such a long name is ugly.
OS: Linux → All
Hardware: x86_64 → All
Keywords: perf
Whiteboard: [c=instrumentation p=]
Whiteboard: [c=instrumentation p=] → [c=automation p= s= u=]
Jonathan,

Is this still an issue that needs fixing or can it be closed?

Thanks,
Mike
Flags: needinfo?(jeads)
My part in this bug was resolved in this release, Bug 846837, of the UI. I think this can be closed.
Flags: needinfo?(jeads)
Thanks Jonathan. Closing per comment 10.
Status: ASSIGNED → RESOLVED
Closed: 11 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: