Added profiling
authorNeil Smith <NeilNjae@users.noreply.github.com>
Tue, 14 Jun 2022 13:53:22 +0000 (14:53 +0100)
committerNeil Smith <NeilNjae@users.noreply.github.com>
Tue, 14 Jun 2022 13:53:22 +0000 (14:53 +0100)
24 files changed:
profiling/external_time_and_memory.png [new file with mode: 0644]
profiling/external_time_and_memory_linear.png [new file with mode: 0644]
profiling/external_time_and_memory_log.png [new file with mode: 0644]
profiling/imports.png [new file with mode: 0644]
profiling/internal_external_memory.png [new file with mode: 0644]
profiling/internal_external_memory_linear.png [new file with mode: 0644]
profiling/internal_external_memory_log.png [new file with mode: 0644]
profiling/internal_external_time.png [new file with mode: 0644]
profiling/internal_external_time_linear.png [new file with mode: 0644]
profiling/internal_time_and_memory.png [new file with mode: 0644]
profiling/internal_time_and_memory_linear.png [new file with mode: 0644]
profiling/internal_time_and_memory_log.png [new file with mode: 0644]
profiling/memory_combined.png [new file with mode: 0644]
profiling/modules.png [new file with mode: 0644]
profiling/packages.png [new file with mode: 0644]
profiling/performance.csv [new file with mode: 0644]
profiling/performance.md [new file with mode: 0644]
profiling/run_times_combined.png [new file with mode: 0644]
profiling/run_times_linear.png [new file with mode: 0644]
profiling/run_times_log.png [new file with mode: 0644]
profiling/time-results.csv [new file with mode: 0644]
profiling/time-results.md [new file with mode: 0644]
profiling/times.csv [new file with mode: 0644]
profiling/times_raw.csv [new file with mode: 0644]

