Skip to content

Commit

Permalink
Merge pull request #3936 from volodya-lombrozo/3935_jmh_action
Browse files Browse the repository at this point in the history
feat(#3935): Try to Use `jmh-benchmark-action`
  • Loading branch information
yegor256 authored Feb 25, 2025
2 parents 8387c57 + ad2b987 commit e269f19
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/jmh-benchmark-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: Performance Regression Check
on:
pull_request:
branches:
- master
jobs:
benchmark:
name: JMH
runs-on: ubuntu-latest
steps:
- name: Run JMH Benchmark Action
uses: volodya-lombrozo/jmh-benchmark-action@main
with:
java-version: "11"
base-ref: "master"
benchmark-command: |
mvn jmh:benchmark -pl eo-parser -Djmh.rf=json -Djmh.rff=benchmark.json
cp eo-parser/benchmark.json .
benchmark-file: "benchmark.json"

0 comments on commit e269f19

Please sign in to comment.