mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valera V Harseko
3 days ago 2a450ca1dac4afb30975c0c3e854bae283b3ca70
refs
author Valera V Harseko <vharseko@3a-systems.ru>
Tuesday, June 23, 2026 11:39 +0200
committer Valera V Harseko <vharseko@3a-systems.ru>
Tuesday, June 23, 2026 11:39 +0200
commit2a450ca1dac4afb30975c0c3e854bae283b3ca70
tree 802c6c752e0caab5cbd9282f13bd5e5c71fd425c tree | zip | gz
parent 5ec57539279164d5be9797a4975f2e9bdaf0263c view | diff
build.yml: benchmark the built image against the released one

Add a "Build vs Release" benchmark to the build-docker and build-docker-alpine
jobs: run the LDAP benchmark against the freshly built image and the latest
released image, and publish the comparison in the job summary to catch
performance regressions per push/PR (200 threads / 150s).

- New reusable helper .github/benchmark/compare-opendj.sh runs benchmark.jmx
against two OpenDJ images sequentially (one container at a time on port 1389:
start, seed ou=People, capture version, run, stop) and renders the comparison
via the generic summary.sh. Both sides are OpenDJ, so no per-server
hashing/index setup is needed (identical default password scheme).
- Each job gets a sparse `actions/checkout` of .github/benchmark (these jobs have
no checkout and the build artifact does not include those files) plus a JMeter
cache. build-docker compares localhost:5000/<repo>:<release_version> ("Build")
vs openidentityplatform/opendj:latest ("Release"); build-docker-alpine compares
the corresponding -alpine / :alpine tags.
1 files modified
1 files added
130 ■■■■■ changed files
.github/benchmark/compare-opendj.sh 102 ●●●●● diff | view | raw | blame | history
.github/workflows/build.yml 28 ●●●●● diff | view | raw | blame | history