diff options
| author | Andreas Kapp Lindquist <andkaplin05@gmail.com> | 2025-10-22 20:07:09 +0200 |
|---|---|---|
| committer | mithe24 <mithe24@student.sdu.dk> | 2025-10-29 13:49:57 +0100 |
| commit | f5d183e85aea35b68bb3f48956a0098417763953 (patch) | |
| tree | d5f6b714ea2f409465eb009e2f2e1a265ed70176 | |
| parent | 6d786392ec227d2a19c7f01617443e7e4f07d318 (diff) | |
| download | sorter-f5d183e85aea35b68bb3f48956a0098417763953.tar.gz sorter-f5d183e85aea35b68bb3f48956a0098417763953.zip | |
Added basic functionality for displaying csv file
| -rw-r--r-- | benchmark_results.csv | 25 | ||||
| -rw-r--r-- | report/report.tex | 6 |
2 files changed, 31 insertions, 0 deletions
diff --git a/benchmark_results.csv b/benchmark_results.csv new file mode 100644 index 0000000..659e237 --- /dev/null +++ b/benchmark_results.csv @@ -0,0 +1,25 @@ +size,real,user,sys +0,0.001,0,0 +0,0.001,0,0.001 +0,0.001,0.001,0 +100000,3.804,3.529,0.254 +100000,3.429,3.181,0.23 +100000,3.285,3.12,0.149 +10000,0.051,0.037,0.014 +10000,0.053,0.039,0.013 +10000,0.052,0.034,0.018 +150000,5.31,5.055,0.234 +150000,5.548,5.319,0.208 +150000,5.012,4.752,0.241 +200000,10.55,10.184,0.325 +200000,8.565,8.207,0.325 +200000,10.055,9.67,0.347 +250000,16.252,15.789,0.393 +250000,16.657,16.173,0.418 +250000,13.85,13.373,0.424 +300000,21.036,20.464,0.489 +300000,22.28,21.721,0.473 +300000,20.44,19.881,0.474 +50000,0.632,0.561,0.068 +50000,0.69,0.607,0.081 +50000,0.669,0.602,0.064 diff --git a/report/report.tex b/report/report.tex index 33b7495..5a11cb6 100644 --- a/report/report.tex +++ b/report/report.tex @@ -53,6 +53,12 @@ cases with duplicates or nearly sorted lists. \section{Design} \section{Implementation} \section{Evaluation} +\begin{tikzpicture} + \begin{axis}[xlabel={size},ylabel={seconds}] + \addplot[only marks] table [x=size, y=real, col sep=comma] + {../benchmark_results.csv}; + \end{axis} +\end{tikzpicture} \section{Conclusion} \end{document} |