Created
September 23, 2016 22:49
-
-
Save iamed2/af796727a8a3248e36c4a8b94933aa28 to your computer and use it in GitHub Desktop.
Iterators.jl performance comparison on Julia 0.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Benchmarking Take1 ... | |
Take1 with cfg = 4096: nruns = 28955, elapsed = 1.516598519 secs | |
Take1 with cfg = 16384: nruns = 6217, elapsed = 1.307575089 secs | |
Take1 with cfg = 65536: nruns = 1252, elapsed = 1.152236431 secs | |
Take1 with cfg = 262144: nruns = 266, elapsed = 0.905467819 secs | |
Take1 with cfg = 1048576: nruns = 91, elapsed = 1.172819189 secs | |
Benchmarking Take2 ... | |
Take2 with cfg = 4096: nruns = 24779, elapsed = 1.368126555 secs | |
Take2 with cfg = 16384: nruns = 6403, elapsed = 1.47713414 secs | |
Take2 with cfg = 65536: nruns = 926, elapsed = 0.909415618 secs | |
Take2 with cfg = 262144: nruns = 319, elapsed = 1.195397156 secs | |
Take2 with cfg = 1048576: nruns = 84, elapsed = 1.188387162 secs | |
Benchmarking Take3 ... | |
Take3 with cfg = 4096: nruns = 23548, elapsed = 1.332070304 secs | |
Take3 with cfg = 16384: nruns = 1534, elapsed = 0.413449037 secs | |
Take3 with cfg = 65536: nruns = 944, elapsed = 0.978997946 secs | |
Take3 with cfg = 262144: nruns = 274, elapsed = 1.110193463 secs | |
Take3 with cfg = 1048576: nruns = 68, elapsed = 1.044904394 secs | |
Benchmarking Take4 ... | |
Take4 with cfg = 4096: nruns = 24303, elapsed = 1.385943312 secs | |
Take4 with cfg = 16384: nruns = 6434, elapsed = 1.550986456 secs | |
Take4 with cfg = 65536: nruns = 1107, elapsed = 1.143786695 secs | |
Take4 with cfg = 262144: nruns = 248, elapsed = 0.992867386 secs | |
Take4 with cfg = 1048576: nruns = 62, elapsed = 0.954111776 secs | |
Benchmarking Take5 ... | |
Take5 with cfg = 4096: nruns = 440, elapsed = 1.092052389 secs | |
Take5 with cfg = 16384: nruns = 114, elapsed = 1.112458934 secs | |
Take5 with cfg = 65536: nruns = 24, elapsed = 0.939015863 secs | |
Take5 with cfg = 262144: nruns = 7, elapsed = 1.106511697 secs | |
Take5 with cfg = 1048576: nruns = 2, elapsed = 1.2786453 secs | |
Benchmarking Take6 ... | |
Take6 with cfg = 4096: nruns = 318, elapsed = 0.976238588 secs | |
Take6 with cfg = 16384: nruns = 93, elapsed = 1.108269385 secs | |
Take6 with cfg = 65536: nruns = 21, elapsed = 0.995892464 secs | |
Take6 with cfg = 262144: nruns = 6, elapsed = 1.198605279 secs | |
Take6 with cfg = 1048576: nruns = 2, elapsed = 1.573075825 secs | |
Benchmarking Partition1 ... | |
Partition1 with cfg = 4096: nruns = 274, elapsed = 1.073431203 secs | |
Partition1 with cfg = 16384: nruns = 63, elapsed = 0.935737362 secs | |
Partition1 with cfg = 65536: nruns = 17, elapsed = 0.998606035 secs | |
Partition1 with cfg = 262144: nruns = 5, elapsed = 1.240827498 secs | |
Partition1 with cfg = 1048576: nruns = 2, elapsed = 1.91899551 secs | |
Benchmarking Partition2 ... | |
Partition2 with cfg = 4096: nruns = 360, elapsed = 1.117815322 secs | |
Partition2 with cfg = 16384: nruns = 83, elapsed = 1.021702182 secs | |
Partition2 with cfg = 65536: nruns = 19, elapsed = 0.942801349 secs | |
Partition2 with cfg = 262144: nruns = 6, elapsed = 1.227484242 secs | |
Partition2 with cfg = 1048576: nruns = 2, elapsed = 1.573585932 secs | |
Benchmarking Partition3 ... | |
Partition3 with cfg = 4096: nruns = 328, elapsed = 1.120229949 secs | |
Partition3 with cfg = 16384: nruns = 66, elapsed = 0.897517903 secs | |
Partition3 with cfg = 65536: nruns = 18, elapsed = 0.969684535 secs | |
Partition3 with cfg = 262144: nruns = 5, elapsed = 1.120892797 secs | |
Partition3 with cfg = 1048576: nruns = 2, elapsed = 1.729932798 secs | |
Benchmarking GroupBy1 ... | |
GroupBy1 with cfg = 4096: nruns = 297, elapsed = 1.010558479 secs | |
GroupBy1 with cfg = 16384: nruns = 68, elapsed = 0.964452271 secs | |
GroupBy1 with cfg = 65536: nruns = 16, elapsed = 0.927297132 secs | |
GroupBy1 with cfg = 262144: nruns = 5, elapsed = 1.213423161 secs | |
GroupBy1 with cfg = 1048576: nruns = 1, elapsed = 1.170311695 secs | |
Benchmarking GroupBy2 ... | |
GroupBy2 with cfg = 4096: nruns = 168, elapsed = 1.031886924 secs | |
GroupBy2 with cfg = 16384: nruns = 37, elapsed = 0.882283795 secs | |
GroupBy2 with cfg = 65536: nruns = 11, elapsed = 1.061061756 secs | |
GroupBy2 with cfg = 262144: nruns = 3, elapsed = 1.313634624 secs | |
GroupBy2 with cfg = 1048576: nruns = 1, elapsed = 1.897091524 secs | |
Benchmarking Distinct ... | |
Distinct with cfg = 4096: nruns = 1131, elapsed = 1.247222966 secs | |
Distinct with cfg = 16384: nruns = 277, elapsed = 1.225755266 secs | |
Distinct with cfg = 65536: nruns = 26, elapsed = 0.500425278 secs | |
Distinct with cfg = 262144: nruns = 10, elapsed = 1.088247217 secs | |
Distinct with cfg = 1048576: nruns = 2, elapsed = 1.959102807 secs | |
Benchmarking Chain ... | |
Chain with cfg = 4096: nruns = 1927, elapsed = 1.237749014 secs | |
Chain with cfg = 16384: nruns = 247, elapsed = 0.610431995 secs | |
Chain with cfg = 65536: nruns = 91, elapsed = 0.906232097 secs | |
Chain with cfg = 262144: nruns = 24, elapsed = 1.005198588 secs | |
Chain with cfg = 1048576: nruns = 7, elapsed = 1.182534769 secs | |
Benchmarking Subsets ... | |
Subsets with cfg = 4: nruns = 327547, elapsed = 1.076946381 secs | |
Subsets with cfg = 6: nruns = 47369, elapsed = 0.68543608 secs | |
Subsets with cfg = 8: nruns = 14809, elapsed = 1.058728423 secs | |
Subsets with cfg = 10: nruns = 3888, elapsed = 1.155044886 secs | |
Subsets with cfg = 12: nruns = 944, elapsed = 1.154407185 secs | |
Subsets with cfg = 14: nruns = 154, elapsed = 0.811269851 secs | |
Subsets with cfg = 16: nruns = 40, elapsed = 0.94714215 secs | |
Benchmarking Product ... | |
Product with cfg = 32: nruns = 1906, elapsed = 1.065224832 secs | |
Product with cfg = 64: nruns = 149, elapsed = 0.665352106 secs | |
Product with cfg = 128: nruns = 23, elapsed = 0.814251259 secs | |
BenchmarkLite.BenchmarkTable [unit = msec] | |
config | Take1 Take2 Take3 Take4 Take5 Take6 Partition1 Partition2 Partition3 GroupBy1 GroupBy2 Distinct Chain | |
------------------------------------------------------------------------------------------------------------------------------------------------- | |
4096 | 0.0524 0.0552 0.0566 0.0570 2.4819 3.0699 3.9176 3.1050 3.4153 3.4026 6.1422 1.1028 0.6423 | |
16384 | 0.2103 0.2307 0.2695 0.2411 9.7584 11.9169 14.8530 12.3097 13.5988 14.1831 23.8455 4.4251 2.4714 | |
65536 | 0.9203 0.9821 1.0371 1.0332 39.1257 47.4235 58.7415 49.6211 53.8714 57.9561 96.4602 19.2471 9.9586 | |
262144 | 3.4040 3.7473 4.0518 4.0035 158.0731 199.7675 248.1655 204.5807 224.1786 242.6846 437.8782 108.8247 41.8833 | |
1048576 | 12.8881 14.1475 15.3662 15.3889 639.3226 786.5379 959.4978 786.7930 864.9664 1170.3117 1897.0915 979.5514 168.9335 | |
BenchmarkLite.BenchmarkTable [unit = msec] | |
config | Subsets | |
------------------- | |
4 | 0.0033 | |
6 | 0.0145 | |
8 | 0.0715 | |
10 | 0.2971 | |
12 | 1.2229 | |
14 | 5.2680 | |
16 | 23.6786 | |
BenchmarkLite.BenchmarkTable [unit = msec] | |
config | Product | |
------------------- | |
32 | 0.5589 | |
64 | 4.4655 | |
128 | 35.4022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Benchmarking Take1 ... | |
Take1 with cfg = 4096: nruns = 17508, elapsed = 0.917000067 secs | |
Take1 with cfg = 16384: nruns = 4657, elapsed = 0.99538758 secs | |
Take1 with cfg = 65536: nruns = 1169, elapsed = 1.073507815 secs | |
Take1 with cfg = 262144: nruns = 287, elapsed = 1.047258978 secs | |
Take1 with cfg = 1048576: nruns = 74, elapsed = 0.944893996 secs | |
Benchmarking Take2 ... | |
Take2 with cfg = 4096: nruns = 25340, elapsed = 1.372257499 secs | |
Take2 with cfg = 16384: nruns = 5547, elapsed = 1.272187722 secs | |
Take2 with cfg = 65536: nruns = 1109, elapsed = 1.089083192 secs | |
Take2 with cfg = 262144: nruns = 324, elapsed = 1.173156997 secs | |
Take2 with cfg = 1048576: nruns = 68, elapsed = 1.067165939 secs | |
Benchmarking Take3 ... | |
Take3 with cfg = 4096: nruns = 23819, elapsed = 1.360905628 secs | |
Take3 with cfg = 16384: nruns = 6624, elapsed = 1.727510835 secs | |
Take3 with cfg = 65536: nruns = 869, elapsed = 0.983843832 secs | |
Take3 with cfg = 262144: nruns = 315, elapsed = 1.365243524 secs | |
Take3 with cfg = 1048576: nruns = 81, elapsed = 1.234499621 secs | |
Benchmarking Take4 ... | |
Take4 with cfg = 4096: nruns = 17867, elapsed = 0.995464725 secs | |
Take4 with cfg = 16384: nruns = 6494, elapsed = 1.59306259 secs | |
Take4 with cfg = 65536: nruns = 1009, elapsed = 1.09579943 secs | |
Take4 with cfg = 262144: nruns = 291, elapsed = 1.183556487 secs | |
Take4 with cfg = 1048576: nruns = 56, elapsed = 0.892684743 secs | |
Benchmarking Take5 ... | |
Take5 with cfg = 4096: nruns = 215, elapsed = 1.070075445 secs | |
Take5 with cfg = 16384: nruns = 53, elapsed = 1.037504819 secs | |
Take5 with cfg = 65536: nruns = 14, elapsed = 1.107462054 secs | |
Take5 with cfg = 262144: nruns = 3, elapsed = 1.199763601 secs | |
Take5 with cfg = 1048576: nruns = 1, elapsed = 1.877669917 secs | |
Benchmarking Take6 ... | |
Take6 with cfg = 4096: nruns = 280, elapsed = 0.990796039 secs | |
Take6 with cfg = 16384: nruns = 79, elapsed = 1.070421974 secs | |
Take6 with cfg = 65536: nruns = 18, elapsed = 0.962672903 secs | |
Take6 with cfg = 262144: nruns = 4, elapsed = 1.209031827 secs | |
Take6 with cfg = 1048576: nruns = 1, elapsed = 1.60326867 secs | |
Benchmarking Partition1 ... | |
Partition1 with cfg = 4096: nruns = 49, elapsed = 0.373484274 secs | |
Partition1 with cfg = 16384: nruns = 51, elapsed = 1.322832276 secs | |
Partition1 with cfg = 65536: nruns = 10, elapsed = 1.000167523 secs | |
Partition1 with cfg = 262144: nruns = 3, elapsed = 1.076702997 secs | |
Partition1 with cfg = 1048576: nruns = 1, elapsed = 1.291907161 secs | |
Benchmarking Partition2 ... | |
Partition2 with cfg = 4096: nruns = 329, elapsed = 1.088232974 secs | |
Partition2 with cfg = 16384: nruns = 89, elapsed = 1.166624617 secs | |
Partition2 with cfg = 65536: nruns = 20, elapsed = 1.038367847 secs | |
Partition2 with cfg = 262144: nruns = 6, elapsed = 1.195618765 secs | |
Partition2 with cfg = 1048576: nruns = 2, elapsed = 1.602000497 secs | |
Benchmarking Partition3 ... | |
Partition3 with cfg = 4096: nruns = 318, elapsed = 1.18121117 secs | |
Partition3 with cfg = 16384: nruns = 74, elapsed = 1.068060088 secs | |
Partition3 with cfg = 65536: nruns = 18, elapsed = 1.062717002 secs | |
Partition3 with cfg = 262144: nruns = 5, elapsed = 1.22012629 secs | |
Partition3 with cfg = 1048576: nruns = 1, elapsed = 0.930844305 secs | |
Benchmarking GroupBy1 ... | |
GroupBy1 with cfg = 4096: nruns = 289, elapsed = 1.107909795 secs | |
GroupBy1 with cfg = 16384: nruns = 73, elapsed = 1.135544343 secs | |
GroupBy1 with cfg = 65536: nruns = 14, elapsed = 0.864789605 secs | |
GroupBy1 with cfg = 262144: nruns = 4, elapsed = 1.013019539 secs | |
GroupBy1 with cfg = 1048576: nruns = 1, elapsed = 1.269384461 secs | |
Benchmarking GroupBy2 ... | |
GroupBy2 with cfg = 4096: nruns = 157, elapsed = 1.02093548 secs | |
GroupBy2 with cfg = 16384: nruns = 40, elapsed = 1.011756655 secs | |
GroupBy2 with cfg = 65536: nruns = 10, elapsed = 1.017630466 secs | |
GroupBy2 with cfg = 262144: nruns = 3, elapsed = 1.36238702 secs | |
GroupBy2 with cfg = 1048576: nruns = 1, elapsed = 1.92021848 secs | |
Benchmarking Distinct ... | |
Distinct with cfg = 4096: nruns = 700, elapsed = 0.688085807 secs | |
Distinct with cfg = 16384: nruns = 250, elapsed = 1.024206505 secs | |
Distinct with cfg = 65536: nruns = 53, elapsed = 0.963734665 secs | |
Distinct with cfg = 262144: nruns = 9, elapsed = 0.942043708 secs | |
Distinct with cfg = 1048576: nruns = 2, elapsed = 2.016064793 secs | |
Benchmarking Chain ... | |
Chain with cfg = 4096: nruns = 244, elapsed = 0.972638141 secs | |
Chain with cfg = 16384: nruns = 66, elapsed = 0.998649941 secs | |
Chain with cfg = 65536: nruns = 16, elapsed = 0.958958371 secs | |
Chain with cfg = 262144: nruns = 5, elapsed = 1.204315219 secs | |
Chain with cfg = 1048576: nruns = 2, elapsed = 1.896005604 secs | |
Benchmarking Subsets ... | |
Subsets with cfg = 4: nruns = 89159, elapsed = 1.026869531 secs | |
Subsets with cfg = 6: nruns = 18187, elapsed = 0.838569748 secs | |
Subsets with cfg = 8: nruns = 6035, elapsed = 1.149808667 secs | |
Subsets with cfg = 10: nruns = 1486, elapsed = 1.157505419 secs | |
Subsets with cfg = 12: nruns = 350, elapsed = 1.092930572 secs | |
Subsets with cfg = 14: nruns = 90, elapsed = 1.181901913 secs | |
Subsets with cfg = 16: nruns = 18, elapsed = 0.950800999 secs | |
Benchmarking Product ... | |
Product with cfg = 32: nruns = 1480, elapsed = 0.920444555 secs | |
Product with cfg = 64: nruns = 162, elapsed = 0.792651652 secs | |
Product with cfg = 128: nruns = 22, elapsed = 0.852696369 secs | |
BenchmarkLite.BenchmarkTable [unit = msec] | |
config | Take1 Take2 Take3 Take4 Take5 Take6 Partition1 Partition2 Partition3 GroupBy1 GroupBy2 Distinct Chain | |
---------------------------------------------------------------------------------------------------------------------------------------------------- | |
4096 | 0.0524 0.0542 0.0571 0.0557 4.9771 3.5386 7.6221 3.3077 3.7145 3.8336 6.5028 0.9830 3.9862 | |
16384 | 0.2137 0.2293 0.2608 0.2453 19.5756 13.5496 25.9379 13.1081 14.4332 15.5554 25.2939 4.0968 15.1311 | |
65536 | 0.9183 0.9820 1.1322 1.0860 79.1044 53.4818 100.0168 51.9184 59.0398 61.7707 101.7630 18.1837 59.9349 | |
262144 | 3.6490 3.6209 4.3341 4.0672 399.9212 302.2580 358.9010 199.2698 244.0253 253.2549 454.1290 104.6715 240.8630 | |
1048576 | 12.7688 15.6936 15.2407 15.9408 1877.6699 1603.2687 1291.9072 801.0002 930.8443 1269.3845 1920.2185 1008.0324 948.0028 | |
BenchmarkLite.BenchmarkTable [unit = msec] | |
config | Subsets | |
------------------- | |
4 | 0.0115 | |
6 | 0.0461 | |
8 | 0.1905 | |
10 | 0.7789 | |
12 | 3.1227 | |
14 | 13.1322 | |
16 | 52.8223 | |
BenchmarkLite.BenchmarkTable [unit = msec] | |
config | Product | |
------------------- | |
32 | 0.6219 | |
64 | 4.8929 | |
128 | 38.7589 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment