Skip to content

Instantly share code, notes, and snippets.

@orestis
Last active December 13, 2016 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orestis/e4e7a937d02e155457255776fa3bba04 to your computer and use it in GitHub Desktop.
Save orestis/e4e7a937d02e155457255776fa3bba04 to your computer and use it in GitHub Desktop.
fprof output
# relevant code is at https://github.com/orestis/adventofcode/blob/master/2016/day11/lib/day11.ex
$ elixir -pa _build/MIX_ENV/consolidated -S mix profile.fprof --callers -e "Day11.solve"
...
<snip>
...
End of trace!
Processing data...
Creating output...
Done!
CNT ACC (ms) OWN (ms)
Total 30290057 277172.748 276193.389
:undefined 0 277172.748 0.028
:fprof.apply_start_stop/4 0 277172.748 0.028 <--
anonymous fn/0 in :elixir_compiler_1.__FILE__/1 1 277172.705 0.006
:fprof."-apply_start_stop/4-after$^0/0-0-"/3 1 0.015 0.015
:fprof.apply_start_stop/4 1 277172.705 0.006
anonymous fn/0 in :elixir_compiler_1.__FILE__/1 1 277172.705 0.006 <--
Day11.solve/0 1 277172.699 1.829
anonymous fn/0 in :elixir_compiler_1.__FILE__/1 1 277172.699 1.829
Day11.solve/0 1 277172.699 1.829 <--
Day11.solve_bfs/2 1 277169.380 0.003
Day11.puzzle_input/0 1 1.310 0.042
IO.puts/1 1 0.146 0.017
String.Chars.to_string/1 1 0.034 0.010
Day11.solve/0 1 277169.380 0.003
Day11.solve_bfs/2 1 277169.380 0.003 <--
Day11.walk_bfs/2 1 277169.377 0.010
Day11.solve_bfs/2 1 277169.377 0.010
Day11.walk_bfs/2 1 277169.377 0.010 <--
Day11.walk_bfs/5 1 277169.361 0.021
:queue.new/0 1 0.002 0.002
:queue.from_list/1 1 0.002 0.002
MapSet.new/0 1 0.002 0.002
Day11.walk_bfs/2 1 277169.361 0.021
Day11.walk_bfs/5 8962 0.000 532.241
Day11.walk_bfs/5 8963 277169.361 532.262 <--
Enum.reject/2 8954 129225.656 136.437
Day11.generate_new_state/1 8954 123114.631 464.954
Day11.put/2 8954 22456.197 99.918
:queue.join/2 8954 815.845 158.880
anonymous fn/2 in Day11.solve_bfs/2 8954 534.663 107.310
:queue.from_list/1 8954 341.454 96.384
:queue.drop/1 8954 68.667 68.530
:queue.peek/1 8972 36.755 36.755
:suspend 628 30.310 0.000
IO.puts/1 9 9.848 1.821
String.Chars.to_string/1 18 2.814 1.529
:garbage_collect 1 0.137 0.137
:queue.len/1 9 0.101 0.101
:queue.new/0 8 0.021 0.021
Day11.walk_bfs/5 8962 0.000 532.241
Enum.reject/2 8954 128998.896 51.410
Day11.generate_new_state/1 8954 113331.556 46.461
Enum.flat_map/2 123715 7904.409 780.889
Enum.partition/2 549306 2900.711 3810.988
Day11.pairs/1 25760 1194.698 159.884
Enum.unzip/1 61857 862.018 366.639
Enum.filter/2 8954 592.517 49.696
Enum.sum/1 568792 0.000 3985.562
anonymous fn/3 in Enum.flat_map/2 494860 0.000 3443.085
anonymous fn/5 in Day11.generate_new_state/1 14184 0.000 130.410
Enum.reduce/3 1865336 255784.805 12825.024 <--
Enum."-reduce/3-lists^foldl/2-0-"/3 1865336 255010.780 17842.034
:suspend 920 43.499 0.000
:garbage_collect 6 0.879 0.879
Enum.reduce/3 1865336 255010.780 17842.034
Enum."-reduce/3-lists^foldl/2-0-"/3 3994517 0.000 35499.449
Enum."-reduce/3-lists^foldl/2-0-"/3 5859853 255010.780 53341.483 <--
anonymous fn/3 in Enum.reject/2 52903 128205.092 572.904
anonymous fn/5 in Day11.generate_new_state/1 167020 110848.977 5769.237
anonymous fn/3 in Enum.flat_map/2 494860 36629.092 6370.721
anonymous fn/3 in Enum.partition/2 1505796 23020.520 15820.603
anonymous fn/5 in Day11.generate_new_state/1 14184 12325.669 82.771
anonymous fn/2 in Enum.flat_map/2 618580 2930.782 2916.544
anonymous fn/2 in Enum.unzip/1 247428 1427.732 1420.414
anonymous fn/3 in Enum.filter/2 17908 279.819 170.064
anonymous fn/3 in Day11.pairs/1 61882 248.899 248.155
:suspend 4772 200.162 0.000
:garbage_collect 246 65.348 65.348
Enum."-reduce/3-lists^foldl/2-0-"/3 3994517 0.000 35499.449
Day11.member?/2 52903 125349.946 4024.326
Day11.put/2 8954 22187.789 1001.572
Day11.hash/1 61857 147537.735 5025.898 <--
Enum.flat_map/2 123714 56250.587 1533.705
Enum.map/2 123714 42933.873 783.868
Enum.sort/1 185571 16830.951 1183.514
Enum.with_index/1 123714 14141.603 817.707
Enum.unzip/1 61857 8382.587 1382.974
Enum.zip/2 61857 3956.761 481.747
:suspend 315 10.008 0.000
:garbage_collect 27 5.467 5.467
Day11.walk_bfs/5 8954 129225.656 136.437
Enum.reject/2 8954 129225.656 136.437 <--
Enum.reduce/3 8954 128998.896 51.410
:lists.reverse/1 8954 89.892 68.957
:suspend 13 0.293 0.000
:garbage_collect 1 0.138 0.138
Enum."-reduce/3-lists^foldl/2-0-"/3 52903 128205.092 572.904
anonymous fn/3 in Enum.reject/2 52903 128205.092 572.904 <--
anonymous fn/2 in Day11.walk_bfs/5 52903 127630.756 491.364
:suspend 32 1.129 0.000
:garbage_collect 2 0.303 0.303
anonymous fn/3 in Enum.reject/2 52903 127630.756 491.364
anonymous fn/2 in Day11.walk_bfs/5 52903 127630.756 491.364 <--
Day11.member?/2 52903 127138.798 682.970
:suspend 18 0.455 0.000
:garbage_collect 1 0.139 0.139
anonymous fn/2 in Day11.walk_bfs/5 52903 127138.798 682.970
Day11.member?/2 52903 127138.798 682.970 <--
Day11.hash/1 52903 125349.946 4024.326
MapSet.member?/2 52903 1103.006 713.940
:suspend 54 1.536 0.000
:garbage_collect 6 1.340 1.340
Day11.walk_bfs/5 8954 123114.631 464.954
Day11.generate_new_state/1 8954 123114.631 464.954 <--
Enum.reduce/3 8954 113331.556 46.461
Enum.map/2 17908 5713.733 100.752
Day11.pairs/1 8954 2312.682 574.879
Enum.filter/2 8954 758.283 127.494
Enum.at/2 8954 290.564 45.906
:lists.reverse/1 8954 155.747 110.985
:erlang.make_fun/3 8954 50.341 50.341
:erlang.++/2 8954 34.409 34.409
:suspend 38 1.458 0.000
:garbage_collect 7 0.904 0.904
Enum."-reduce/3-lists^foldl/2-0-"/3 167020 110848.977 5769.237
anonymous fn/5 in Day11.generate_new_state/1 167020 110848.977 5769.237 <--
Day11.valid?/1 375163 95503.327 10908.426
Enum.at/2 167020 7764.272 1360.610
:erlang.--/2 167020 1042.052 1042.052
:erlang.++/2 167020 724.494 724.494
:garbage_collect 81 23.657 23.657
:suspend 507 21.938 0.000
anonymous fn/5 in Day11.generate_new_state/1 375163 95503.327 10908.426
Day11.valid?/1 375163 95503.327 10908.426 <--
Enum.partition/2 301878 38845.304 7059.028
Enum.map/2 568792 22893.698 3480.009
Enum.sum/1 568792 22794.194 7557.349
:suspend 850 44.786 0.000
:garbage_collect 73 16.919 16.919
Day11.hash/1 123714 42933.873 783.868
Day11.valid?/1 568792 22893.698 3480.009
anonymous fn/1 in Day11.hash/1 247428 9506.645 1586.093
anonymous fn/1 in Day11.hash/1 247428 9347.539 1595.326
Day11.generate_new_state/1 17908 5713.733 100.752
Day11.puzzle_input/0 1 0.283 0.002
Day11.elements_to_powers/1 1 0.107 0.003
Day11.f2p/2 4 0.000 0.008
Enum.map/2 1205276 90395.878 7546.061 <--
Enum."-map/2-lists^map/1-0-"/2 1205276 82828.435 25213.368
:suspend 610 19.809 0.000
:garbage_collect 7 1.581 1.581
Enum.map/2 1205276 82828.435 25213.368
Enum."-map/2-lists^map/1-0-"/2 2076880 0.000 14653.709
Enum."-map/2-lists^map/1-0-"/2 3282156 82828.435 39867.077 <--
anonymous fn/1 in Day11.hash/1 247428 30911.351 1560.430
anonymous fn/3 in Day11.generate_new_state/1 52903 3915.656 852.488
anonymous fn/1 in Day11.valid?/1 499692 2185.565 2184.243
anonymous fn/2 in Day11.hash/1 309285 1494.633 1487.913
anonymous fn/2 in Day11.hash/1 309285 1423.913 1415.350
anonymous fn/1 in Day11.hash/1 309285 1361.055 1355.503
anonymous fn/1 in Day11.valid?/1 314264 1332.023 1330.094
List.wrap/1 34714 135.680 135.361
:suspend 2368 115.236 0.000
:garbage_collect 326 86.036 86.036
anonymous fn/2 in Day11.f2p/2 10 0.159 0.039
anonymous fn/2 in Day11.puzzle_input/0 4 0.087 0.010
anonymous fn/1 in Day11.elements_to_powers/1 10 0.025 0.025
Enum."-map/2-lists^map/1-0-"/2 2076880 0.000 14653.709
Day11.valid?/1 301878 38845.304 7059.028
anonymous fn/1 in Day11.hash/1 247428 29332.820 6110.306
Enum.partition/2 549306 68178.124 13169.334 <--
:lists.reverse/1 1098612 6923.870 6219.294
Enum.reduce/3 549306 2900.711 3810.988
:suspend 834 60.527 0.000
:garbage_collect 117 40.413 40.413
Day11.hash/1 123714 56250.587 1533.705
Day11.elements_to_powers/1 1 0.212 0.007
Enum.flat_map/2 123715 56250.799 1533.712 <--
Enum.reduce/3 123715 7904.409 780.889
:lists.reverse/1 123715 2280.589 1418.521
:suspend 142 3.768 0.000
:garbage_collect 17 3.154 3.154
Enum."-reduce/3-lists^foldl/2-0-"/3 494860 36629.092 6370.721
anonymous fn/3 in Enum.flat_map/2 494860 36629.092 6370.721 <--
anonymous fn/1 in Day11.hash/1 247428 11063.264 1539.712
anonymous fn/1 in Day11.hash/1 247428 11051.926 1694.782
:garbage_collect 129 34.970 34.970
:suspend 548 17.780 0.000
anonymous fn/1 in Day11.elements_to_powers/1 4 0.009 0.009
Enum.reduce/3 494860 0.000 3443.085
Enum."-map/2-lists^map/1-0-"/2 247428 30911.351 1560.430
anonymous fn/1 in Day11.hash/1 247428 30911.351 1560.430 <--
Enum.partition/2 247428 29332.820 6110.306
:garbage_collect 49 11.857 11.857
:suspend 155 6.244 0.000
Enum."-reduce/3-lists^foldl/2-0-"/3 1505796 23020.520 15820.603
anonymous fn/3 in Enum.partition/2 1505796 23020.520 15820.603 <--
anonymous fn/1 in Day11.valid?/1 887226 4175.646 4174.374
anonymous fn/1 in Day11.hash/1 618570 2861.975 2859.864
:suspend 813 103.112 0.000
:garbage_collect 304 59.184 59.184
Day11.valid?/1 568792 22794.194 7557.349
Enum.sum/1 568792 22794.194 7557.349 <--
:erlang.make_fun/3 568792 2825.254 2825.254
:suspend 669 59.835 0.000
:garbage_collect 174 56.180 56.180
Enum.reduce/3 568792 0.000 3985.562
Day11.walk_bfs/5 8954 22456.197 99.918
Day11.put/2 8954 22456.197 99.918 <--
Day11.hash/1 8954 22187.789 1001.572
MapSet.put/2 8954 168.015 102.295
:suspend 12 0.268 0.000
:garbage_collect 2 0.207 0.207
Day11.hash/1 185571 16830.951 1183.514
Day11.elements_to_powers/1 1 0.041 0.002
Enum.sort/1 185572 16830.992 1183.516 <--
:lists.sort/1 185572 15640.878 1458.946
:suspend 111 5.461 0.000
:garbage_collect 6 1.137 1.137
Enum.sort/1 185572 15640.878 1458.946
:lists.sort/1 185572 15640.878 1458.946 <--
:lists.split_2/5 110176 8302.796 823.453
:lists.split_1/5 63430 5158.888 392.086
:lists.sort_1/3 11966 717.695 91.717
:suspend 85 2.553 0.000
Day11.hash/1 123714 14141.603 817.707
Enum.with_index/1 123714 14141.603 817.707 <--
Enum.with_index/2 123714 13321.668 1337.597
:suspend 60 1.790 0.000
:garbage_collect 2 0.438 0.438
Enum.with_index/1 123714 13321.668 1337.597
Enum.with_index/2 123714 13321.668 1337.597 <--
Enum.map_reduce/3 123714 11975.085 776.313
:garbage_collect 22 5.688 5.688
:suspend 81 3.298 0.000
Enum."-reduce/3-lists^foldl/2-0-"/3 14184 12325.669 82.771
anonymous fn/5 in Day11.generate_new_state/1 14184 12325.669 82.771 <--
:garbage_collect 4 0.845 0.845
:suspend 10 0.222 0.000
Enum.reduce/3 14184 0.000 130.410
Enum.partition/2 1098612 6923.870 6219.294
Enum.flat_map/2 123715 2280.589 1418.521
Enum.unzip/1 123714 1760.897 1205.012
Enum.do_zip/3 61857 852.337 601.074
Day11.pairs/1 25760 214.053 152.748
Day11.generate_new_state/1 8954 155.747 110.985
Enum.reject/2 8954 89.892 68.957
Enum.filter/2 8954 37.855 37.714
Stream.do_zip/5 10 0.019 0.019
Enum.do_uniq/4 1 0.010 0.008
Enum.zip/2 1 0.006 0.005
:lists.reverse/1 1460532 12315.275 9814.337 <--
:lists.reverse/2 481893 2406.759 2406.759
:garbage_collect 212 50.831 50.831
:suspend 530 43.348 0.000
Enum.with_index/2 123714 11975.085 776.313
Enum.map_reduce/3 123714 11975.085 776.313 <--
Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3 123714 11196.694 4866.551
:suspend 65 1.834 0.000
:garbage_collect 2 0.244 0.244
Enum.map_reduce/3 123714 11196.694 4866.551
Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3 494856 0.000 4014.683
Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3 618570 11196.694 8881.234 <--
anonymous fn/2 in Enum.with_index/2 494856 2262.649 2253.382
:suspend 592 33.126 0.000
:garbage_collect 102 19.685 19.685
Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3 494856 0.000 4014.683
anonymous fn/3 in Enum.flat_map/2 247428 11063.264 1539.712
anonymous fn/1 in Day11.hash/1 247428 11063.264 1539.712 <--
Enum.map/2 247428 9506.645 1586.093
:garbage_collect 39 9.323 9.323
:suspend 166 7.584 0.000
anonymous fn/3 in Enum.flat_map/2 247428 11051.926 1694.782
anonymous fn/1 in Day11.hash/1 247428 11051.926 1694.782 <--
Enum.map/2 247428 9347.539 1595.326
:garbage_collect 34 5.384 5.384
:suspend 142 4.221 0.000
anonymous fn/5 in Day11.generate_new_state/1 167020 7764.272 1360.610
anonymous fn/2 in Day11.solve_bfs/2 8954 426.782 60.878
Day11.generate_new_state/1 8954 290.564 45.906
Enum.at/2 184928 8481.618 1467.394 <--
Enum.at/3 184928 7010.836 2052.411
:suspend 106 3.122 0.000
:garbage_collect 2 0.266 0.266
:lists.sort/1 110176 8302.796 823.453
:lists.sort_1/3 5446 126.301 38.121
:lists.split_2_1/6 16779 0.000 111.903
:lists.split_2/5 233770 0.000 1570.159
:lists.split_2/5 366171 8429.097 2543.636 <--
:lists.split_2_1/6 71770 5793.543 425.272
:lists.mergel/2 60631 1508.034 387.181
:garbage_collect 20 10.063 10.063
:suspend 196 5.591 0.000
:lists.split_2/5 233770 0.000 1570.159
Day11.hash/1 61857 8382.587 1382.974
Enum.unzip/1 61857 8382.587 1382.974 <--
:lists.reverse/1 123714 1760.897 1205.012
Enum.reduce/3 61857 862.018 366.639
:garbage_collect 9 2.514 2.514
:suspend 66 2.277 0.000
Enum.at/2 184928 7010.836 2052.411
Enum.at/3 184928 7010.836 2052.411 <--
Enum.fetch/2 184928 4952.264 1495.164
:suspend 100 4.070 0.000
:garbage_collect 11 2.091 2.091
:lists.split_2/5 71770 5793.543 425.272
:lists.split_2_1/6 16395 0.000 87.159
:lists.split_2_1/6 88165 5793.543 512.431 <--
:lists.mergel/2 54991 3844.570 699.630
:garbage_collect 18 3.381 3.381
:suspend 54 1.391 0.000
:lists.split_2_1/6 16395 0.000 87.159
:lists.split_2/5 16779 0.000 111.903
:lists.split_2_1/6 54991 3844.570 699.630
:lists.split_2/5 60631 1508.034 387.181
:lists.rmergel/2 141720 309.160 606.606
:lists.mergel/2 257342 5661.764 1693.417 <--
:lists.merge2_1/4 71770 2705.207 471.292
:lists.rmergel/2 71770 1559.265 960.765
:suspend 33 1.057 0.000
:garbage_collect 1 0.264 0.264
:lists.sort/1 63430 5158.888 392.086
:lists.sort_1/3 6520 475.613 42.178
:lists.split_1_1/6 32975 0.000 218.300
:lists.split_1/5 101195 0.000 671.345
:lists.split_1/5 204120 5634.501 1323.909 <--
:lists.split_1_1/6 63354 4336.001 482.356
:lists.rmergel/2 39571 2027.165 512.815
:suspend 101 5.120 0.000
:garbage_collect 11 3.510 3.510
:lists.split_1/5 101195 0.000 671.345
:lists.split_1/5 39571 2027.165 512.815
:lists.split_1_1/6 30379 1758.101 371.626
:lists.mergel/2 71770 1559.265 960.765
:lists.rmergel/2 141720 5344.531 1845.206 <--
:lists.rmerge2_1/4 63354 2559.194 384.290
:lists.reverse/2 78366 317.759 317.759
:lists.mergel/2 141720 309.160 606.606
:suspend 121 10.887 0.000
:garbage_collect 29 4.879 4.879
Enum.at/3 184928 4952.264 1495.164
Enum.fetch/2 184928 4952.264 1495.164 <--
Enum.do_fetch/2 184928 3443.015 1428.248
:suspend 87 12.492 0.000
:garbage_collect 9 1.593 1.593
:lists.split_1/5 63354 4336.001 482.356
:lists.split_1_1/6 4916 0.000 30.355
:lists.split_1_1/6 68270 4336.001 512.711 <--
:lists.rmergel/2 30379 1758.101 371.626
:garbage_collect 13 2.635 2.635
:suspend 51 1.350 0.000
:lists.split_1_1/6 4916 0.000 30.355
:lists.split_1/5 32975 0.000 218.300
anonymous fn/3 in Enum.partition/2 887226 4175.646 4174.374
anonymous fn/1 in Day11.valid?/1 887226 4175.646 4174.374 <--
:garbage_collect 7 1.272 1.272
Day11.hash/1 61857 3956.761 481.747
Day11.elements_to_powers/1 1 0.439 0.007
Enum.zip/2 61858 3957.200 481.754 <--
Enum.do_zip/3 61857 3473.676 421.760
:suspend 40 1.056 0.000
anonymous fn/4 in Stream.zip/2 1 0.424 0.003
:garbage_collect 1 0.282 0.282
:lists.reverse/1 1 0.006 0.005
Stream.zip/2 1 0.002 0.002
Enum."-map/2-lists^map/1-0-"/2 52903 3915.656 852.488
anonymous fn/3 in Day11.generate_new_state/1 52903 3915.656 852.488 <--
List.replace_at/3 105806 3061.130 725.832
:suspend 54 1.397 0.000
:garbage_collect 5 0.641 0.641
Enum.zip/2 61857 3473.676 421.760
Enum.do_zip/3 309285 0.000 2177.020
Enum.do_zip/3 371142 3473.676 2598.780 <--
:lists.reverse/1 61857 852.337 601.074
:garbage_collect 41 12.501 12.501
:suspend 237 10.058 0.000
Enum.do_zip/3 309285 0.000 2177.020
Enum.fetch/2 184928 3443.015 1428.248
Enum.do_fetch/2 334182 0.000 2005.182
Enum.do_fetch/2 519110 3443.015 3433.430 <--
:garbage_collect 23 5.598 5.598
:suspend 139 3.987 0.000
Enum.do_fetch/2 334182 0.000 2005.182
:lists.reverse/1 481893 2406.759 2406.759
:lists.rmergel/2 78366 317.759 317.759
:lists.merge2_1/4 65845 265.636 265.636
:lists.rmerge2_1/4 37167 198.512 198.512
:lists.rmerge2_2/5 26187 116.348 116.348
:queue.join/2 7928 38.905 38.905
:lists.merge2_2/5 5925 29.233 29.233
:lists.split/3 4711 20.241 20.241
:queue.from_list/1 4711 16.993 16.993
Stream.do_zip/5 1 0.002 0.002
:lists.reverse/2 712734 3410.388 3410.388 <--
anonymous fn/3 in Day11.generate_new_state/1 105806 3061.130 725.832
List.replace_at/3 105806 3061.130 725.832 <--
List.do_replace_at/3 105806 2331.849 1071.415
:suspend 54 3.118 0.000
:garbage_collect 2 0.331 0.331
Enum."-reduce/3-lists^foldl/2-0-"/3 618580 2930.782 2916.544
anonymous fn/2 in Enum.flat_map/2 618580 2930.782 2916.544 <--
:garbage_collect 46 14.238 14.238
Enum.sum/1 568792 2825.254 2825.254
Day11.generate_new_state/1 8954 50.341 50.341
:erlang.make_fun/3 577746 2875.595 2875.595 <--
anonymous fn/3 in Enum.partition/2 618570 2861.975 2859.864
anonymous fn/1 in Day11.hash/1 618570 2861.975 2859.864 <--
:garbage_collect 12 2.111 2.111
:lists.mergel/2 71770 2705.207 471.292
:lists.merge2_2/5 67455 0.000 566.567
:lists.merge2_1/4 14752 0.000 127.514
:lists.merge2_1/4 153977 2705.207 1165.373 <--
:lists.merge2_2/5 73380 2231.775 558.590
:lists.reverse/2 65845 265.636 265.636
:suspend 127 4.379 0.000
:garbage_collect 18 3.449 3.449
:lists.merge2_1/4 14752 0.000 127.514
:lists.rmergel/2 63354 2559.194 384.290
:lists.rmerge2_2/5 8986 0.000 82.809
:lists.rmerge2_1/4 182133 0.000 1308.595
:lists.rmerge2_1/4 254473 2559.194 1775.694 <--
:lists.rmerge2_2/5 35173 694.207 302.895
:lists.reverse/2 37167 198.512 198.512
:suspend 181 7.261 0.000
:garbage_collect 24 5.519 5.519
:lists.rmerge2_1/4 182133 0.000 1308.595
List.replace_at/3 105806 2331.849 1071.415
List.do_replace_at/3 176025 0.000 1250.524
List.do_replace_at/3 281831 2331.849 2321.939 <--
:garbage_collect 25 6.376 6.376
:suspend 93 3.534 0.000
List.do_replace_at/3 176025 0.000 1250.524
Day11.generate_new_state/1 8954 2312.682 574.879
Day11.pairs/1 25760 0.000 223.405
Day11.pairs/1 34714 2312.682 798.284 <--
Enum.reduce/3 25760 1194.698 159.884
:lists.reverse/1 25760 214.053 152.748
:erlang.++/2 25760 98.967 98.967
:suspend 57 6.230 0.000
:garbage_collect 4 0.450 0.450
Day11.pairs/1 25760 0.000 223.405
Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3 494856 2262.649 2253.382
anonymous fn/2 in Enum.with_index/2 494856 2262.649 2253.382 <--
:garbage_collect 55 9.267 9.267
:lists.merge2_1/4 73380 2231.775 558.590
:lists.merge2_2/5 112063 0.000 672.227
:lists.merge2_2/5 185443 2231.775 1230.817 <--
:lists.reverse/2 5925 29.233 29.233
:suspend 134 3.543 0.000
:garbage_collect 14 2.777 2.777
:lists.merge2_2/5 112063 0.000 672.227
:lists.merge2_1/4 67455 0.000 566.567
Enum."-map/2-lists^map/1-0-"/2 499692 2185.565 2184.243
anonymous fn/1 in Day11.valid?/1 499692 2185.565 2184.243 <--
:garbage_collect 6 1.322 1.322
Enum."-map/2-lists^map/1-0-"/2 309285 1494.633 1487.913
anonymous fn/2 in Day11.hash/1 309285 1494.633 1487.913 <--
:garbage_collect 28 6.720 6.720
Enum."-reduce/3-lists^foldl/2-0-"/3 247428 1427.732 1420.414
anonymous fn/2 in Enum.unzip/1 247428 1427.732 1420.414 <--
:garbage_collect 32 7.318 7.318
Enum."-map/2-lists^map/1-0-"/2 309285 1423.913 1415.350
anonymous fn/2 in Day11.hash/1 309285 1423.913 1415.350 <--
:garbage_collect 31 8.563 8.563
Enum."-map/2-lists^map/1-0-"/2 309285 1361.055 1355.503
anonymous fn/1 in Day11.hash/1 309285 1361.055 1355.503 <--
:garbage_collect 28 5.552 5.552
Enum."-map/2-lists^map/1-0-"/2 314264 1332.023 1330.094
anonymous fn/1 in Day11.valid?/1 314264 1332.023 1330.094 <--
:garbage_collect 9 1.929 1.929
anonymous fn/5 in Day11.generate_new_state/1 167020 724.494 724.494
:queue.join/2 7928 352.770 352.770
Day11.pairs/1 25760 98.967 98.967
Day11.generate_new_state/1 8954 34.409 34.409
:erlang.++/2 209662 1210.640 1210.640 <--
Day11.member?/2 52903 1103.006 713.940
MapSet.member?/2 52903 1103.006 713.940 <--
:maps.is_key/2 52903 385.890 385.890
:garbage_collect 9 1.772 1.772
:suspend 47 1.404 0.000
anonymous fn/5 in Day11.generate_new_state/1 167020 1042.052 1042.052
:erlang.--/2 167020 1042.052 1042.052 <--
Enum."-reduce/3-lists^foldl/2-0-"/3 4772 200.162 0.000
Enum."-map/2-lists^map/1-0-"/2 2368 115.236 0.000
anonymous fn/3 in Enum.partition/2 813 103.112 0.000
Enum.partition/2 834 60.527 0.000
Enum.sum/1 669 59.835 0.000
Day11.valid?/1 850 44.786 0.000
Enum.reduce/3 920 43.499 0.000
:lists.reverse/1 530 43.348 0.000
Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3 592 33.126 0.000
:lists.split/3 14 31.943 0.000
Day11.walk_bfs/5 628 30.310 0.000
anonymous fn/5 in Day11.generate_new_state/1 507 21.938 0.000
Enum.map/2 610 19.809 0.000
anonymous fn/3 in Enum.flat_map/2 548 17.780 0.000
Enum.fetch/2 87 12.492 0.000
:lists.rmergel/2 121 10.887 0.000
Enum.do_zip/3 237 10.058 0.000
Day11.hash/1 315 10.008 0.000
anonymous fn/1 in Day11.hash/1 166 7.584 0.000
:lists.rmerge2_1/4 181 7.261 0.000
anonymous fn/1 in Day11.hash/1 155 6.244 0.000
Day11.pairs/1 57 6.230 0.000
:io.execute_request/2 10 5.675 0.000
:lists.split_2/5 196 5.591 0.000
Enum.sort/1 111 5.461 0.000
:lists.split_1/5 101 5.120 0.000
:lists.merge2_1/4 127 4.379 0.000
anonymous fn/1 in Day11.hash/1 142 4.221 0.000
Enum.at/3 100 4.070 0.000
Enum.do_fetch/2 139 3.987 0.000
Enum.flat_map/2 142 3.768 0.000
:lists.merge2_2/5 134 3.543 0.000
List.do_replace_at/3 93 3.534 0.000
Enum.with_index/2 81 3.298 0.000
Enum.at/2 106 3.122 0.000
List.replace_at/3 54 3.118 0.000
:lists.sort/1 85 2.553 0.000
Enum.unzip/1 66 2.277 0.000
Enum.map_reduce/3 65 1.834 0.000
Enum.with_index/1 60 1.790 0.000
Day11.member?/2 54 1.536 0.000
Day11.generate_new_state/1 38 1.458 0.000
MapSet.member?/2 47 1.404 0.000
anonymous fn/3 in Day11.generate_new_state/1 54 1.397 0.000
:lists.split_2_1/6 54 1.391 0.000
:lists.split_1_1/6 51 1.350 0.000
anonymous fn/3 in Enum.reject/2 32 1.129 0.000
:lists.mergel/2 33 1.057 0.000
Enum.zip/2 40 1.056 0.000
anonymous fn/3 in Enum.filter/2 9 0.900 0.000
:lists.rmerge2_2/5 30 0.673 0.000
anonymous fn/2 in Day11.walk_bfs/5 18 0.455 0.000
:lists.sort_1/3 11 0.320 0.000
Enum.reject/2 13 0.293 0.000
Day11.put/2 12 0.268 0.000
:queue.join/2 10 0.235 0.000
MapSet.put/2 11 0.233 0.000
anonymous fn/5 in Day11.generate_new_state/1 10 0.222 0.000
anonymous fn/2 in Day11.solve_bfs/2 8 0.178 0.000
Enum.filter/2 5 0.136 0.000
:queue.from_list/1 4 0.082 0.000
:lists.split/2 3 0.054 0.000
String.Chars.Integer.to_string/1 1 0.016 0.000
:fprof."-apply_start_stop/4-after$^0/0-0-"/3 1 0.000 0.000
:suspend 18335 979.359 0.000 <--
:queue.join/2 824 265.055 265.055
Enum."-map/2-lists^map/1-0-"/2 326 86.036 86.036
Enum."-reduce/3-lists^foldl/2-0-"/3 246 65.348 65.348
anonymous fn/3 in Enum.partition/2 304 59.184 59.184
Enum.sum/1 174 56.180 56.180
:lists.reverse/1 212 50.831 50.831
Enum.partition/2 117 40.413 40.413
anonymous fn/3 in Enum.flat_map/2 129 34.970 34.970
anonymous fn/5 in Day11.generate_new_state/1 81 23.657 23.657
Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3 102 19.685 19.685
Day11.valid?/1 73 16.919 16.919
anonymous fn/2 in Enum.flat_map/2 46 14.238 14.238
Enum.do_zip/3 41 12.501 12.501
anonymous fn/1 in Day11.hash/1 49 11.857 11.857
:lists.split_2/5 20 10.063 10.063
anonymous fn/1 in Day11.hash/1 39 9.323 9.323
anonymous fn/2 in Enum.with_index/2 55 9.267 9.267
anonymous fn/2 in Day11.hash/1 31 8.563 8.563
anonymous fn/2 in Enum.unzip/1 32 7.318 7.318
anonymous fn/2 in Day11.hash/1 28 6.720 6.720
List.do_replace_at/3 25 6.376 6.376
Enum.with_index/2 22 5.688 5.688
Enum.do_fetch/2 23 5.598 5.598
anonymous fn/1 in Day11.hash/1 28 5.552 5.552
:lists.rmerge2_1/4 24 5.519 5.519
Day11.hash/1 27 5.467 5.467
anonymous fn/1 in Day11.hash/1 34 5.384 5.384
:lists.rmergel/2 29 4.879 4.879
:lists.split_1/5 11 3.510 3.510
:lists.merge2_1/4 18 3.449 3.449
:lists.split_2_1/6 18 3.381 3.381
Enum.flat_map/2 17 3.154 3.154
:lists.merge2_2/5 14 2.777 2.777
:lists.split_1_1/6 13 2.635 2.635
Enum.unzip/1 9 2.514 2.514
anonymous fn/1 in Day11.hash/1 12 2.111 2.111
Enum.at/3 11 2.091 2.091
anonymous fn/1 in Day11.valid?/1 9 1.929 1.929
MapSet.member?/2 9 1.772 1.772
Enum.fetch/2 9 1.593 1.593
Enum.map/2 7 1.581 1.581
Day11.member?/2 6 1.340 1.340
anonymous fn/1 in Day11.valid?/1 6 1.322 1.322
anonymous fn/1 in Day11.valid?/1 7 1.272 1.272
Enum.sort/1 6 1.137 1.137
:lists.rmerge2_2/5 5 1.008 1.008
Day11.generate_new_state/1 7 0.904 0.904
Enum.reduce/3 6 0.879 0.879
anonymous fn/5 in Day11.generate_new_state/1 4 0.845 0.845
anonymous fn/3 in Day11.pairs/1 6 0.744 0.744
MapSet.put/2 6 0.679 0.679
anonymous fn/3 in Day11.generate_new_state/1 5 0.641 0.641
:queue.from_list/1 2 0.551 0.551
Day11.pairs/1 4 0.450 0.450
Enum.with_index/1 2 0.438 0.438
anonymous fn/2 in Day11.solve_bfs/2 3 0.393 0.393
:lists.split/3 3 0.359 0.359
List.replace_at/3 2 0.331 0.331
List.wrap/1 2 0.319 0.319
anonymous fn/3 in Enum.reject/2 2 0.303 0.303
Enum.zip/2 1 0.282 0.282
Enum.filter/2 2 0.281 0.281
Enum.at/2 2 0.266 0.266
:lists.mergel/2 1 0.264 0.264
anonymous fn/3 in Enum.filter/2 2 0.256 0.256
Enum.map_reduce/3 2 0.244 0.244
Day11.put/2 2 0.207 0.207
anonymous fn/2 in Day11.walk_bfs/5 1 0.139 0.139
Enum.reject/2 1 0.138 0.138
:queue.drop/1 1 0.137 0.137
Day11.walk_bfs/5 1 0.137 0.137
:lists.sort_1/3 1 0.115 0.115
anonymous fn/1 in Day11.generate_new_state/1 1 0.114 0.114
:garbage_collect 3400 901.583 901.583 <--
Day11.walk_bfs/5 8954 815.845 158.880
:queue.join/2 8954 815.845 158.880 <--
:erlang.++/2 7928 352.770 352.770
:garbage_collect 824 265.055 265.055
:lists.reverse/2 7928 38.905 38.905
:suspend 10 0.235 0.000
Day11.generate_new_state/1 8954 758.283 127.494
Enum.filter/2 8954 758.283 127.494 <--
Enum.reduce/3 8954 592.517 49.696
:lists.reverse/1 8954 37.855 37.714
:garbage_collect 2 0.281 0.281
:suspend 5 0.136 0.000
:lists.sort/1 11966 717.695 91.717
:lists.sort_1/3 3596 0.000 23.629
:lists.sort_1/3 15562 717.695 115.346 <--
:lists.split_1/5 6520 475.613 42.178
:lists.split_2/5 5446 126.301 38.121
:suspend 11 0.320 0.000
:garbage_collect 1 0.115 0.115
:lists.sort_1/3 3596 0.000 23.629
:lists.rmerge2_1/4 35173 694.207 302.895
:lists.rmerge2_2/5 12363 0.000 151.284
:lists.rmerge2_2/5 47536 694.207 454.179 <--
:lists.reverse/2 26187 116.348 116.348
:garbage_collect 5 1.008 1.008
:suspend 30 0.673 0.000
:lists.rmerge2_2/5 12363 0.000 151.284
:lists.rmerge2_1/4 8986 0.000 82.809
Day11.walk_bfs/5 8954 534.663 107.310
anonymous fn/2 in Day11.solve_bfs/2 8954 534.663 107.310 <--
Enum.at/2 8954 426.782 60.878
:garbage_collect 3 0.393 0.393
:suspend 8 0.178 0.000
MapSet.member?/2 52903 385.890 385.890
:maps.is_key/2 52903 385.890 385.890 <--
Day11.walk_bfs/5 8954 341.454 96.384
Day11.walk_bfs/2 1 0.002 0.002
:queue.from_list/1 8955 341.456 96.386 <--
:lists.split/2 4711 227.444 52.435
:lists.reverse/2 4711 16.993 16.993
:garbage_collect 2 0.551 0.551
:suspend 4 0.082 0.000
Enum."-reduce/3-lists^foldl/2-0-"/3 17908 279.819 170.064
anonymous fn/3 in Enum.filter/2 17908 279.819 170.064 <--
anonymous fn/1 in Day11.generate_new_state/1 17908 108.599 108.485
:suspend 9 0.900 0.000
:garbage_collect 2 0.256 0.256
Enum."-reduce/3-lists^foldl/2-0-"/3 61882 248.899 248.155
anonymous fn/3 in Day11.pairs/1 61882 248.899 248.155 <--
:garbage_collect 6 0.744 0.744
:queue.from_list/1 4711 227.444 52.435
:lists.split/2 4711 227.444 52.435 <--
:lists.split/3 4711 174.955 26.879
:suspend 3 0.054 0.000
:lists.split/2 4711 174.955 26.879
:lists.split/3 14640 0.000 95.533
:lists.split/3 19351 174.955 122.412 <--
:suspend 14 31.943 0.000
:lists.reverse/2 4711 20.241 20.241
:garbage_collect 3 0.359 0.359
:lists.split/3 14640 0.000 95.533
Day11.put/2 8954 168.015 102.295
MapSet.put/2 8954 168.015 102.295 <--
:maps.put/3 8954 64.808 64.808
:garbage_collect 6 0.679 0.679
:suspend 11 0.233 0.000
Enum."-map/2-lists^map/1-0-"/2 34714 135.680 135.361
List.wrap/1 34714 135.680 135.361 <--
:garbage_collect 2 0.319 0.319
anonymous fn/3 in Enum.filter/2 17908 108.599 108.485
anonymous fn/1 in Day11.generate_new_state/1 17908 108.599 108.485 <--
:garbage_collect 1 0.114 0.114
Day11.walk_bfs/5 8954 68.667 68.530
:queue.drop/1 8954 68.667 68.530 <--
:garbage_collect 1 0.137 0.137
MapSet.put/2 8954 64.808 64.808
Enum.do_uniq/4 5 0.016 0.016
:maps.put/3 8959 64.824 64.824 <--
Day11.walk_bfs/5 8972 36.755 36.755
:queue.peek/1 8972 36.755 36.755 <--
Day11.walk_bfs/5 9 9.848 1.821
Day11.solve/0 1 0.146 0.017
IO.puts/1 10 9.994 1.838 <--
IO.puts/2 10 8.126 0.038
:erlang.group_leader/0 10 0.030 0.030
IO.puts/1 10 8.126 0.038
IO.puts/2 10 8.126 0.038 <--
:io.put_chars/2 10 8.088 0.034
IO.puts/2 10 8.088 0.034
:io.put_chars/2 10 8.088 0.034 <--
:io.o_request/3 10 8.054 0.057
:io.put_chars/2 10 8.054 0.057
:io.o_request/3 10 8.054 0.057 <--
:io.request/2 10 7.997 0.070
:io.o_request/3 10 7.997 0.070
:io.request/2 10 7.997 0.070 <--
:io.execute_request/2 10 5.952 0.177
:io.io_request/2 10 1.975 0.069
:io.request/2 10 5.952 0.177
:io.execute_request/2 10 5.952 0.177 <--
:suspend 10 5.675 0.000
:erlang.monitor/2 10 0.054 0.054
:erlang.demonitor/2 10 0.046 0.046
Day11.walk_bfs/5 18 2.814 1.529
Day11.solve/0 1 0.034 0.010
String.Chars.to_string/1 19 2.848 1.539 <--
String.Chars.Integer.to_string/1 19 1.173 1.094
String.Chars.impl_for!/1 19 0.136 0.090
:io.request/2 10 1.975 0.069
:io.io_request/2 10 1.975 0.069 <--
:unicode.characters_to_binary/2 10 1.906 1.906
:io.io_request/2 10 1.906 1.906
:unicode.characters_to_binary/2 10 1.906 1.906 <--
Day11.solve/0 1 1.310 0.042
Day11.puzzle_input/0 1 1.310 0.042 <--
Day11.elements_to_powers/1 1 0.958 0.023
Enum.map/2 1 0.283 0.002
Day11.chip/1 5 0.014 0.014
Day11.gen/1 5 0.013 0.013
String.Chars.to_string/1 19 1.173 1.094
String.Chars.Integer.to_string/1 19 1.173 1.094 <--
:erlang.integer_to_binary/1 19 0.063 0.063
:suspend 1 0.016 0.000
Day11.puzzle_input/0 1 0.958 0.023
Day11.elements_to_powers/1 1 0.958 0.023 <--
Enum.zip/2 1 0.439 0.007
Enum.flat_map/2 1 0.212 0.007
Enum.uniq/1 1 0.117 0.003
Enum.map/2 1 0.107 0.003
Enum.sort/1 1 0.041 0.002
Map.new/1 1 0.014 0.002
Stream.iterate/2 1 0.005 0.003
Enum.zip/2 1 0.424 0.003
anonymous fn/4 in Stream.zip/2 1 0.424 0.003 <--
Stream.do_zip/3 1 0.421 0.006
anonymous fn/4 in Stream.zip/2 1 0.421 0.006
Stream.do_zip/3 5 0.000 0.028
Stream.do_zip/3 6 0.421 0.034 <--
Stream.do_zip/5 6 0.387 0.037
Stream.do_zip/3 5 0.000 0.028
Stream.do_zip/3 6 0.387 0.037
Stream.do_zip/5 10 0.000 0.077
Stream.do_zip/5 16 0.387 0.114 <--
anonymous fn/4 in Stream.do_unfold/4 4 0.101 0.010
anonymous fn/3 in Enumerable.List.reduce/3 5 0.058 0.012
anonymous fn/3 in Stream.zip/2 1 0.038 0.003
anonymous fn/3 in Stream.zip/2 1 0.027 0.003
:lists.reverse/1 10 0.019 0.019
anonymous fn/2 in Enum.zip/2 5 0.010 0.010
:erlang.list_to_tuple/1 5 0.009 0.009
Stream.do_zip_close/1 1 0.009 0.004
:lists.reverse/2 1 0.002 0.002
Stream.do_zip/5 10 0.000 0.077
Enum."-map/2-lists^map/1-0-"/2 10 0.159 0.039
anonymous fn/2 in Day11.f2p/2 10 0.159 0.039 <--
Access.get/2 10 0.120 0.022
String.Chars.to_string/1 19 0.136 0.090
String.Chars.impl_for!/1 19 0.136 0.090 <--
String.Chars.impl_for/1 19 0.046 0.046
anonymous fn/2 in Day11.f2p/2 10 0.120 0.022
Access.get/2 10 0.120 0.022 <--
Access.get/3 10 0.098 0.041
Day11.elements_to_powers/1 1 0.117 0.003
Enum.uniq/1 1 0.117 0.003 <--
Enum.uniq_by/2 1 0.114 0.002
Enum.uniq/1 1 0.114 0.002
Enum.uniq_by/2 1 0.114 0.002 <--
Enum.do_uniq/4 1 0.112 0.011
Enum.uniq_by/2 1 0.112 0.011
Enum.do_uniq/4 10 0.000 0.056
Enum.do_uniq/4 11 0.112 0.067 <--
anonymous fn/1 in Enum.uniq/1 10 0.019 0.019
:maps.put/3 5 0.016 0.016
:lists.reverse/1 1 0.010 0.008
Enum.do_uniq/4 10 0.000 0.056
anonymous fn/4 in Stream.do_unfold/4 5 0.093 0.039
anonymous fn/4 in Stream.unfold/2 1 0.016 0.008
Stream.do_unfold/4 5 0.000 0.010
Stream.do_unfold/4 11 0.109 0.057 <--
anonymous fn/2 in Stream.iterate/2 5 0.028 0.018
anonymous fn/2 in Stream.zip/2 5 0.024 0.013
Stream.do_unfold/4 5 0.000 0.010
Stream.do_zip/5 4 0.101 0.010
Stream.do_zip_close/1 1 0.004 0.002
anonymous fn/4 in Stream.do_unfold/4 5 0.105 0.012 <--
Stream.do_unfold/4 5 0.093 0.039
Day11.walk_bfs/5 9 0.101 0.101
:queue.len/1 9 0.101 0.101 <--
Access.get/2 10 0.098 0.041
Access.get/3 10 0.098 0.041 <--
Access.fetch/2 10 0.057 0.039
Enum."-map/2-lists^map/1-0-"/2 4 0.087 0.010
anonymous fn/2 in Day11.puzzle_input/0 4 0.087 0.010 <--
Day11.f2p/2 4 0.077 0.008
anonymous fn/2 in Day11.puzzle_input/0 4 0.077 0.008
Day11.f2p/2 4 0.077 0.008 <--
Enum.map/2 4 0.000 0.008
String.Chars.Integer.to_string/1 19 0.063 0.063
:erlang.integer_to_binary/1 19 0.063 0.063 <--
anonymous fn/3 in Stream.zip/2 1 0.035 0.007
anonymous fn/3 in Stream.zip/2 1 0.024 0.006
Enumerable.reduce/3 2 0.059 0.013 <--
Enumerable.Function.reduce/3 1 0.022 0.003
Enumerable.List.reduce/3 1 0.012 0.005
Enumerable.impl_for!/1 2 0.012 0.008
anonymous fn/3 in Enumerable.List.reduce/3 5 0.046 0.022
Enumerable.reduce/3 1 0.012 0.005
Enumerable.List.reduce/3 5 0.000 0.010
Enumerable.List.reduce/3 11 0.058 0.037 <--
anonymous fn/2 in Stream.zip/2 5 0.021 0.010
Enumerable.List.reduce/3 5 0.000 0.010
Stream.do_zip/5 5 0.058 0.012
anonymous fn/3 in Enumerable.List.reduce/3 5 0.058 0.012 <--
Enumerable.List.reduce/3 5 0.046 0.022
Access.get/3 10 0.057 0.039
Access.fetch/2 10 0.057 0.039 <--
:maps.find/2 10 0.018 0.018
:io.execute_request/2 10 0.054 0.054
:erlang.monitor/2 10 0.054 0.054 <--
:io.execute_request/2 10 0.046 0.046
:erlang.demonitor/2 10 0.046 0.046 <--
String.Chars.impl_for!/1 19 0.046 0.046
String.Chars.impl_for/1 19 0.046 0.046 <--
Stream.do_unfold/4 5 0.024 0.013
Enumerable.List.reduce/3 5 0.021 0.010
anonymous fn/2 in Stream.zip/2 10 0.045 0.023 <--
Stream.do_zip_step/2 10 0.022 0.022
Stream.do_zip/5 1 0.038 0.003
anonymous fn/3 in Stream.zip/2 1 0.038 0.003 <--
Enumerable.reduce/3 1 0.035 0.007
IO.puts/1 10 0.030 0.030
:erlang.group_leader/0 10 0.030 0.030 <--
Stream.do_unfold/4 5 0.028 0.018
anonymous fn/2 in Stream.iterate/2 5 0.028 0.018 <--
anonymous fn/1 in Day11.elements_to_powers/1 4 0.010 0.010
Stream.do_zip/5 1 0.027 0.003
anonymous fn/3 in Stream.zip/2 1 0.027 0.003 <--
Enumerable.reduce/3 1 0.024 0.006
Enum."-map/2-lists^map/1-0-"/2 10 0.025 0.025
anonymous fn/1 in Day11.elements_to_powers/1 10 0.025 0.025 <--
Day11.walk_bfs/5 8 0.021 0.021
Day11.walk_bfs/2 1 0.002 0.002
:queue.new/0 9 0.023 0.023 <--
anonymous fn/2 in Stream.zip/2 10 0.022 0.022
Stream.do_zip_step/2 10 0.022 0.022 <--
Enumerable.reduce/3 1 0.022 0.003
Enumerable.Function.reduce/3 1 0.022 0.003 <--
anonymous fn/4 in Stream.unfold/2 1 0.019 0.003
Enumerable.Function.reduce/3 1 0.019 0.003
anonymous fn/4 in Stream.unfold/2 1 0.019 0.003 <--
Stream.do_unfold/4 1 0.016 0.008
Enum.do_uniq/4 10 0.019 0.019
anonymous fn/1 in Enum.uniq/1 10 0.019 0.019 <--
Access.fetch/2 10 0.018 0.018
:maps.find/2 10 0.018 0.018 <--
:fprof.apply_start_stop/4 1 0.015 0.015
:fprof."-apply_start_stop/4-after$^0/0-0-"/3 1 0.015 0.015 <--
:suspend 1 0.000 0.000
Day11.elements_to_powers/1 1 0.014 0.002
Map.new/1 1 0.014 0.002 <--
Map.new_from_enum/1 1 0.012 0.007
Day11.puzzle_input/0 5 0.014 0.014
Day11.chip/1 5 0.014 0.014 <--
Day11.puzzle_input/0 5 0.013 0.013
Day11.gen/1 5 0.013 0.013 <--
Map.new/1 1 0.012 0.007
Map.new_from_enum/1 1 0.012 0.007 <--
Enum.to_list/1 1 0.003 0.003
:maps.from_list/1 1 0.002 0.002
Enumerable.reduce/3 2 0.012 0.008
Enumerable.impl_for!/1 2 0.012 0.008 <--
Enumerable.impl_for/1 2 0.004 0.004
Stream.do_zip/5 5 0.010 0.010
anonymous fn/2 in Enum.zip/2 5 0.010 0.010 <--
anonymous fn/2 in Stream.iterate/2 4 0.010 0.010
anonymous fn/1 in Day11.elements_to_powers/1 4 0.010 0.010 <--
Stream.do_zip/5 5 0.009 0.009
:erlang.list_to_tuple/1 5 0.009 0.009 <--
Stream.do_zip/5 1 0.009 0.004
Stream.do_zip_close/1 1 0.000 0.001
Stream.do_zip_close/1 2 0.009 0.005 <--
anonymous fn/4 in Stream.do_unfold/4 1 0.004 0.002
Stream.do_zip_close/1 1 0.000 0.001
anonymous fn/3 in Enum.flat_map/2 4 0.009 0.009
anonymous fn/1 in Day11.elements_to_powers/1 4 0.009 0.009 <--
Day11.elements_to_powers/1 1 0.005 0.003
Stream.iterate/2 1 0.005 0.003 <--
Stream.unfold/2 1 0.002 0.002
Enumerable.impl_for!/1 2 0.004 0.004
Enumerable.impl_for/1 2 0.004 0.004 <--
Map.new_from_enum/1 1 0.003 0.003
Enum.to_list/1 1 0.003 0.003 <--
Map.new_from_enum/1 1 0.002 0.002
:maps.from_list/1 1 0.002 0.002 <--
Enum.zip/2 1 0.002 0.002
Stream.zip/2 1 0.002 0.002 <--
Stream.iterate/2 1 0.002 0.002
Stream.unfold/2 1 0.002 0.002 <--
Day11.walk_bfs/2 1 0.002 0.002
MapSet.new/0 1 0.002 0.002 <--
:undefined 0 0.000 0.000 <--
:fprof.apply_start_stop/4 0 277172.748 0.028
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment