Skip to content

Commit 0906b8f

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 `vm/tests/pom.xml` to exclude benchmark from default execution. - Updated `.github/workflows/parparvm-tests.yml` to run the benchmark and ensure JavaAPI is built. - Updated `.github/scripts/generate-quality-report.py` to include benchmark results in the PR comment.
1 parent 9f35baa commit 0906b8f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/workflows/parparvm-tests.yml

Lines changed: 1 addition & 1 deletion
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 test -pl tests -am
81+
run: mvn -B clean package -pl JavaAPI -am -DskipTests && mvn -B test -pl tests -am
8282
env:
8383
JDK_8_HOME: ${{ env.JDK_8_HOME }}
8484
JDK_11_HOME: ${{ env.JDK_11_HOME }}

vm/tests/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@
3131
<artifactId>junit-jupiter</artifactId>
3232
<scope>test</scope>
3333
</dependency>
34-
<dependency>
35-
<groupId>com.codename1.parparvm</groupId>
36-
<artifactId>JavaAPI</artifactId>
37-
<version>1.0-SNAPSHOT</version>
38-
<scope>test</scope>
39-
</dependency>
4034
</dependencies>
4135

4236
<build>

0 commit comments

Comments
 (0)