Skip to content

Commit

Permalink
throughput rounding (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Mar 8, 2021
1 parent 5801583 commit ebb6b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/item-detail/item-detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export class ItemDetailComponent implements OnInit {
const rampUpIndex = threads.map(_ => _[1]).indexOf(maxVu);

const minThroughput = Math.min(...overallThroughput.data.slice(rampUpIndex, -2).map(_ => _[1]));
const throughputVariability = 100 - this.roundNumberTwoDecimals((minThroughput / throughput) * 100);
const throughputVariability = this.roundNumberTwoDecimals(100 - (minThroughput / throughput) * 100);

this.perfAnalysis = {
variability: {
Expand Down

0 comments on commit ebb6b61

Please sign in to comment.