Skip to content

feat(CI): Set up CodSpeed - #241

Merged
emyller merged 9 commits into
mainfrom
feat/codspeed
Oct 28, 2026
Merged

emyller merged 9 commits into
mainfrom
feat/codspeed

Conversation

@emyller

@emyller emyller commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Closes SDK-12.

Set up CodSpeed in GitHub Actions.

@emyller emyller self-assigned this Oct 27, 2026
@emyller
emyller requested a review from a team as a code owner October 27, 2026 01:23
@emyller
emyller requested review from khvn26 and removed request for a team October 27, 2026 01:23
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 6f92fe5c-f385-432d-a389-22969f683a19
Commits

Reviewing files that changed from the base of the PR and between 5094b76 and d2116b8.

Files selected for processing: 5
  • .gitmodules
  • Makefile
  • pom.xml
  • src/jmh/java/com/flagsmith/SdkBenchmark.java
  • third-party/sdk-benchmarks

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

Adds JMH benchmarks for SDK evaluation against small, medium, and large environment documents. Adds Maven and Make configuration to package and run the benchmarks as an executable JAR. Adds submodule references for benchmark code and environment data. Adds a CodSpeed workflow that runs the benchmark target on pushes to main, pull requests, and manual dispatches.

Priority: Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: Minimal · up to d2116

The benchmark setup is ready for normal validation; no actionable merge-blocking risk remains in the reviewed changes.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 63da0de6-e205-4713-a49b-2896243631ce
Commits

Reviewing files that changed from the base of the PR and between 773fb3e and e6768c5.

Files selected for processing: 5
  • .github/workflows/codspeed.yml
  • .gitmodules
  • pom.xml
  • src/jmh/java/com/flagsmith/flagengine/EngineBenchmark.java
  • third-party/codspeed-jvm

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Comment thread .github/workflows/codspeed.yml
@codspeed

codspeed Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Congrats! CodSpeed is installed 🎉

🆕 15 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks


Open in CodSpeed

@khvn26 khvn26 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI harness looks good. Questions for the benchmark itself.

Comment thread third-party/codspeed-jvm
Comment thread src/jmh/java/com/flagsmith/flagengine/EngineBenchmark.java Outdated
Comment thread src/jmh/java/com/flagsmith/flagengine/EngineBenchmark.java Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d4ad6709-8ce7-44ac-987d-2222537a71b8
Commits

Reviewing files that changed from the base of the PR and between e6768c5 and 5094b76.

Files selected for processing: 7
  • .github/workflows/codspeed.yml
  • Makefile
  • pom.xml
  • src/jmh/java/com/flagsmith/SDKBenchmark.java
  • src/jmh/resources/environments/large.json
  • src/jmh/resources/environments/medium.json
  • src/jmh/resources/environments/small.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Comment thread Makefile
@emyller
emyller requested a review from khvn26 October 27, 2026 21:45

@khvn26 khvn26 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better now! I think we can do away without one of the benchmarks, the rest look excellent to me.

Comment thread src/jmh/java/com/flagsmith/SdkBenchmark.java Outdated
Comment thread src/jmh/java/com/flagsmith/SdkBenchmark.java Outdated
emyller and others added 2 commits October 27, 2026 18:49
Co-authored-by: Kim Gustyr <kim.gustyr@flagsmith.com>
@emyller
emyller requested a review from khvn26 October 27, 2026 22:02
@emyller
emyller merged commit 3e778a5 into main Oct 28, 2026
17 checks passed
@emyller
emyller deleted the feat/codspeed branch October 28, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants