Raytracing Experience Report

Ethan McCue ethan at mccue.dev
Fri Oct 31 00:12:07 UTC 2025


At some point we should probably invest in a way to run benchmarks that
doesn't loop through Kotlin, Groovy, and Gradle, and jank multi-jvm
environments.

I got it running though.

On Thu, Oct 30, 2025 at 7:16 PM Pedro Lamarão <pedro.lamarao at prodist.com.br>
wrote:

> Hello, Ethan!
>
> I have adapted your project to use JMH for benchmarking.
> You may find it here: https://github.com/pedrolamarao/raytracer
>
> These are the changes I made in this fork:
> 1) introduced Gradle with its default source structure;
> 2) adapted Main into a JMH benchmark.
>
> This fork uses Gradle to apply JMH from Maven Central.
> Gradle must be run with a release JDK version  [11,25].
> It will attempt to locate a JDK with version string "26-jep401ea2+1-1" for
> compilation and execution.
> You may supply the path for this JDK in the gradle.properties file.
>
> JMH is configured in "single shot" mode to run 1 warmup iteration and 1
> measured iteration.
> To run the benchmark: ./gradlew run --console=PLAIN
>
> The C++ code could benefit from similar treatment.
>
> Atte.
> Pedro.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/valhalla-dev/attachments/20251030/7b15580b/attachment-0001.htm>


More information about the valhalla-dev mailing list