diff --git a/profiling/external_time_and_memory.png b/profiling/external_time_and_memory.png
new file mode 100644 (file)
index 0000000..7f44a07
Binary files /dev/null and b/profiling/external_time_and_memory.png differ
diff --git a/profiling/external_time_and_memory_linear.png b/profiling/external_time_and_memory_linear.png
new file mode 100644 (file)
index 0000000..52e07c2
Binary files /dev/null and b/profiling/external_time_and_memory_linear.png differ
diff --git a/profiling/external_time_and_memory_log.png b/profiling/external_time_and_memory_log.png
new file mode 100644 (file)
index 0000000..d5a2109
Binary files /dev/null and b/profiling/external_time_and_memory_log.png differ
diff --git a/profiling/imports.png b/profiling/imports.png
new file mode 100644 (file)
index 0000000..4cd6b8a
Binary files /dev/null and b/profiling/imports.png differ
diff --git a/profiling/internal_external_memory.png b/profiling/internal_external_memory.png
new file mode 100644 (file)
index 0000000..b4b0986
Binary files /dev/null and b/profiling/internal_external_memory.png differ
diff --git a/profiling/internal_external_memory_linear.png b/profiling/internal_external_memory_linear.png
new file mode 100644 (file)
index 0000000..c59f7fa
Binary files /dev/null and b/profiling/internal_external_memory_linear.png differ
diff --git a/profiling/internal_external_memory_log.png b/profiling/internal_external_memory_log.png
new file mode 100644 (file)
index 0000000..f63c7b3
Binary files /dev/null and b/profiling/internal_external_memory_log.png differ
diff --git a/profiling/internal_external_time.png b/profiling/internal_external_time.png
new file mode 100644 (file)
index 0000000..c16cb18
Binary files /dev/null and b/profiling/internal_external_time.png differ
diff --git a/profiling/internal_external_time_linear.png b/profiling/internal_external_time_linear.png
new file mode 100644 (file)
index 0000000..8ec00fd
Binary files /dev/null and b/profiling/internal_external_time_linear.png differ
diff --git a/profiling/internal_time_and_memory.png b/profiling/internal_time_and_memory.png
new file mode 100644 (file)
index 0000000..376f60d
Binary files /dev/null and b/profiling/internal_time_and_memory.png differ
diff --git a/profiling/internal_time_and_memory_linear.png b/profiling/internal_time_and_memory_linear.png
new file mode 100644 (file)
index 0000000..a3a1851
Binary files /dev/null and b/profiling/internal_time_and_memory_linear.png differ
diff --git a/profiling/internal_time_and_memory_log.png b/profiling/internal_time_and_memory_log.png
new file mode 100644 (file)
index 0000000..835f207
Binary files /dev/null and b/profiling/internal_time_and_memory_log.png differ
diff --git a/profiling/memory_combined.png b/profiling/memory_combined.png
new file mode 100644 (file)
index 0000000..4bbab42
Binary files /dev/null and b/profiling/memory_combined.png differ
diff --git a/profiling/modules.png b/profiling/modules.png
new file mode 100644 (file)
index 0000000..75b2fde
Binary files /dev/null and b/profiling/modules.png differ
diff --git a/profiling/packages.png b/profiling/packages.png
new file mode 100644 (file)
index 0000000..75b2fde
Binary files /dev/null and b/profiling/packages.png differ
diff --git a/profiling/performance.csv b/profiling/performance.csv
new file mode 100644 (file)
index 0000000..acc7c34
--- /dev/null
@@ -0,0 +1,26 @@
+program,total_alloc,memory,elapsed
+advent01,12058592,10212,0.02
+advent02,1818928,7876,0.01
+advent03,8298128,10760,0.01
+advent04,54628920,14236,0.05
+advent05,434487576,49372,0.47
+advent06,2507624,7948,0.01
+advent07,5589544,10164,0.01
+advent08,2499222744,12252,0.98
+advent09,469984,6644,0.01
+advent10,2383248,7456,0.01
+advent11,39102056,11272,0.04
+advent12,722598152,61132,1.15
+advent13,4493632,11504,0.01
+advent14,15471000,11020,0.02
+advent15,2458599000,53240,1.39
+advent16,8613496,12128,0.01
+advent17,88071992,11604,0.02
+advent18,588717288,11812,0.17
+advent19,2623652352,12524,3.88
+advent20,3090735840,207144,2.49
+advent21,2400838008,22020,1.03
+advent22,1384180736,12508,0.76
+advent23,38150694448,98824,27.19
+advent24,66538931736,12432,27.92
+advent25,1910248008,13748,4.21
diff --git a/profiling/performance.md b/profiling/performance.md
new file mode 100644 (file)
index 0000000..d224b26
--- /dev/null
@@ -0,0 +1,27 @@
+| Program  | Total allocations | Max memory | Time |
+|----------|------------------:|-----------:|-----:|
+| advent01 | 107029176 | 72440 | 0.04 |
+| advent02 | 35370072 | 72440 | 0.06 |
+| advent03 | 4017640 | 72504 | 0.02 |
+| advent04 | 60820368 | 72504 | 0.08 |
+| advent05 | 27810256 | 72440 | 0.08 |
+| advent06 | 11624856 | 72504 | 0.06 |
+| advent07 | 21605440 | 72444 | 0.04 |
+| advent08 | 74894192 | 72508 | 0.09 |
+| advent09 | 793279616 | 72508 | 0.31 |
+| advent10 | 924456 | 72444 | 0.01 |
+| advent11 | 35282262592 | 72504 | 16.4 |
+| advent12 | 2206400 | 72508 | 0.03 |
+| advent13 | 542152 | 72436 | 0.01 |
+| advent14 | 259113488 | 72508 | 0.26 |
+| advent15 | 6662932672 | 240372 | 1.80 |
+| advent16 | 17242880 | 72444 | 0.03 |
+| advent17 | 4808712520 | 72444 | 1.42 |
+| advent18 | 21509984 | 72444 | 0.04 |
+| advent19 | 44456496 | 72504 | 0.11 |
+| advent20 | 3860804096 | 72436 | 3.77 |
+| advent21 | 9561880 | 72508 | 0.04 |
+| advent22 | 3242847728 | 72500 | 1.67 |
+| advent23 | 10263690000 | 95500 | 1.56 |
+| advent24 | 4352105528 | 72504 | 3.13 |
+| advent25 | 39231576 | 72504 | 0.06 |
diff --git a/profiling/run_times_combined.png b/profiling/run_times_combined.png
new file mode 100644 (file)
index 0000000..5a01d1b
Binary files /dev/null and b/profiling/run_times_combined.png differ
diff --git a/profiling/run_times_linear.png b/profiling/run_times_linear.png
new file mode 100644 (file)
index 0000000..407fee4
Binary files /dev/null and b/profiling/run_times_linear.png differ
diff --git a/profiling/run_times_log.png b/profiling/run_times_log.png
new file mode 100644 (file)
index 0000000..2098deb
Binary files /dev/null and b/profiling/run_times_log.png differ
diff --git a/profiling/time-results.csv b/profiling/time-results.csv
new file mode 100644 (file)
index 0000000..04e90b6
--- /dev/null
@@ -0,0 +1,27 @@
+Program,Elapsed time (s),Max memory
+advent01, 00.39, 72440
+advent02, 00.41, 72440
+advent03, 00.37, 72504
+advent04, 00.43, 72504
+advent05, 00.43, 72440
+advent06, 00.41, 72504
+advent07, 00.39, 72444
+advent08, 00.44, 72508
+advent09, 00.66, 72508
+advent10, 00.36, 72444
+advent11, 16.75, 72504
+advent12, 00.38, 72508
+advent13, 00.36, 72436
+advent14, 00.61, 72508
+advent15, 02.15, 240372
+advent15loop, 01.88, 240444
+advent16, 00.38, 72444
+advent17, 01.77, 72444
+advent18, 00.39, 72444
+advent19, 00.46, 72504
+advent20, 04.12, 72436
+advent21, 00.39, 72508
+advent22, 02.02, 72500
+advent23, 01.91, 95500
+advent24, 03.48, 72504
+advent25, 00.41, 72504
diff --git a/profiling/time-results.md b/profiling/time-results.md
new file mode 100644 (file)
index 0000000..70c50c0
--- /dev/null
@@ -0,0 +1,27 @@
+| Program  | Elapsed time (mm:ss) | Max memory  |
+| advent01 | 0:00.39 | 72440 |
+| advent02 | 0:00.41 | 72440 |
+| advent03 | 0:00.37 | 72504 |
+| advent04 | 0:00.43 | 72504 |
+| advent05 | 0:00.43 | 72440 |
+| advent06 | 0:00.41 | 72504 |
+| advent07 | 0:00.39 | 72444 |
+| advent08 | 0:00.44 | 72508 |
+| advent09 | 0:00.66 | 72508 |
+| advent10 | 0:00.36 | 72444 |
+| advent11 | 0:16.75 | 72504 |
+| advent12 | 0:00.38 | 72508 |
+| advent13 | 0:00.36 | 72436 |
+| advent14 | 0:00.61 | 72508 |
+| advent15 | 0:02.15 | 240372 |
+| advent15loop | 0:01.88 | 240444 |
+| advent16 | 0:00.38 | 72444 |
+| advent17 | 0:01.77 | 72444 |
+| advent18 | 0:00.39 | 72444 |
+| advent19 | 0:00.46 | 72504 |
+| advent20 | 0:04.12 | 72436 |
+| advent21 | 0:00.39 | 72508 |
+| advent22 | 0:02.02 | 72500 |
+| advent23 | 0:01.91 | 95500 |
+| advent24 | 0:03.48 | 72504 |
+| advent25 | 0:00.41 | 72504 |
diff --git a/profiling/times.csv b/profiling/times.csv
new file mode 100644 (file)
index 0000000..57cd0b7
--- /dev/null
@@ -0,0 +1,25 @@
+cabal run advent01,0.19,0:02.61,295056
+cabal run advent02,0.03,0:00.30,78584
+cabal run advent03,0.02,0:00.29,78584
+cabal run advent04,0.02,0:00.31,77560
+cabal run advent05,0.13,0:00.69,77568
+cabal run advent06,0.03,0:00.30,78592
+cabal run advent07,0.04,0:00.31,77560
+cabal run advent08,0.15,0:01.21,77564
+cabal run advent09,0.03,0:00.30,78588
+cabal run advent10,0.03,0:00.29,78584
+cabal run advent11,0.03,0:00.31,78588
+cabal run advent12,0.19,0:01.47,77564
+cabal run advent13,0.04,0:00.29,77564
+cabal run advent14,0.02,0:00.32,77560
+cabal run advent15,0.22,0:01.70,78588
+cabal run advent16,0.04,0:00.31,77568
+cabal run advent17,0.02,0:00.30,78584
+cabal run advent18,0.09,0:00.46,78584
+cabal run advent19,0.10,0:04.08,78576
+cabal run advent20,0.29,0:02.73,207732
+cabal run advent21,0.19,0:01.36,78584
+cabal run advent22,0.11,0:01.06,78584
+cabal run advent23,2.27,0:27.17,98176
+cabal run advent24,4.12,0:28.00,78588
+cabal run advent25,0.22,0:04.57,77568
diff --git a/profiling/times_raw.csv b/profiling/times_raw.csv
new file mode 100644 (file)
index 0000000..cfc98ea
--- /dev/null
@@ -0,0 +1,25 @@
+advent01,0.01,0:00.02,10212
+advent02,0.00,0:00.01,7876
+advent03,0.00,0:00.01,10760
+advent04,0.02,0:00.05,14236
+advent05,0.07,0:00.47,49372
+advent06,0.00,0:00.01,7948
+advent07,0.00,0:00.01,10164
+advent08,0.21,0:00.98,12252
+advent09,0.00,0:00.01,6644
+advent10,0.00,0:00.01,7456
+advent11,0.01,0:00.04,11272
+advent12,0.11,0:01.15,61132
+advent13,0.00,0:00.01,11504
+advent14,0.00,0:00.02,11020
+advent15,0.18,0:01.39,53240
+advent16,0.01,0:00.01,12128
+advent17,0.00,0:00.02,11604
+advent18,0.03,0:00.17,11812
+advent19,0.15,0:03.88,12524
+advent20,0.34,0:02.49,207144
+advent21,0.16,0:01.03,22020
+advent22,0.14,0:00.76,12508
+advent23,2.29,0:27.19,98824
+advent24,4.00,0:27.92,12432
+advent25,0.19,0:04.21,13748