0 Replies
      Latest reply on Apr 26, 2020 4:35 PM by iamharrypotter
      iamharrypotter Level 1 Level 1 (0 points)

        Currently I am facing some issues on writing a idea performance test case.


        Problem which I am facing could be lack of documentation.


        Method under test.


            func addStrings() {
                let maxCount = 100000
                var array:Array = Array()
                for _ in 0..            array.append("Test")


        Performance test case.


        func testPerformanceExample() throws {
                // This is an example of a performance test case.
                let strings = StringsCreator()
                self.measure {
                    // Put the code you want to measure the time of here.



        How do i set the ideal paramters for testing?


        What is the relation between MAX STDDEV , RESULT  , AVERAGE and BASELINE.


        Looking for a descriptive answer with example. Thanks in advance.