Sun May 24 18:56 2020 Time and Allocation Profiling Report (Final) prog-exe +RTS -i0.001 -ki64k -posemiprimes -s -P -RTS semiprimes total time = 0.28 secs (276 ticks @ 1000 us, 1 processor) total alloc = 487,091,392 bytes (excludes profiling overheads) COST CENTRE MODULE SRC %time %alloc ticks bytes unionBy.loop Data.List.Ordered Data/List/Ordered.hs:(237,6)-(243,34) 94.2 95.2 260 463788928 semiprimes.facts Example src/Example.hs:33:5-51 1.4 0.4 4 1814960 individual inherited COST CENTRE MODULE SRC no. entries %time %alloc %time %alloc ticks bytes MAIN MAIN 1433 0 0.0 0.0 100.0 100.0 0 150808 CAF GHC.Conc.Signal 1547 0 0.0 0.0 0.0 0.0 0 656 CAF GHC.IO.Encoding 1531 0 0.0 0.0 0.0 0.0 0 3168 CAF GHC.IO.Encoding.Iconv 1529 0 0.0 0.0 0.0 0.0 0 200 CAF GHC.IO.Handle.FD 1521 0 0.4 0.0 0.4 0.0 1 34704 CAF GHC.Event.Thread 1481 0 0.0 0.0 0.0 0.0 0 1216 CAF GHC.Event.Poll 1451 0 0.0 0.0 0.0 0.0 0 48 CAF:empty Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:131:1-5 1596 0 0.0 0.0 0.0 0.0 0 0 empty Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:131:1-13 2905 1 0.0 0.0 0.0 0.0 0 0 CAF:findMin Data.PQueue.Prio.Min Data/PQueue/Prio/Min.hs:189:1-7 1628 0 0.0 0.0 0.0 0.0 0 16 findMin Data.PQueue.Prio.Min Data/PQueue/Prio/Min.hs:189:1-78 2899 1 0.0 0.0 0.0 0.0 0 0 CAF:main1 Main 2864 0 0.0 0.0 0.0 0.0 0 16 main Main app/Main.hs:10:1-22 2866 1 0.0 0.0 0.0 0.0 0 0 CAF:nextComposite_rfu0 Example src/Example.hs:45:5-17 2811 0 0.0 0.0 0.0 0.0 0 0 primes Example src/Example.hs:(61,1)-(117,55) 2894 0 0.0 0.0 0.0 0.0 0 0 primes.large Example src/Example.hs:65:5-37 2895 0 0.0 0.0 0.0 0.0 0 0 sieve Example src/Example.hs:(40,1)-(58,53) 2896 0 0.0 0.0 0.0 0.0 0 16 sieve.nextComposite Example src/Example.hs:45:5-36 2897 1 0.0 0.0 0.0 0.0 0 0 CAF:run33 Main 2856 0 0.0 0.0 0.0 0.0 0 0 run Main app/Main.hs:(13,1)-(24,17) 2869 0 0.0 0.0 0.0 0.0 0 16 profile Main app/Main.hs:27:1-65 2870 1 0.0 0.0 0.0 0.0 0 0 CAF:run34 Main 2855 0 0.0 0.0 0.0 0.0 0 0 run Main app/Main.hs:(13,1)-(24,17) 2872 0 0.0 0.0 0.0 0.0 0 0 profile Main app/Main.hs:27:1-65 2873 0 0.0 0.0 0.0 0.0 0 16 CAF:run35 Main 2857 0 0.0 0.0 0.0 0.0 0 720 CAF:run37 Main 2862 0 0.0 0.0 0.0 0.0 0 72 CAF:run_x1 Main 2854 0 0.0 0.0 99.6 100.0 0 0 run Main app/Main.hs:(13,1)-(24,17) 2874 0 0.0 0.0 99.6 100.0 0 0 profile Main app/Main.hs:27:1-65 2875 0 0.0 0.0 99.6 100.0 0 0 program Main app/Main.hs:27:63-65 2876 1 0.0 0.0 99.6 100.0 0 48 semiprimesTo Example src/Example.hs:28:1-52 2877 1 0.4 0.1 99.6 100.0 1 678352 semiprimes Example src/Example.hs:(31,1)-(33,51) 2878 1 0.0 0.1 99.3 99.8 0 442264 semiprimes.\ Example src/Example.hs:31:29-58 2881 2763 0.0 0.0 97.1 97.2 0 154704 semiprimes.facts Example src/Example.hs:33:5-51 2885 2762 1.4 0.4 2.9 2.0 4 1814960 primesTo Example src/Example.hs:36:1-44 2886 2762 0.4 0.3 1.4 1.6 1 1360448 primes Example src/Example.hs:(61,1)-(117,55) 2887 2762 0.0 0.2 1.1 1.3 0 1104424 primes.small Example src/Example.hs:63:5-24 2888 2762 0.0 0.0 0.0 0.0 0 138848 primes.large Example src/Example.hs:65:5-37 2910 911 0.0 0.0 0.7 0.8 0 116608 primes.spin Example src/Example.hs:117:5-55 2911 6344 0.0 0.2 0.0 0.2 0 956208 sieve Example src/Example.hs:(40,1)-(58,53) 2912 911 0.0 0.0 0.7 0.6 0 133936 sieve.sieve' Example src/Example.hs:(49,5)-(52,46) 2913 5433 0.0 0.2 0.4 0.5 0 862928 sieve.crossoff Example src/Example.hs:43:5-68 2922 4672 0.4 0.1 0.4 0.3 1 632696 insert Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:150:1-21 2923 4672 0.0 0.1 0.0 0.2 0 566928 insert' Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(169,1)-(172,59) 2924 4672 0.0 0.0 0.0 0.1 0 0 incr Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(297,1)-(300,50) 2960 3360 0.0 0.1 0.0 0.1 0 287232 meld Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(269,1)-(271,46) 2961 1592 0.0 0.0 0.0 0.0 0 0 tip Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:265:1-28 2959 1768 0.0 0.0 0.0 0.0 0 0 sieve.adjust Example src/Example.hs:(54,5)-(58,53) 2948 300 0.0 0.0 0.0 0.0 0 50400 sieve.adjust.(...) Example src/Example.hs:58:9-53 2950 300 0.0 0.0 0.0 0.0 0 0 deleteFindMin Data.PQueue.Prio.Min Data/PQueue/Prio/Min.hs:198:1-98 2951 300 0.0 0.0 0.0 0.0 0 0 minViewWithKey Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(209,1)-(210,70) 2952 300 0.0 0.0 0.0 0.0 0 0 extractHeap Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(312,1)-(314,48) 2957 150 0.0 0.0 0.0 0.0 0 6000 extractForest Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(354,1)-(363,27) 2958 955 0.0 0.0 0.0 0.0 0 69720 incrExtract Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(345,1)-(348,54) 2963 546 0.0 0.0 0.0 0.0 0 5320 incr Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(297,1)-(300,50) 2968 305 0.0 0.0 0.0 0.0 0 28712 meld Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(269,1)-(271,46) 2969 172 0.0 0.0 0.0 0.0 0 0 meld Data.PQueue.Prio.Internals Data/PQueue/Prio/Internals.hs:(269,1)-(271,46) 2967 133 0.0 0.0 0.0 0.0 0 0 extractForest.