Posts

Post not yet marked as solved
1 Replies
1.5k Views
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. strings.addStrings() }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.
Posted Last updated
.
Post marked as solved
4 Replies
1.9k Views
How to show section Indexes in Swift UI using List.In case of UITableView we have section a datasource delegate to show the titles.optional func sectionIndexTitles(for tableView: UITableView) -> [String]?Does List , Section or ForEach support this functionality ?
Posted Last updated
.