<div dir="ltr">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.<br><br>I got it running though.</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Oct 30, 2025 at 7:16 PM Pedro Lamarão <<a href="mailto:pedro.lamarao@prodist.com.br">pedro.lamarao@prodist.com.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello, Ethan!<div><br></div><div>I have adapted your project to use JMH for benchmarking.</div><div>You may find it here: <a href="https://github.com/pedrolamarao/raytracer" target="_blank">https://github.com/pedrolamarao/raytracer</a></div><div><div><br>These are the changes I made in this fork:</div><div>1) introduced Gradle with its default source structure;</div><div>2) adapted Main into a JMH benchmark.</div><div><br></div></div><div>This fork uses Gradle to apply JMH from Maven Central.</div><div>Gradle must be run with a release JDK version  [11,25].</div><div>It will attempt to locate a JDK with version string "26-jep401ea2+1-1" for compilation and execution.</div><div>You may supply the path for this JDK in the gradle.properties file.</div><div><br></div><div>JMH is configured in "single shot" mode to run 1 warmup iteration and 1 measured iteration.</div><div>To run the benchmark: ./gradlew run --console=PLAIN</div><div><br></div><div>The C++ code could benefit from similar treatment.</div><div><br></div><div>Atte.</div><div>Pedro.</div></div></div>
</div>
</blockquote></div>