fullstorydev / solr-bench

Solr benchmarking and load testing harness
Apache License 2.0
17 stars 10 forks source link

Better graph navigation and x-axis render option #68

Closed patsonluk closed 1 year ago

patsonluk commented 1 year ago

Description

Added 2 enhancements:

  1. Added a new "view" column for each row in the summary/stats table on top. Clicking on it will pop a modal which plots the graph for the corresponding row. This is useful when there are a lot of graphs, since loading them are slow and even trying to find the corresponding graph by searching is a chore. This enhancement prevents rendering all graphs yet still provide the feasibility to see a graph broken down by query
  2. Added a "by date/by run #" rendering option for x-axis. By default, the graphs would still be rendered with date as x-axis, however new switch are added to the new modal to switch between date/run #. Run # is useful when test runs are far part which could produce clusters of points separated by huge gap. Such option is NOT added to the main pages to avoid too much code changes, however, it's still possible to get it for "non-collapsed page" with extra url param x-by=run for example file:///Users/patson/src/mn/projects/fullstory/go/src/fs/solr/main/solrperf/graph-results/graph.html?expand=true&x-by=run# image