Skip to content

Commit

Permalink
Merge pull request #742 from coderlifter/unit
Browse files Browse the repository at this point in the history
Adding unit to Response Time chart
  • Loading branch information
heyman authored Mar 2, 2018
2 parents 4bc679c + 572f3b8 commit 7be656d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion locust/static/locust.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ $(".stats_label").click(function(event) {

// init charts
var rpsChart = new LocustLineChart($(".charts-container"), "Total Requests per Second", ["RPS"], "reqs/s");
var responseTimeChart = new LocustLineChart($(".charts-container"), "Response Times", ["Median Response Time", "95% percentile"], "ms");
var responseTimeChart = new LocustLineChart($(".charts-container"), "Response Times (ms)", ["Median Response Time", "95% percentile"], "ms");
var usersChart = new LocustLineChart($(".charts-container"), "Number of Users", ["Users"], "users");

function updateStats() {
Expand Down
2 changes: 1 addition & 1 deletion locust/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2>Change the locust count</h2>
<th class="stats_label numeric" href="#" data-sortkey="avg_response_time" title="Average response time">Average (ms)</th>
<th class="stats_label numeric" href="#" data-sortkey="min_response_time" title="Min response time">Min (ms)</th>
<th class="stats_label numeric" href="#" data-sortkey="max_response_time" title="Max response time">Max (ms)</th>
<th class="stats_label numeric" href="#" data-sortkey="avg_content_length" title="Average response size">Content Size</th>
<th class="stats_label numeric" href="#" data-sortkey="avg_content_length" title="Average response size">Content Size (bytes)</th>
<th class="stats_label numeric" href="#" data-sortkey="current_rps" title="Current number of requests per second"># reqs/sec</th>
</tr>
</thead>
Expand Down

0 comments on commit 7be656d

Please sign in to comment.