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 <[email protected]>
  • Loading branch information
LongyuZhang authored and llxia committed Oct 29, 2024
1 parent 6e59ed7 commit 200dced
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 200dced

Please sign in to comment.