Skip to content

Commit

Permalink
Fix separator in Perf
Browse files Browse the repository at this point in the history
Fix separator in Perf

Signed-off-by: LongyuZhang <longyu.zhang@ibm.com>
  • Loading branch information
LongyuZhang committed Oct 29, 2024
1 parent ac42d80 commit e488d9d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class PerffarmRunJSON {
let indexOfMean = null;
let indexOfCI = null;

// Find the indexes of the variant seperators
// Find the indexes of the variant separators
for (let j = 0; j < this.parsedCSV.length; j++) {
// Each variant is separated by a 1 element array
if (this.parsedCSV[j].length === 1) {
Expand Down Expand Up @@ -133,11 +133,11 @@ export default class PerffarmRunJSON {
curMetricObject = { value: {} };
curMetricObject['name'] =
this.parsedCSV[variantIndex[k] + 1][m];
// Mean is always 6 indices above the next variant seperator
// Mean is always 6 indices above the next variant separator
curMetricObject['value']['mean'] =
this.parsedCSV[indexOfMean][m];

// Confidence Interval is always 4 indices above the next variant seperator
// Confidence Interval is always 4 indices above the next variant separator
try {
curMetricObject['value']['CI'] =
this.parsedCSV[indexOfCI][m];
Expand Down

0 comments on commit e488d9d

Please sign in to comment.