...

Text file src/github.com/PuerkitoBio/goquery/bench/v1.0.1b-go1.7

Documentation: github.com/PuerkitoBio/goquery/bench

     1BenchmarkFirst-4                           	30000000	        51.8 ns/op	      48 B/op	       1 allocs/op
     2BenchmarkLast-4                            	30000000	        50.1 ns/op	      48 B/op	       1 allocs/op
     3BenchmarkEq-4                              	30000000	        51.4 ns/op	      48 B/op	       1 allocs/op
     4BenchmarkSlice-4                           	500000000	         3.52 ns/op	       0 B/op	       0 allocs/op
     5BenchmarkGet-4                             	2000000000	         1.65 ns/op	       0 B/op	       0 allocs/op
     6BenchmarkIndex-4                           	 2000000	       787 ns/op	     248 B/op	      10 allocs/op
     7BenchmarkIndexSelector-4                   	  100000	     16952 ns/op	    3839 B/op	      21 allocs/op
     8BenchmarkIndexOfNode-4                     	200000000	         6.42 ns/op	       0 B/op	       0 allocs/op
     9BenchmarkIndexOfSelection-4                	200000000	         7.12 ns/op	       0 B/op	       0 allocs/op
    10BenchmarkMetalReviewExample-4              	   10000	    141994 ns/op	   12418 B/op	     320 allocs/op
    11BenchmarkAdd-4                             	  200000	     10367 ns/op	     208 B/op	       9 allocs/op
    12BenchmarkAddSelection-4                    	10000000	       152 ns/op	      48 B/op	       1 allocs/op
    13BenchmarkAddNodes-4                        	10000000	       147 ns/op	      48 B/op	       1 allocs/op
    14BenchmarkAndSelf-4                         	 1000000	      1647 ns/op	    1008 B/op	       5 allocs/op
    15BenchmarkFilter-4                          	  100000	     19522 ns/op	     360 B/op	       8 allocs/op
    16BenchmarkNot-4                             	  100000	     22546 ns/op	     136 B/op	       5 allocs/op
    17BenchmarkFilterFunction-4                  	   50000	     35087 ns/op	   22976 B/op	     755 allocs/op
    18BenchmarkNotFunction-4                     	   50000	     39123 ns/op	   29120 B/op	     757 allocs/op
    19BenchmarkFilterNodes-4                     	   50000	     34890 ns/op	   20960 B/op	     749 allocs/op
    20BenchmarkNotNodes-4                        	   30000	     41145 ns/op	   29120 B/op	     757 allocs/op
    21BenchmarkFilterSelection-4                 	   50000	     33735 ns/op	   20960 B/op	     749 allocs/op
    22BenchmarkNotSelection-4                    	   30000	     41334 ns/op	   29120 B/op	     757 allocs/op
    23BenchmarkHas-4                             	    5000	    264058 ns/op	    2370 B/op	      50 allocs/op
    24BenchmarkHasNodes-4                        	   10000	    151718 ns/op	   21184 B/op	     752 allocs/op
    25BenchmarkHasSelection-4                    	   10000	    156955 ns/op	   21184 B/op	     752 allocs/op
    26BenchmarkEnd-4                             	2000000000	         1.01 ns/op	       0 B/op	       0 allocs/op
    27BenchmarkEach-4                            	  300000	      4660 ns/op	    3304 B/op	     118 allocs/op
    28BenchmarkMap-4                             	  200000	      8404 ns/op	    5572 B/op	     184 allocs/op
    29BenchmarkEachWithBreak-4                   	 2000000	       806 ns/op	     560 B/op	      20 allocs/op
    30BenchmarkAttr-4                            	100000000	        21.6 ns/op	       0 B/op	       0 allocs/op
    31BenchmarkText-4                            	  200000	      8911 ns/op	    7536 B/op	     110 allocs/op
    32BenchmarkLength-4                          	2000000000	         0.34 ns/op	       0 B/op	       0 allocs/op
    33BenchmarkHtml-4                            	 3000000	       405 ns/op	     120 B/op	       2 allocs/op
    34BenchmarkIs-4                              	  100000	     22228 ns/op	      88 B/op	       4 allocs/op
    35BenchmarkIsPositional-4                    	   50000	     26469 ns/op	    1112 B/op	      10 allocs/op
    36BenchmarkIsFunction-4                      	 1000000	      1240 ns/op	     784 B/op	      28 allocs/op
    37BenchmarkIsSelection-4                     	   50000	     33709 ns/op	   20960 B/op	     749 allocs/op
    38BenchmarkIsNodes-4                         	   50000	     33711 ns/op	   20960 B/op	     749 allocs/op
    39BenchmarkHasClass-4                        	   10000	    236005 ns/op	   14944 B/op	     976 allocs/op
    40BenchmarkContains-4                        	200000000	         7.47 ns/op	       0 B/op	       0 allocs/op
    41BenchmarkFind-4                            	  100000	     16075 ns/op	    3839 B/op	      21 allocs/op
    42BenchmarkFindWithinSelection-4             	   30000	     41418 ns/op	    3539 B/op	      82 allocs/op
    43BenchmarkFindSelection-4                   	   10000	    209490 ns/op	    5616 B/op	      89 allocs/op
    44BenchmarkFindNodes-4                       	   10000	    208206 ns/op	    5614 B/op	      89 allocs/op
    45BenchmarkContents-4                        	  300000	      4751 ns/op	    1420 B/op	      36 allocs/op
    46BenchmarkContentsFiltered-4                	  300000	      5454 ns/op	    1570 B/op	      41 allocs/op
    47BenchmarkChildren-4                        	 3000000	       527 ns/op	     152 B/op	       7 allocs/op
    48BenchmarkChildrenFiltered-4                	 1000000	      2484 ns/op	     352 B/op	      15 allocs/op
    49BenchmarkParent-4                          	   50000	     34724 ns/op	    6940 B/op	     387 allocs/op
    50BenchmarkParentFiltered-4                  	   50000	     35596 ns/op	    7141 B/op	     394 allocs/op
    51BenchmarkParents-4                         	   20000	     62094 ns/op	   30720 B/op	     837 allocs/op
    52BenchmarkParentsFiltered-4                 	   20000	     63223 ns/op	   31304 B/op	     845 allocs/op
    53BenchmarkParentsUntil-4                    	   50000	     30391 ns/op	   11828 B/op	     358 allocs/op
    54BenchmarkParentsUntilSelection-4           	   20000	     99962 ns/op	   54075 B/op	    1523 allocs/op
    55BenchmarkParentsUntilNodes-4               	   20000	     98763 ns/op	   54073 B/op	    1523 allocs/op
    56BenchmarkParentsFilteredUntil-4            	  200000	      7982 ns/op	    2787 B/op	      88 allocs/op
    57BenchmarkParentsFilteredUntilSelection-4   	  100000	     13618 ns/op	    5995 B/op	     192 allocs/op
    58BenchmarkParentsFilteredUntilNodes-4       	  100000	     13639 ns/op	    5994 B/op	     192 allocs/op
    59BenchmarkSiblings-4                        	   20000	     75287 ns/op	   28453 B/op	     225 allocs/op
    60BenchmarkSiblingsFiltered-4                	   20000	     80139 ns/op	   29543 B/op	     234 allocs/op
    61BenchmarkNext-4                            	  100000	     14270 ns/op	    4659 B/op	     117 allocs/op
    62BenchmarkNextFiltered-4                    	  100000	     15352 ns/op	    4860 B/op	     123 allocs/op
    63BenchmarkNextAll-4                         	   20000	     60811 ns/op	   22771 B/op	     157 allocs/op
    64BenchmarkNextAllFiltered-4                 	   20000	     69079 ns/op	   23871 B/op	     166 allocs/op
    65BenchmarkPrev-4                            	  100000	     14417 ns/op	    4659 B/op	     117 allocs/op
    66BenchmarkPrevFiltered-4                    	  100000	     15443 ns/op	    4859 B/op	     123 allocs/op
    67BenchmarkPrevAll-4                         	  100000	     22008 ns/op	    7346 B/op	     120 allocs/op
    68BenchmarkPrevAllFiltered-4                 	  100000	     23212 ns/op	    7544 B/op	     126 allocs/op
    69BenchmarkNextUntil-4                       	   50000	     30589 ns/op	    8767 B/op	     267 allocs/op
    70BenchmarkNextUntilSelection-4              	   30000	     40875 ns/op	   19862 B/op	     546 allocs/op
    71BenchmarkNextUntilNodes-4                  	  100000	     15987 ns/op	    8134 B/op	     249 allocs/op
    72BenchmarkPrevUntil-4                       	   20000	     98799 ns/op	   25727 B/op	     467 allocs/op
    73BenchmarkPrevUntilSelection-4              	   30000	     51874 ns/op	   24875 B/op	     694 allocs/op
    74BenchmarkPrevUntilNodes-4                  	  100000	     12901 ns/op	    6334 B/op	     204 allocs/op
    75BenchmarkNextFilteredUntil-4               	  100000	     19869 ns/op	    5909 B/op	     177 allocs/op
    76BenchmarkNextFilteredUntilSelection-4      	   30000	     45412 ns/op	   20557 B/op	     571 allocs/op
    77BenchmarkNextFilteredUntilNodes-4          	   30000	     45363 ns/op	   20557 B/op	     571 allocs/op
    78BenchmarkPrevFilteredUntil-4               	  100000	     19357 ns/op	    6033 B/op	     179 allocs/op
    79BenchmarkPrevFilteredUntilSelection-4      	   30000	     46396 ns/op	   21305 B/op	     591 allocs/op
    80BenchmarkPrevFilteredUntilNodes-4          	   30000	     46133 ns/op	   21305 B/op	     591 allocs/op
    81BenchmarkClosest-4                         	  500000	      3448 ns/op	     160 B/op	       8 allocs/op
    82BenchmarkClosestSelection-4                	 3000000	       528 ns/op	      96 B/op	       6 allocs/op
    83BenchmarkClosestNodes-4                    	 3000000	       523 ns/op	      96 B/op	       6 allocs/op
    84PASS
    85ok  	github.com/PuerkitoBio/goquery	162.012s

View as plain text