Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libfontconfig1-dev

- name: Setup Rust Environment
run: |
# Install rustup
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Linux Dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libfontconfig1-dev

- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
Expand Down
2 changes: 1 addition & 1 deletion benchplot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sizes and plotting the results.
## Usage

<p align="center">
<img src="https://github.com/OTheDev/benchplot/raw/main/examples/sorting/output.svg?raw=true" />
<img src="https://github.com/OTheDev/benchplot/raw/main/images/sorting.svg?raw=true" />
</p>

```rust
Expand Down
3 changes: 2 additions & 1 deletion benchplot/src/bench/plot.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2024 Owain Davies
Copyright 2024-2025 Owain Davies
SPDX-License-Identifier: Apache-2.0 OR MIT
*/

Expand Down Expand Up @@ -117,6 +117,7 @@ impl<'a, T: Clone + Send + 'static, R: Send + 'static> PlotBuilder<'a, T, R> {

chart
.configure_mesh()
.light_line_style(TRANSPARENT)
.x_desc("n")
.y_desc("Time (s)")
.x_labels(10)
Expand Down
89 changes: 89 additions & 0 deletions images/sorting.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.