Repository navigation
Conversation
Bump the actions in the example workflows and in the README to their latest major versions: actions/checkout, actions/setup-python, actions/setup-node and actions/setup-go v7, and moonrepo/setup-rust v1. Also: - use Python 3.13 instead of 3.9, which reached its end of life in October 2025 - use the current `codspeed-macro-arm64-graviton-ubuntu-22-04` label in the Go example instead of the former `codspeed-macro` label - move `name` into the job of the README Rust workflow: it was directly under `jobs`, which made the workflow invalid Closes COD-3885 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aab5068 to
d71cb8c
Compare
adriencaccia
left a comment
There was a problem hiding this comment.
Let's add new example of the missing languages that we support in https://codspeed.io/docs/benchmarks/overview
Otherwise lgtm
Add example workflows for the languages of the Supported Languages docs page that had none: - Java, Kotlin and Scala run JMH through Gradle with the CodSpeed JMH fork, a Git submodule, in walltime mode on a macro runner, like the workflows of their docs pages - CLI commands runs the benchmarks of codspeed.yml: the action has no `run` input They use actions/setup-java v6, its latest major version. Closes COD-3885 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
I added the 4 missing languages in 1b1a3d1 And I apologize for the meat-proxying, here's Claude explanation of a problem and questions Problem: on Cause: in walltime mode, the CodSpeed step waits until every process that the command started has exited. Gradle starts a daemon that keeps running after the build: by default, Gradle stops an idle daemon only after 3 hours. Control runs with runner 5.6.0:
The codspeed-jvm CI runs Questions:
|
Updates the example workflows and the README:
actions/checkout,setup-python,setup-nodeandsetup-goto v7, andmoonrepo/setup-rustto v1. Their breaking changes do not affect these examples.codspeed-macrolabel still works.namewas in the wrong place, so GitHub could not read the file.codspeed.yml). Nowexamples/covers every language of the Supported Languages page. The new examples follow the workflows of the docs pages, withactions/setup-javav6.I ran the 9 examples on small test projects, on
ubuntu-latestbecause the test organization has no macro runner. Every job passed and uploaded its results to CodSpeed. Onubuntu-latest, the 3 JVM examples needed./gradlew jmh --no-daemon: with the Gradle daemon, the CodSpeed step does not end after the build. The macro runner does not have this problem: the codspeed-jvm CI runs./gradlew jmhthere.Closes COD-3885