Perfomatic:UI: Difference between revisions

(link bugs)
(hg repo now)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Perf-O-Matic 2.0=
=Perf-O-Matic 2.0=


* [http://graphs-stage2.mozilla.org/ Perf-o-Matic staging]
* [http://graphs.allizom.org/ Perf-o-Matic staging]


* [https://github.com/rhelmer/graphs github]
* [http://hg.mozilla.org/graphs hg.m.o/graphs]
* hg.m.o coming soon - {{Bug|622623}}


* Implement new graphserver interface - {{Bug|601796}}
* Implement new graphserver interface - {{Bug|601796}}
Line 19: Line 18:


Designed by Chris Howse
Designed by Chris Howse
[http://people.mozilla.com/~chowse/drop/webtools/graph-server/v2/00_chart_demo.html# UI Prototype]
 
[http://people.mozilla.com/~chowse/drop/webtools/graph-server/v2/00_chart_demo.html# Original UI Prototype]


=== Missing features from current design ===
=== Missing features from current design ===
Line 36: Line 36:
*** <strike>show changesets - needs design work</strike>
*** <strike>show changesets - needs design work</strike>
**** <strike>may need hgpushlog work to link directly to changesets</strike>
**** <strike>may need hgpushlog work to link directly to changesets</strike>
*** export CSV - server broken
*** export CSV - server broken {{bug|489775}}
*** link - needs url shortener
*** link - needs url shortener
**** <strike>url/embed styling [https://github.com/chowse/perfomatic-prototype/commit/57da73e6532d8e127900d98b17d7cd4ed999bd13 prototype changes]</strike>
**** <strike>url/embed styling [https://github.com/chowse/perfomatic-prototype/commit/57da73e6532d8e127900d98b17d7cd4ed999bd13 prototype changes]</strike>
Line 98: Line 98:
* charts (general)
* charts (general)
** {{bug|643897}} all axes should be labeled, units should be specified
** {{bug|643897}} all axes should be labeled, units should be specified
** {{bug|651690}} y-axis is relative to entire dataset, not just current view
** selection range ("sel" in URL) is very confusing if it is not in current view, or older than 365 days
*** could check this in JS, error if it's too old, and select 365-day view if it's not?
* "add more test data" dialog
* "add more test data" dialog
** {{bug|633052}} - operating systems not constrained correctly
** {{bug|641414}} branch, test, platforms should be sorted


== Discussion ==
== Discussion ==
Line 109: Line 112:
*** how can we instrument Chrome, Safari, IE, Opera, etc.?
*** how can we instrument Chrome, Safari, IE, Opera, etc.?
**** can we publish this data?
**** can we publish this data?
* old-style URLs are not compatible, primarily because the new graphserver automatically shows the average of all machines in a platform rather than a separate line for each, and the old-style URLs refer to individual machines. Problem?

Latest revision as of 14:54, 3 September 2012

Perf-O-Matic 2.0

Problem?

File a bug in product Webtools component Graphserver version 2.0

/connect irc.mozilla.org

/join #perfomatic

Design

Designed by Chris Howse

Original UI Prototype

Missing features from current design

  • dashboard ->
    • toolbar ->
      • product - not implemented
      • platforms - not implemented
      • top tests - not implemented
      • set pulldowns based on URL
    • data grid ->
      • row/column should not scroll
  • custom chart ->
    • toolbar ->
      • running time - time delta/time delta % not implemented
      • show changesets - needs design work
        • may need hgpushlog work to link directly to changesets
      • export CSV - server broken bug 489775
      • link - needs url shortener
      • embed - not implemented
    • set selection range based on URL
    • add test data ->
      • put popular branches/tests/platforms on top
  • plot ->
    • y-axis should always be 0-based
  • need mapping between branches and hg repos

Performance optimizations

Testing

  • stand up vhost with old graphserver, pointing at nightly database, for QA comparison
  • set up lint and tests on Hudson
  • selenium tests (in progress)
  • qUnit/env.js unit tests for JS code
  • stand up auto-update for code (5 minutes)
  • stand up auto-update for DB (nightly)
  • (QA) compare actual submitted data to JSON, and confirm in interface
  • make sure proper changeset range is shown for checkins

Bugs

  • custom chart ->
    • bug 643892 "show changesets" with multiple data series loads multiple hg.m.o tabs
    • embed ->
      • need loading indicator for individual series
      • tooltips can be hidden by top of screen
    • series controls change plot daterange
      • str: add multiple data series and change daterange pulldown before all are loaded
    • selection range set when "sel=none"
  • charts (general)
    • bug 643897 all axes should be labeled, units should be specified
    • bug 651690 y-axis is relative to entire dataset, not just current view
    • selection range ("sel" in URL) is very confusing if it is not in current view, or older than 365 days
      • could check this in JS, error if it's too old, and select 365-day view if it's not?
  • "add more test data" dialog
    • bug 641414 branch, test, platforms should be sorted

Discussion

  • reddit /r/programming thread
  • Hacker News thread
    • missing data from other browsers
      • how can we instrument Chrome, Safari, IE, Opera, etc.?
        • can we publish this data?
  • old-style URLs are not compatible, primarily because the new graphserver automatically shows the average of all machines in a platform rather than a separate line for each, and the old-style URLs refer to individual machines. Problem?