Giter Site home page Giter Site logo

spring-concurrency-thread's Introduction

codecov

Spring Boot Java Gradle JUnit5 JaCoCo Codecov GitHub Actions

관심사

정보

카운터 밴치 마크

실험 환경

칩 : Apple M2 8코어, 메모리 : 16GB

5회 평균 최대 스레드 개수 전체 요청 수 테스트 시간(ms) 메모리 사용량(MB)
AtomicCounter 9 5,000,000 321.15 12.82
AtomicCounter 15 5,000,000 419.33 12.16
CompletableFutureCounter 9 5,000,000 885.95 11.78
CompletableFutureCounter 15 5,000,000 939.16 11.78
SynchronizedCounter 9 5,000,000 398.63 12.32
SynchronizedCounter 15 5,000,000 495.99 11.86
  • 프로세서 12th Gen Intel(R) Core(TM) i7-12650H, 2300Mhz, 10 코어, 16 논리 프로세서

  • 구현체 ConcurrentBatchingCounter

  • 전체 요청 수 Integer.MAX_VALUE

스레드 개수 테스트 시간(s) 메모리 사용량(MB)
1 26-28 4
2 14 4
4 9 4
8 7 4
16 5 4
32 5-6 4
64 6 4
128 9 337
1024 10 373

spring-concurrency-thread's People

Contributors

haxr369 avatar oomia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.