com.github.blasd.apex:apex-server-jmh

Spring Boot Dependencies

License

License

Categories

Categories

JMH Application Testing & Monitoring Performance analysis
GroupId

GroupId

com.github.blasd.apex
ArtifactId

ArtifactId

apex-server-jmh
Last Version

Last Version

1.11
Release Date

Release Date

Type

Type

jar
Description

Description

Spring Boot Dependencies
Project Organization

Project Organization

Pivotal Software, Inc.

Download apex-server-jmh

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.blasd.apex/apex-server-jmh/ -->
<dependency>
    <groupId>com.github.blasd.apex</groupId>
    <artifactId>apex-server-jmh</artifactId>
    <version>1.11</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.blasd.apex/apex-server-jmh/
implementation 'com.github.blasd.apex:apex-server-jmh:1.11'
// https://jarcasting.com/artifacts/com.github.blasd.apex/apex-server-jmh/
implementation ("com.github.blasd.apex:apex-server-jmh:1.11")
'com.github.blasd.apex:apex-server-jmh:jar:1.11'
<dependency org="com.github.blasd.apex" name="apex-server-jmh" rev="1.11">
  <artifact name="apex-server-jmh" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.blasd.apex', module='apex-server-jmh', version='1.11')
)
libraryDependencies += "com.github.blasd.apex" % "apex-server-jmh" % "1.11"
[com.github.blasd.apex/apex-server-jmh "1.11"]

Dependencies

compile (6)

Group / Artifact Type Version
org.openjdk.jmh : jmh-core jar 1.19
com.github.blasd.apex : apex-java jar 1.11
org.javolution : javolution-core-java jar 6.0.0
org.checkerframework : checker-qual jar 2.1.10
org.slf4j : slf4j-api jar 1.7.25
ch.qos.logback : logback-classic jar 1.1.11

provided (1)

Group / Artifact Type Version
org.openjdk.jmh : jmh-generator-annprocess jar 1.19

test (6)

Group / Artifact Type Version
org.awaitility : awaitility jar 3.0.0
org.assertj : assertj-core jar 2.6.0
nl.jqno.equalsverifier : equalsverifier jar 2.3.1
org.mockito : mockito-core jar 1.10.19
junit : junit jar 4.12
org.springframework : spring-test jar

Project Modules

There are no modules declared in this project.

apex-core

Various Java utilities

Build Status Coverage Status Maven Central Quality Gate Technical debt ratio javadoc.io Issues Forks Stars MIT License

Apex-java

Various utilities helping operating in Java on a daily basis.

Standard helpers

GCInspector is drop-in class providing standard logs related to GC activity

  @Bean
	public IApexThreadDumper apexThreadDumper() {
		return new ApexThreadDump(ManagementFactory.getThreadMXBean());
	}

	@Bean
	public GCInspector gcInspector(IApexThreadDumper apexThreadDumper) {
		return new GCInspector(apexThreadDumper);
	}

ApexLogHelper helps publishing relevant logs regarding memory and timings

  Assert.assertEquals("0.09%", ApexLogHelper.getNicePercentage(123, 123456).toString());
  
  
  Assert.assertEquals("9sec 600ms", ApexLogHelper.getNiceTime(9600).toString());
  Assert.assertEquals("2min 11sec", ApexLogHelper.getNiceTime(131, TimeUnit.SECONDS).toString());
  
  
  Assert.assertEquals("789B", ApexLogHelper.getNiceMemory(789L).toString());
  Assert.assertEquals("607KB", ApexLogHelper.getNiceMemory(789L * 789).toString());
  Assert.assertEquals("468MB", ApexLogHelper.getNiceMemory(789L * 789 * 789).toString());
  Assert.assertEquals("360GB", ApexLogHelper.getNiceMemory(789L * 789 * 789 * 789).toString());
  Assert.assertEquals("278TB", ApexLogHelper.getNiceMemory(789L * 789 * 789 * 789 * 789).toString());
  Assert.assertEquals("214PB", ApexLogHelper.getNiceMemory(789L * 789 * 789 * 789 * 789 * 789).toString());

Fancy helpers

ObjectInputHandlingInputStream enables transmitting a raw InputStream through an ObjectInput

ApexCartesianProductHelper helps computing covering cartesian products over sets defined by Collections and Maps.

ApexProcessHelper enables tracking the memory consumption of a process (would it be current JVM, a forked Process or any other process).

  ApexProcessHelper.getProcessResidentMemory(processPID)

Apex-MAT

A fork from Eclipse MAT for HeapDump analysis. It improves original MAT by lowering the heap required to prepare MAT index files, while keeping the produced indexes compatible with the original MAT.

Original work: https://git.eclipse.org/c/mat/org.eclipse.mat.git

Versions

Version
1.11
1.10
1.9