Skip to content

Commit ba07dc3

Browse files
Add Heavy Load Benchmark for ByteCodeTranslator
- Added `HeavyLoadBenchmarkTest` in `vm/tests` which runs ByteCodeTranslator against `JavaAPI`. - Implemented `SimpleProfiler` to capture hotspots during translation. - Updated `.github/workflows/parparvm-tests.yml` to run the benchmark and ensure JavaAPI is built, and exclude benchmark from standard tests. - Updated `.github/scripts/generate-quality-report.py` to include benchmark results in the PR comment.
1 parent 4def6c6 commit ba07dc3

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

.github/workflows/parparvm-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Run ParparVM JVM tests
8080
working-directory: vm
81-
run: mvn -B clean package -pl JavaAPI -am -DskipTests && mvn -B test -pl tests -am
81+
run: mvn -B clean package -pl JavaAPI -am -DskipTests && mvn -B test -pl tests -am -DexcludedGroups=benchmark
8282
env:
8383
JDK_8_HOME: ${{ env.JDK_8_HOME }}
8484
JDK_11_HOME: ${{ env.JDK_11_HOME }}
@@ -88,7 +88,7 @@ jobs:
8888

8989
- name: Run ParparVM Benchmark
9090
working-directory: vm
91-
run: mvn -B test -pl tests -Dgroups=benchmark -P !skip-benchmark -Djacoco.skip=true
91+
run: mvn -B test -pl tests -Dgroups=benchmark -Djacoco.skip=true
9292
env:
9393
JDK_8_HOME: ${{ env.JDK_8_HOME }}
9494
JDK_11_HOME: ${{ env.JDK_11_HOME }}

vm/tests/pom.xml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,24 +75,4 @@
7575
</plugin>
7676
</plugins>
7777
</build>
78-
79-
<profiles>
80-
<profile>
81-
<id>skip-benchmark</id>
82-
<activation>
83-
<activeByDefault>true</activeByDefault>
84-
</activation>
85-
<build>
86-
<plugins>
87-
<plugin>
88-
<groupId>org.apache.maven.plugins</groupId>
89-
<artifactId>maven-surefire-plugin</artifactId>
90-
<configuration>
91-
<excludedGroups>benchmark</excludedGroups>
92-
</configuration>
93-
</plugin>
94-
</plugins>
95-
</build>
96-
</profile>
97-
</profiles>
9878
</project>

0 commit comments

Comments
 (0)