diff --git a/Tests/textTests/SwiftSoupTests.swift b/Tests/textTests/SwiftSoupTests.swift index a7e8556..2e64e21 100644 --- a/Tests/textTests/SwiftSoupTests.swift +++ b/Tests/textTests/SwiftSoupTests.swift @@ -102,54 +102,5 @@ class SwiftSoupTests: XCTestCase { // } // } //passed (390.343 seconds). - func testPerformanceDiv() { - let h: String = "\n" + - "\n" + - " \n" + - " \n" + - " "\"><>&\"\n" + - " "\"><>&\"\n" + - " "\"><>&\"\n" + - " "\"><>&\"\n" + - " "\"><>&\"\n" + - " "\"><>&\"\n" + - " "\"><>&\"\n" + - " "\"><>&\"\n" + - " "\"><>&\"\n" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - "

Hello

Another element

" + - " bar\n" + - " \n" + - "" - let doc: Document = try! SwiftSoup.parse(h); - self.measure { - do { - for _ in 0...100000{ - _ = try doc.select("div"); - } - } - catch { - } - } - } - + }