mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-24 13:52:42 +00:00
First, a simple fix: we don't need to track macOS benchmark data over time really, and it's nice to not pay the (huge) cost overhead of the macOS GitHub runners. Runners are too noisy to give us interesting Apple silicon performance data really, we're mostly looking at trends over time, and focusing on Linux is fine for that. The larger change is to restructure how we organize the benchmarks in the JSON file we upload. The documentation doesn't seem to have caught up with the new `v1` schema, but it lets us better model the parameterization we want. While doing this, we also _sharply_ compress the benchmark name so that it works (much) better with the bencher.dev UI. The result is that the compile benchmarks are named `<phase>/<size>`. Then the particular pattern and the language are "parameters". The meaning of "parameters" are the ones that make sense to display in a single plot, with meaningful comparison between the lines. Both phase and size vary by many orders of magnitude, and so don't work as parameters. But seeing how the different shaped patterns and the different language compare at the same phase and size works well. The prelude benchmark follows a similar pattern, named `prelude` and the different amounts of import as an `import` parameter. Once this lands, I'll upgrade the project on bencher.dev to v1, and re-backfill everything from the stored artifacts. Assisted-by: Antigravity with Gemini