1PASS 2BenchmarkFirst 20000000 92.9 ns/op 3BenchmarkLast 20000000 91.6 ns/op 4BenchmarkEq 20000000 90.6 ns/op 5BenchmarkSlice 20000000 86.7 ns/op 6BenchmarkGet 1000000000 2.14 ns/op 7BenchmarkIndex 500000 5308 ns/op 8--- BENCH: BenchmarkIndex 9 bench_array_test.go:73: Index=3 10 bench_array_test.go:73: Index=3 11 bench_array_test.go:73: Index=3 12 bench_array_test.go:73: Index=3 13BenchmarkIndexSelector 50000 54962 ns/op 14--- BENCH: BenchmarkIndexSelector 15 bench_array_test.go:85: IndexSelector=4 16 bench_array_test.go:85: IndexSelector=4 17 bench_array_test.go:85: IndexSelector=4 18 bench_array_test.go:85: IndexSelector=4 19BenchmarkIndexOfNode 100000000 11.4 ns/op 20--- BENCH: BenchmarkIndexOfNode 21 bench_array_test.go:99: IndexOfNode=2 22 bench_array_test.go:99: IndexOfNode=2 23 bench_array_test.go:99: IndexOfNode=2 24 bench_array_test.go:99: IndexOfNode=2 25 bench_array_test.go:99: IndexOfNode=2 26BenchmarkIndexOfSelection 100000000 12.1 ns/op 27--- BENCH: BenchmarkIndexOfSelection 28 bench_array_test.go:111: IndexOfSelection=2 29 bench_array_test.go:111: IndexOfSelection=2 30 bench_array_test.go:111: IndexOfSelection=2 31 bench_array_test.go:111: IndexOfSelection=2 32 bench_array_test.go:111: IndexOfSelection=2 33BenchmarkMetalReviewExample 5000 327144 ns/op 34--- BENCH: BenchmarkMetalReviewExample 35 bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). 36 Review 1: Over Your Threshold - Facticity (6.0). 37 Review 2: Nuclear Death Terror - Chaos Reigns (7.5). 38 Review 3: Evoken - Atra Mors (9.5). 39 40 bench_example_test.go:41: MetalReviewExample=10 41 bench_example_test.go:40: Review 0: Midnight - Complete and Total Hell (8.5). 42 Review 1: Over Your Threshold - Facticity (6.0). 43 Review 2: Nuclear Death Terror - Chaos Reigns (7.5). 44 Review 3: Evoken - Atra Mors (9.5). 45 ... [output truncated] 46BenchmarkAdd 50000 52945 ns/op 47--- BENCH: BenchmarkAdd 48 bench_expand_test.go:20: Add=43 49 bench_expand_test.go:20: Add=43 50 bench_expand_test.go:20: Add=43 51 bench_expand_test.go:20: Add=43 52BenchmarkAddSelection 10000000 205 ns/op 53--- BENCH: BenchmarkAddSelection 54 bench_expand_test.go:37: AddSelection=43 55 bench_expand_test.go:37: AddSelection=43 56 bench_expand_test.go:37: AddSelection=43 57 bench_expand_test.go:37: AddSelection=43 58 bench_expand_test.go:37: AddSelection=43 59BenchmarkAddNodes 10000000 203 ns/op 60--- BENCH: BenchmarkAddNodes 61 bench_expand_test.go:55: AddNodes=43 62 bench_expand_test.go:55: AddNodes=43 63 bench_expand_test.go:55: AddNodes=43 64 bench_expand_test.go:55: AddNodes=43 65 bench_expand_test.go:55: AddNodes=43 66BenchmarkAndSelf 1000000 2639 ns/op 67--- BENCH: BenchmarkAndSelf 68 bench_expand_test.go:71: AndSelf=44 69 bench_expand_test.go:71: AndSelf=44 70 bench_expand_test.go:71: AndSelf=44 71 bench_expand_test.go:71: AndSelf=44 72BenchmarkFilter 50000 30182 ns/op 73--- BENCH: BenchmarkFilter 74 bench_filter_test.go:20: Filter=13 75 bench_filter_test.go:20: Filter=13 76 bench_filter_test.go:20: Filter=13 77 bench_filter_test.go:20: Filter=13 78BenchmarkNot 50000 34855 ns/op 79--- BENCH: BenchmarkNot 80 bench_filter_test.go:36: Not=371 81 bench_filter_test.go:36: Not=371 82 bench_filter_test.go:36: Not=371 83 bench_filter_test.go:36: Not=371 84BenchmarkFilterFunction 50000 66052 ns/op 85--- BENCH: BenchmarkFilterFunction 86 bench_filter_test.go:55: FilterFunction=112 87 bench_filter_test.go:55: FilterFunction=112 88 bench_filter_test.go:55: FilterFunction=112 89 bench_filter_test.go:55: FilterFunction=112 90BenchmarkNotFunction 50000 69721 ns/op 91--- BENCH: BenchmarkNotFunction 92 bench_filter_test.go:74: NotFunction=261 93 bench_filter_test.go:74: NotFunction=261 94 bench_filter_test.go:74: NotFunction=261 95 bench_filter_test.go:74: NotFunction=261 96BenchmarkFilterNodes 50000 66077 ns/op 97--- BENCH: BenchmarkFilterNodes 98 bench_filter_test.go:92: FilterNodes=2 99 bench_filter_test.go:92: FilterNodes=2 100 bench_filter_test.go:92: FilterNodes=2 101 bench_filter_test.go:92: FilterNodes=2 102BenchmarkNotNodes 20000 80021 ns/op 103--- BENCH: BenchmarkNotNodes 104 bench_filter_test.go:110: NotNodes=360 105 bench_filter_test.go:110: NotNodes=360 106 bench_filter_test.go:110: NotNodes=360 107 bench_filter_test.go:110: NotNodes=360 108BenchmarkFilterSelection 50000 66256 ns/op 109--- BENCH: BenchmarkFilterSelection 110 bench_filter_test.go:127: FilterSelection=2 111 bench_filter_test.go:127: FilterSelection=2 112 bench_filter_test.go:127: FilterSelection=2 113 bench_filter_test.go:127: FilterSelection=2 114BenchmarkNotSelection 20000 79568 ns/op 115--- BENCH: BenchmarkNotSelection 116 bench_filter_test.go:144: NotSelection=360 117 bench_filter_test.go:144: NotSelection=360 118 bench_filter_test.go:144: NotSelection=360 119 bench_filter_test.go:144: NotSelection=360 120BenchmarkHas 5000 569441 ns/op 121--- BENCH: BenchmarkHas 122 bench_filter_test.go:160: Has=13 123 bench_filter_test.go:160: Has=13 124 bench_filter_test.go:160: Has=13 125BenchmarkHasNodes 10000 230585 ns/op 126--- BENCH: BenchmarkHasNodes 127 bench_filter_test.go:178: HasNodes=15 128 bench_filter_test.go:178: HasNodes=15 129 bench_filter_test.go:178: HasNodes=15 130BenchmarkHasSelection 10000 231470 ns/op 131--- BENCH: BenchmarkHasSelection 132 bench_filter_test.go:195: HasSelection=15 133 bench_filter_test.go:195: HasSelection=15 134 bench_filter_test.go:195: HasSelection=15 135BenchmarkEnd 500000000 4.65 ns/op 136--- BENCH: BenchmarkEnd 137 bench_filter_test.go:211: End=373 138 bench_filter_test.go:211: End=373 139 bench_filter_test.go:211: End=373 140 bench_filter_test.go:211: End=373 141 bench_filter_test.go:211: End=373 142 bench_filter_test.go:211: End=373 143BenchmarkEach 200000 9558 ns/op 144--- BENCH: BenchmarkEach 145 bench_iteration_test.go:22: Each=59 146 bench_iteration_test.go:22: Each=59 147 bench_iteration_test.go:22: Each=59 148 bench_iteration_test.go:22: Each=59 149BenchmarkMap 100000 16809 ns/op 150--- BENCH: BenchmarkMap 151 bench_iteration_test.go:41: Map=59 152 bench_iteration_test.go:41: Map=59 153 bench_iteration_test.go:41: Map=59 154 bench_iteration_test.go:41: Map=59 155BenchmarkAttr 50000000 37.5 ns/op 156--- BENCH: BenchmarkAttr 157 bench_property_test.go:16: Attr=firstHeading 158 bench_property_test.go:16: Attr=firstHeading 159 bench_property_test.go:16: Attr=firstHeading 160 bench_property_test.go:16: Attr=firstHeading 161 bench_property_test.go:16: Attr=firstHeading 162BenchmarkText 100000 18583 ns/op 163BenchmarkLength 2000000000 0.80 ns/op 164--- BENCH: BenchmarkLength 165 bench_property_test.go:37: Length=14 166 bench_property_test.go:37: Length=14 167 bench_property_test.go:37: Length=14 168 bench_property_test.go:37: Length=14 169 bench_property_test.go:37: Length=14 170 bench_property_test.go:37: Length=14 171BenchmarkHtml 5000000 666 ns/op 172BenchmarkIs 50000 34328 ns/op 173--- BENCH: BenchmarkIs 174 bench_query_test.go:16: Is=true 175 bench_query_test.go:16: Is=true 176 bench_query_test.go:16: Is=true 177 bench_query_test.go:16: Is=true 178BenchmarkIsPositional 50000 32423 ns/op 179--- BENCH: BenchmarkIsPositional 180 bench_query_test.go:28: IsPositional=true 181 bench_query_test.go:28: IsPositional=true 182 bench_query_test.go:28: IsPositional=true 183 bench_query_test.go:28: IsPositional=true 184BenchmarkIsFunction 1000000 2707 ns/op 185--- BENCH: BenchmarkIsFunction 186 bench_query_test.go:43: IsFunction=true 187 bench_query_test.go:43: IsFunction=true 188 bench_query_test.go:43: IsFunction=true 189 bench_query_test.go:43: IsFunction=true 190BenchmarkIsSelection 50000 66976 ns/op 191--- BENCH: BenchmarkIsSelection 192 bench_query_test.go:56: IsSelection=true 193 bench_query_test.go:56: IsSelection=true 194 bench_query_test.go:56: IsSelection=true 195 bench_query_test.go:56: IsSelection=true 196BenchmarkIsNodes 50000 66740 ns/op 197--- BENCH: BenchmarkIsNodes 198 bench_query_test.go:70: IsNodes=true 199 bench_query_test.go:70: IsNodes=true 200 bench_query_test.go:70: IsNodes=true 201 bench_query_test.go:70: IsNodes=true 202BenchmarkHasClass 5000 701722 ns/op 203--- BENCH: BenchmarkHasClass 204 bench_query_test.go:82: HasClass=true 205 bench_query_test.go:82: HasClass=true 206 bench_query_test.go:82: HasClass=true 207BenchmarkContains 100000000 11.9 ns/op 208--- BENCH: BenchmarkContains 209 bench_query_test.go:96: Contains=true 210 bench_query_test.go:96: Contains=true 211 bench_query_test.go:96: Contains=true 212 bench_query_test.go:96: Contains=true 213 bench_query_test.go:96: Contains=true 214BenchmarkFind 50000 55444 ns/op 215--- BENCH: BenchmarkFind 216 bench_traversal_test.go:18: Find=41 217 bench_traversal_test.go:18: Find=41 218 bench_traversal_test.go:18: Find=41 219 bench_traversal_test.go:18: Find=41 220BenchmarkFindWithinSelection 10000 127984 ns/op 221--- BENCH: BenchmarkFindWithinSelection 222 bench_traversal_test.go:34: FindWithinSelection=39 223 bench_traversal_test.go:34: FindWithinSelection=39 224 bench_traversal_test.go:34: FindWithinSelection=39 225BenchmarkFindSelection 5000 355944 ns/op 226--- BENCH: BenchmarkFindSelection 227 bench_traversal_test.go:51: FindSelection=73 228 bench_traversal_test.go:51: FindSelection=73 229 bench_traversal_test.go:51: FindSelection=73 230BenchmarkFindNodes 5000 355596 ns/op 231--- BENCH: BenchmarkFindNodes 232 bench_traversal_test.go:69: FindNodes=73 233 bench_traversal_test.go:69: FindNodes=73 234 bench_traversal_test.go:69: FindNodes=73 235BenchmarkContents 500000 5656 ns/op 236--- BENCH: BenchmarkContents 237 bench_traversal_test.go:85: Contents=16 238 bench_traversal_test.go:85: Contents=16 239 bench_traversal_test.go:85: Contents=16 240 bench_traversal_test.go:85: Contents=16 241BenchmarkContentsFiltered 200000 9007 ns/op 242--- BENCH: BenchmarkContentsFiltered 243 bench_traversal_test.go:101: ContentsFiltered=1 244 bench_traversal_test.go:101: ContentsFiltered=1 245 bench_traversal_test.go:101: ContentsFiltered=1 246 bench_traversal_test.go:101: ContentsFiltered=1 247BenchmarkChildren 1000000 1237 ns/op 248--- BENCH: BenchmarkChildren 249 bench_traversal_test.go:117: Children=2 250 bench_traversal_test.go:117: Children=2 251 bench_traversal_test.go:117: Children=2 252 bench_traversal_test.go:117: Children=2 253BenchmarkChildrenFiltered 500000 5613 ns/op 254--- BENCH: BenchmarkChildrenFiltered 255 bench_traversal_test.go:133: ChildrenFiltered=2 256 bench_traversal_test.go:133: ChildrenFiltered=2 257 bench_traversal_test.go:133: ChildrenFiltered=2 258 bench_traversal_test.go:133: ChildrenFiltered=2 259BenchmarkParent 50000 47026 ns/op 260--- BENCH: BenchmarkParent 261 bench_traversal_test.go:149: Parent=55 262 bench_traversal_test.go:149: Parent=55 263 bench_traversal_test.go:149: Parent=55 264 bench_traversal_test.go:149: Parent=55 265BenchmarkParentFiltered 50000 51438 ns/op 266--- BENCH: BenchmarkParentFiltered 267 bench_traversal_test.go:165: ParentFiltered=4 268 bench_traversal_test.go:165: ParentFiltered=4 269 bench_traversal_test.go:165: ParentFiltered=4 270 bench_traversal_test.go:165: ParentFiltered=4 271BenchmarkParents 20000 91820 ns/op 272--- BENCH: BenchmarkParents 273 bench_traversal_test.go:181: Parents=73 274 bench_traversal_test.go:181: Parents=73 275 bench_traversal_test.go:181: Parents=73 276 bench_traversal_test.go:181: Parents=73 277BenchmarkParentsFiltered 20000 95156 ns/op 278--- BENCH: BenchmarkParentsFiltered 279 bench_traversal_test.go:197: ParentsFiltered=18 280 bench_traversal_test.go:197: ParentsFiltered=18 281 bench_traversal_test.go:197: ParentsFiltered=18 282 bench_traversal_test.go:197: ParentsFiltered=18 283BenchmarkParentsUntil 10000 134383 ns/op 284--- BENCH: BenchmarkParentsUntil 285 bench_traversal_test.go:213: ParentsUntil=52 286 bench_traversal_test.go:213: ParentsUntil=52 287 bench_traversal_test.go:213: ParentsUntil=52 288BenchmarkParentsUntilSelection 10000 235456 ns/op 289--- BENCH: BenchmarkParentsUntilSelection 290 bench_traversal_test.go:230: ParentsUntilSelection=70 291 bench_traversal_test.go:230: ParentsUntilSelection=70 292 bench_traversal_test.go:230: ParentsUntilSelection=70 293BenchmarkParentsUntilNodes 10000 235936 ns/op 294--- BENCH: BenchmarkParentsUntilNodes 295 bench_traversal_test.go:248: ParentsUntilNodes=70 296 bench_traversal_test.go:248: ParentsUntilNodes=70 297 bench_traversal_test.go:248: ParentsUntilNodes=70 298BenchmarkParentsFilteredUntil 50000 32451 ns/op 299--- BENCH: BenchmarkParentsFilteredUntil 300 bench_traversal_test.go:264: ParentsFilteredUntil=2 301 bench_traversal_test.go:264: ParentsFilteredUntil=2 302 bench_traversal_test.go:264: ParentsFilteredUntil=2 303 bench_traversal_test.go:264: ParentsFilteredUntil=2 304BenchmarkParentsFilteredUntilSelection 50000 30570 ns/op 305--- BENCH: BenchmarkParentsFilteredUntilSelection 306 bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 307 bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 308 bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 309 bench_traversal_test.go:281: ParentsFilteredUntilSelection=2 310BenchmarkParentsFilteredUntilNodes 50000 30729 ns/op 311--- BENCH: BenchmarkParentsFilteredUntilNodes 312 bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 313 bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 314 bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 315 bench_traversal_test.go:299: ParentsFilteredUntilNodes=2 316BenchmarkSiblings 10000 106704 ns/op 317--- BENCH: BenchmarkSiblings 318 bench_traversal_test.go:315: Siblings=293 319 bench_traversal_test.go:315: Siblings=293 320 bench_traversal_test.go:315: Siblings=293 321BenchmarkSiblingsFiltered 10000 115592 ns/op 322--- BENCH: BenchmarkSiblingsFiltered 323 bench_traversal_test.go:331: SiblingsFiltered=46 324 bench_traversal_test.go:331: SiblingsFiltered=46 325 bench_traversal_test.go:331: SiblingsFiltered=46 326BenchmarkNext 50000 54449 ns/op 327--- BENCH: BenchmarkNext 328 bench_traversal_test.go:347: Next=49 329 bench_traversal_test.go:347: Next=49 330 bench_traversal_test.go:347: Next=49 331 bench_traversal_test.go:347: Next=49 332BenchmarkNextFiltered 50000 58503 ns/op 333--- BENCH: BenchmarkNextFiltered 334 bench_traversal_test.go:363: NextFiltered=6 335 bench_traversal_test.go:363: NextFiltered=6 336 bench_traversal_test.go:363: NextFiltered=6 337 bench_traversal_test.go:363: NextFiltered=6 338BenchmarkNextAll 20000 77698 ns/op 339--- BENCH: BenchmarkNextAll 340 bench_traversal_test.go:379: NextAll=234 341 bench_traversal_test.go:379: NextAll=234 342 bench_traversal_test.go:379: NextAll=234 343 bench_traversal_test.go:379: NextAll=234 344BenchmarkNextAllFiltered 20000 85034 ns/op 345--- BENCH: BenchmarkNextAllFiltered 346 bench_traversal_test.go:395: NextAllFiltered=33 347 bench_traversal_test.go:395: NextAllFiltered=33 348 bench_traversal_test.go:395: NextAllFiltered=33 349 bench_traversal_test.go:395: NextAllFiltered=33 350BenchmarkPrev 50000 56458 ns/op 351--- BENCH: BenchmarkPrev 352 bench_traversal_test.go:411: Prev=49 353 bench_traversal_test.go:411: Prev=49 354 bench_traversal_test.go:411: Prev=49 355 bench_traversal_test.go:411: Prev=49 356BenchmarkPrevFiltered 50000 60163 ns/op 357--- BENCH: BenchmarkPrevFiltered 358 bench_traversal_test.go:429: PrevFiltered=7 359 bench_traversal_test.go:429: PrevFiltered=7 360 bench_traversal_test.go:429: PrevFiltered=7 361 bench_traversal_test.go:429: PrevFiltered=7 362BenchmarkPrevAll 50000 47679 ns/op 363--- BENCH: BenchmarkPrevAll 364 bench_traversal_test.go:445: PrevAll=78 365 bench_traversal_test.go:445: PrevAll=78 366 bench_traversal_test.go:445: PrevAll=78 367 bench_traversal_test.go:445: PrevAll=78 368BenchmarkPrevAllFiltered 50000 51563 ns/op 369--- BENCH: BenchmarkPrevAllFiltered 370 bench_traversal_test.go:461: PrevAllFiltered=6 371 bench_traversal_test.go:461: PrevAllFiltered=6 372 bench_traversal_test.go:461: PrevAllFiltered=6 373 bench_traversal_test.go:461: PrevAllFiltered=6 374BenchmarkNextUntil 10000 213998 ns/op 375--- BENCH: BenchmarkNextUntil 376 bench_traversal_test.go:477: NextUntil=84 377 bench_traversal_test.go:477: NextUntil=84 378 bench_traversal_test.go:477: NextUntil=84 379BenchmarkNextUntilSelection 10000 140720 ns/op 380--- BENCH: BenchmarkNextUntilSelection 381 bench_traversal_test.go:494: NextUntilSelection=42 382 bench_traversal_test.go:494: NextUntilSelection=42 383 bench_traversal_test.go:494: NextUntilSelection=42 384BenchmarkNextUntilNodes 20000 90702 ns/op 385--- BENCH: BenchmarkNextUntilNodes 386 bench_traversal_test.go:512: NextUntilNodes=12 387 bench_traversal_test.go:512: NextUntilNodes=12 388 bench_traversal_test.go:512: NextUntilNodes=12 389 bench_traversal_test.go:512: NextUntilNodes=12 390BenchmarkPrevUntil 5000 456039 ns/op 391--- BENCH: BenchmarkPrevUntil 392 bench_traversal_test.go:528: PrevUntil=238 393 bench_traversal_test.go:528: PrevUntil=238 394 bench_traversal_test.go:528: PrevUntil=238 395BenchmarkPrevUntilSelection 10000 167944 ns/op 396--- BENCH: BenchmarkPrevUntilSelection 397 bench_traversal_test.go:545: PrevUntilSelection=49 398 bench_traversal_test.go:545: PrevUntilSelection=49 399 bench_traversal_test.go:545: PrevUntilSelection=49 400BenchmarkPrevUntilNodes 20000 82059 ns/op 401--- BENCH: BenchmarkPrevUntilNodes 402 bench_traversal_test.go:563: PrevUntilNodes=11 403 bench_traversal_test.go:563: PrevUntilNodes=11 404 bench_traversal_test.go:563: PrevUntilNodes=11 405 bench_traversal_test.go:563: PrevUntilNodes=11 406BenchmarkNextFilteredUntil 10000 150883 ns/op 407--- BENCH: BenchmarkNextFilteredUntil 408 bench_traversal_test.go:579: NextFilteredUntil=22 409 bench_traversal_test.go:579: NextFilteredUntil=22 410 bench_traversal_test.go:579: NextFilteredUntil=22 411BenchmarkNextFilteredUntilSelection 10000 146578 ns/op 412--- BENCH: BenchmarkNextFilteredUntilSelection 413 bench_traversal_test.go:596: NextFilteredUntilSelection=22 414 bench_traversal_test.go:596: NextFilteredUntilSelection=22 415 bench_traversal_test.go:596: NextFilteredUntilSelection=22 416BenchmarkNextFilteredUntilNodes 10000 148284 ns/op 417--- BENCH: BenchmarkNextFilteredUntilNodes 418 bench_traversal_test.go:614: NextFilteredUntilNodes=22 419 bench_traversal_test.go:614: NextFilteredUntilNodes=22 420 bench_traversal_test.go:614: NextFilteredUntilNodes=22 421BenchmarkPrevFilteredUntil 10000 154303 ns/op 422--- BENCH: BenchmarkPrevFilteredUntil 423 bench_traversal_test.go:630: PrevFilteredUntil=20 424 bench_traversal_test.go:630: PrevFilteredUntil=20 425 bench_traversal_test.go:630: PrevFilteredUntil=20 426BenchmarkPrevFilteredUntilSelection 10000 149062 ns/op 427--- BENCH: BenchmarkPrevFilteredUntilSelection 428 bench_traversal_test.go:647: PrevFilteredUntilSelection=20 429 bench_traversal_test.go:647: PrevFilteredUntilSelection=20 430 bench_traversal_test.go:647: PrevFilteredUntilSelection=20 431BenchmarkPrevFilteredUntilNodes 10000 150584 ns/op 432--- BENCH: BenchmarkPrevFilteredUntilNodes 433 bench_traversal_test.go:665: PrevFilteredUntilNodes=20 434 bench_traversal_test.go:665: PrevFilteredUntilNodes=20 435 bench_traversal_test.go:665: PrevFilteredUntilNodes=20 436ok github.com/PuerkitoBio/goquery 188.326s 437