Skip to content

Commit

Permalink
update benchmark and README
Browse files Browse the repository at this point in the history
  • Loading branch information
lschneiderbauer committed Jan 3, 2024
1 parent 5ea4f26 commit 2c1916c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,27 @@ res <-
)

print(res)
#> site run order vehicle
#> 1 0 0 0 0
#> 2 1 1 0 0
#> 3 2 0 2 0
#> 4 3 2 1 0
#> 5 4 1 1 0
#> 6 5 3 6 0
#> 7 6 3 8 0
#> 8 7 3 4 0
#> 9 8 3 7 0
#> 10 9 3 3 0
#> 11 10 3 1 0
#> 12 11 3 2 0
#> 13 12 4 0 0
#> 14 13 3 5 0
#> 15 14 4 2 0
#> 16 15 2 0 0
#> 17 16 4 3 0
#> 18 17 4 1 0
#> 19 18 0 1 0
#> 20 19 3 0 0
#> site run order vehicle load
#> 1 0 0 0 0 31.75943
#> 2 1 1 0 0 25.78821
#> 3 2 0 2 0 31.75943
#> 4 3 2 1 0 27.70462
#> 5 4 1 1 0 25.78821
#> 6 5 3 1 0 29.31517
#> 7 6 4 2 0 30.76320
#> 8 7 4 1 0 30.76320
#> 9 8 3 2 0 29.31517
#> 10 9 4 0 0 30.76320
#> 11 10 5 1 0 32.37187
#> 12 11 5 2 0 32.37187
#> 13 12 6 0 0 14.34672
#> 14 13 3 0 0 29.31517
#> 15 14 7 1 0 30.58007
#> 16 15 2 0 0 27.70462
#> 17 16 7 2 0 30.58007
#> 18 17 7 0 0 30.58007
#> 19 18 0 1 0 31.75943
#> 20 19 5 0 0 32.37187
```

A plotting function (using [ggplot](https://ggplot2.tidyverse.org/)) for
Expand All @@ -98,7 +98,7 @@ CPU, using the R package [bench](https://bench.r-lib.org/).
The following graph shows the run time behavior as the number of sites
$n$ increase. The curve exhibits near-cubic behavior in $n$. For
$n = 110$ the performance is still relatively reasonable with a run time
of $\sim 12.4ms$.
of $\sim 10.9ms$.

<img src="man/figures/README-benchmark_runtime-1.png" width="100%" />

Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion benchmark/last_result.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240103-6d00a39148f5f81034c378a1a36c4c4433c75d9c.rds
20240103-5ea4f26eb9377662c5c99fb8d2512f5433fe8a47.rds
Binary file modified man/figures/README-benchmark_runtime-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-example_plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2c1916c

Please sign in to comment.