Skip to content

Commit

Permalink
modified: Julia/comparison.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jvo203 committed Feb 17, 2022
1 parent b3c2158 commit ba5cec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Julia/comparison.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ allocated_f = data_f[:, 2] ./ (1024^3)

common = min(size(timestamp_r)[1], size(timestamp_f)[1])

plot(timestamp_f[1:common], [allocated_r[1:common], allocated_f[1:common]], label = ["Rust fits_web_ql v4" "C / FORTRAN FITSWEBQLSE v5"], xlabel = "elapsed time [s]", ylabel = "jemalloc stats.allocated memory [GB]")
plot(timestamp_f[1:common], [allocated_r[1:common], allocated_f[1:common]], label = ["Rust fits_web_ql v4" "C / FORTRAN FITSWEBQLSE v5"], xlabel = "elapsed time [s]", ylabel = "allocated memory [GB]", legend = :bottomright, title = "memory consumption comparison")
savefig(homedir() * "/mem_comparison.pdf")

0 comments on commit ba5cec5

Please sign in to comment.