Skip to content

Instantly share code, notes, and snippets.

View hyunto's full-sized avatar
🎯
Focusing

Jung Hyunsoo hyunto

🎯
Focusing
View GitHub Profile
@msievers
msievers / [Spring, JMH] Howto integrate JMH benchmarks with Spring.md
Last active June 27, 2024 03:19
[Spring, JMH] Howto integrate JMH benchmarks with Spring

Motivation

Integrate JMH (Java Microbenchmarking Harness) with Spring (Boot) and make developing and running benchmarks as easy and convinent as writing tests.

Idea

Wrap the necessary JMH boilerplate code within JUnit to benefit from all the existing test infrastructure Spring (Boot) provides. It should be as easy and convinent to write benchmarks as it is to write tests.

TL;DR;

@iros
iros / API.md
Created August 22, 2012 14:42
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: