Skip to content

symentispl/java-microbenchmarks-workshop

Repository files navigation

Setup

Prerequisites

To work with this project, you need the following tools installed:

Required Tools

  1. Java 24 - The project uses Java 24 features (configured in pom.xml)

  2. Task - Task runner used for build automation and benchmark execution

    • Install from taskfile.dev
    • On Linux/macOS: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
    • On Windows: winget install Task.Task
    • Verify installation: task --version

Optional Tools

  • Maven - Not required as the project includes Maven Wrapper (./mvnw)
  • async-profiler - Automatically downloaded by the Task when running task profile-benchmarks

Quick Start

  1. Clone the repository
  2. Run task build to build the project
  3. Run task run-benchmarks to execute benchmarks
  4. LINUX ONLY: configure your system with sysctl kernel.perf_event_paranoid=1 and sysctl kernel.kptr_restrict=0
  5. Run task profile-benchmarks to run with profiling (includes flamegraph generation)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages