Skip to content

Commit 2ec2361

Browse files
committed
[GR-60243] JMH based benchmarks.
PullRequest: graalpython/3565
2 parents f36d9bc + 28eaf38 commit 2ec2361

15 files changed

+354
-1603
lines changed

ci.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "overlay": "9d5fa2f3ec83f9c612024c9a21ce3f08e8d6cfa1" }
1+
{ "overlay": "106ff9956a291d98428a19ec769ba281dd67afd5" }

graalpython/com.oracle.graal.python.benchmarks/java/com/oracle/graal/python/benchmarks/JavaBenchmarkDriver.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -58,6 +58,11 @@
5858
import org.graalvm.polyglot.Source;
5959
import org.graalvm.polyglot.Value;
6060

61+
/**
62+
* Driver that can execute our Python benchmarks via Java embedding. Java version of the Python
63+
* benchmark harness. The benchmarks must define Python function entry point named
64+
* {@code java_embedded_bench_entrypoint} and this driver executes that as one benchmark iteration.
65+
*/
6166
public class JavaBenchmarkDriver extends AbstractLanguageLauncher {
6267
private static final String LINE = "-------------------------------------------------------------------------------";
6368
private static final String BENCHMARK_ENTRY_POINT = "java_embedded_bench_entrypoint";

graalpython/com.oracle.graal.python.benchmarks/java/com/oracle/graal/python/benchmarks/interop/BenchOutputFormat.java

Lines changed: 0 additions & 348 deletions
This file was deleted.

0 commit comments

Comments
 (0)