This commit is contained in:
Anton Reinhard 2024-02-14 15:52:07 +01:00
parent 8bbbc72bfc
commit 52e7bf43ad
4 changed files with 10 additions and 4 deletions

View File

@ -37,6 +37,10 @@ for threads in THREADS
df_filt.process_size = @. proc_to_n(df_filt.process_name)
l = length(df_filt.process_size)
println(df_filt[!, :process_size])
println(df_filt[!, :graph_mem])
println(df_filt[!, :graph_mem_reduced])
@df df_filt scatter(:process_size, :graph_mem, label = "unreduced graph", markersize = 7)
scatter!(
@ -48,7 +52,7 @@ for threads in THREADS
)
plot!(
title = title_string,
title = "n-photon Compton diagram memory footprint",
yscale = :log10,
legend = :outerbottom,
minorgrid = true,
@ -57,14 +61,14 @@ for threads in THREADS
xgrid = false,
xminorticks = false,
legendcolumns = 1,
legend_font_pointsize = 10,
legend_font_pointsize = 12,
fontsize = 12,
size = (800, 600),
ylabel = "memory footprint (MB)",
xlabel = "process size (#)",
)
savefig("gen_memory_$(threads).pdf")
exit(0)
@df df_filt scatter(
:process_size,
@ -91,13 +95,15 @@ for threads in THREADS
xgrid = false,
xminorticks = false,
legendcolumns = 1,
legend_font_pointsize = 10,
legend_font_pointsize = 12,
fontsize = 12,
size = (800, 600),
ylabel = "time (s)",
xlabel = "process size (#)",
)
savefig("gen_times_$(threads)_threads.pdf")
exit(0)
# graph size
title_string = "n-photon Compton unreduced graph size"

Binary file not shown.

Binary file not shown.