Skip to content

Commit

Permalink
dyj fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ha2556 committed Apr 3, 2024
1 parent 9f24084 commit cec17d8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/dyj.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
name: dyj

on:
schedule:
- cron: '0 * * * *'
pull_request:
paths:
- "**"
- "!**/*.md"
- "!docs/**"
push:
paths:
- '**'
- "!**/*.md"
- "!docs/**"
workflow_dispatch:

permissions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ public void test() throws RunnerException {
.include(MyBenchmark.class.getSimpleName())
.param("time", System.currentTimeMillis() + "")
.param("prop", propJson == null ? "" : propJson)
.warmupIterations(1)
.warmupIterations(5)
.warmupTime(TimeValue.seconds(1))
.measurementIterations(1)
.measurementIterations(5)
.measurementTime(TimeValue.seconds(1))
.mode(Mode.Throughput)
.mode(Mode.SampleTime)
.threads(Threads.MAX)
.forks(0);
.forks(1);

options = doOptions(optBuilder, prop).build();
new Runner(options).run();
Expand Down

0 comments on commit cec17d8

Please sign in to comment.