Perfomatic:UI: Difference between revisions
Jump to navigation
Jump to search
(update about server-side flot using node and node-canvas) |
(one down) |
||
| Line 47: | Line 47: | ||
*** custom chart is much faster if each series is written to a hidden canvas then shown when they are all complete | *** custom chart is much faster if each series is written to a hidden canvas then shown when they are all complete | ||
** use node.js to generate static images for dashboard? | ** use node.js to generate static images for dashboard? | ||
*** [http://groups.google.com/d/topic/flot-graphs/GLGCCoJlRYg flot group post] | *** <strike>[http://groups.google.com/d/topic/flot-graphs/GLGCCoJlRYg flot group post]</strike> | ||
**** this actually works pretty well | **** this actually works pretty well | ||
**** spoke to author (John Schulz, jsno.de/) who linked [https://gist.github.com/752371 the code] behind http://jsno.de./flot/ | **** spoke to author (John Schulz, jsno.de/) who linked [https://gist.github.com/752371 the code] behind http://jsno.de./flot/ | ||
Revision as of 20:14, 24 December 2010
Design
Designed by Chris Howse
Implementation
Missing features from current design
- dashboard ->
- toolbar ->
- product - not implemented
- platforms - not implemented
- top tests - not implemented
- data grid ->
- row/column should not scroll
- toolbar ->
- custom chart ->
- toolbar ->
running time - time delta/time delta % not implementedshow changesets - needs design workmay need hgpushlog work to link directly to changesets
- export CSV - server broken
- link - needs url shortener
url/embed styling prototype changes
- embed - not implemented
- set selection range based on URL
- add test data ->
- put popular branches/tests/platforms on top
- toolbar ->
- plot
y-axis should always be 0-based
Performance optimizations
- split up JSON files as discussed in status meeting
- look into constraining by date range
set Last-Modified headers on all JSON feedsespecially the manifest!already setting 15m Expires/Cache-control max-age
add caching proxy (varnish, etc)- improve charting performance
- "double-buffering" canvas for flot
- stack overflow discussion
- custom chart is much faster if each series is written to a hidden canvas then shown when they are all complete
- use node.js to generate static images for dashboard?
flot group post- this actually works pretty well
- spoke to author (John Schulz, jsno.de/) who linked the code behind http://jsno.de./flot/
- requires a text plugin for flot, to get the ticks into the canvas instead of flot's default of appending styled divs
- look into reducing number of points
- flot plots way more than is actually useful when graphs are very dense, flot group discussion
- could filter out points on the server side, using e.g. k-means clustering
- look into flot alternatives
- "double-buffering" canvas for flot
Testing
- stand up vhost with old graphserver, pointing at nightly database, for QA comparison
- set up lint and tests on Hudson
- stand up auto-update for code (5 minutes) and DB (nightly)
- (QA) compare actual submitted data to JSON, and confirm in interface
- make sure proper changeset range is shown for checkins
- check with catlee on how the tree-management script does this
- follow-up irc convo w/ ted on catlee on changesets coalescing