Document font used in benchmark charts (#1309)

The labels were missing when I generated the charts on my Arch machine. 

Inspecting the intermediate SVG showed that we use Google's Roboto font
(and the rendering library doesn't support fallback fonts).

I installed the font and TADA, the labels appeared. I extended our
documentation to mention the required fonts.
This commit is contained in:
Micha Reiser 2024-02-15 15:56:08 +01:00 committed by GitHub
parent 768669771c
commit c5e413c4b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ cargo run -p puffin-dev render-benchmarks install-warm.json --title "Warm Instal
cargo run -p puffin-dev render-benchmarks install-cold.json --title "Cold Installation"
```
You need to install the [Roboto Font](https://fonts.google.com/specimen/Roboto) if the labels are missing in the generated graph.
## Acknowledgements
The inclusion of this `BENCHMARKS.md` file was inspired by the excellent benchmarking documentation