From ff2ebc20a56230cd4e13eb60871140c4852f4c61 Mon Sep 17 00:00:00 2001 From: Shane Celis Date: Mon, 29 Apr 2024 19:48:09 -0400 Subject: [PATCH] bug: Fix benchmark report. Not available on web. --- .github/workflows/docs.yml | 4 +++- README.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1544f0f..8ad41d0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,8 +31,10 @@ jobs: run: echo '' > target/doc/index.html - name: Run benchmarks run: cargo bench --all + - name: Add benchmark redirect + run: echo '' > target/criterion/index.html - name: Move benchmarks - run: mv target/criterion target/doc/ + run: mv target/criterion target/doc/criterion - name: Remove lock file run: rm target/doc/.lock - name: Upload artifact diff --git a/README.md b/README.md index 10b7596..59dce74 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Memory efficient trie (prefix tree) and map library based on LOUDS. | [Released API Docs](https://docs.rs/crate/trie-rs) | -[Benchmark Results](https://laysakura.github.io/trie-rs/criterion/report/) +[Benchmark Results](criterion/report/) | [Changelog](https://github.com/laysakura/trie-rs/blob/master/CHANGELOG.md)