Skip to content

Commit

Permalink
Format output
Browse files Browse the repository at this point in the history
  • Loading branch information
loremattei committed Mar 5, 2025
1 parent 0798133 commit 6c067c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class NextTrackerDataSetPerformanceTests: XCTestCase {
let refAverage = try runPerformanceTest(tds: refTDS, name: "Reference TDS")

let percentDifference = (utAverage - refAverage) / refAverage
print("Percent difference: \(percentDifference * 100)%")
print("Percent difference: \(String(format: "%.2f", percentDifference * 100))%")

XCTAssertLessThanOrEqual(percentDifference, maxPercentRegression, "UT TDS performance regression exceeds allowed threshold")
}
Expand Down

0 comments on commit 6c067c8

Please sign in to comment.