article thumbnail

Heap Memory In Java Applications Performance Testing

DZone

Does every performance engineer need to know about how memory in Java works? To completely fine-tune the java performance bottlenecks for high performance my answer is YES. Java has automatic memory management, a garbage collector that works in the background to clean up the unused/unreferenced objects and free up some memory.

Java 305
article thumbnail

Java vs. Go Microservices - Load testing (Rematch)

DZone

We started reading official documentation, tutorials, blog posts and articles about Go, especially ones where authors shared their experiences of migration from Java to Go or comparison Java with Go, as at that moment, we'd been using Java for 15+ years.

Java 295
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Java memory optimizations: 3x Jenkins performance improvement with Dynatrace

Dynatrace

But let’s start from the beginning: Step #1 – Switching to Java 11. In order to leverage the new Memory Profiling feature I’s necessary that you upgrade to Java 11 as this version introduces new capabilities ( JEP 331 ) that allow tool vendors like Dynatrace to capture memory allocation information at run-time with zero overhead.

Java 332
article thumbnail

Java Unit Testing Best Practices: How to Get the Most Out of Your Test Automation

DZone

Unit testing is a well-known practice, but there's lots of room for improvement! In this post, the most effective unit testing best practices, including approaches for maximizing your automation tools along the way. We will also discuss code coverage, mocking dependencies, and overall testing strategies. What is Unit Testing?

article thumbnail

Unit Testing Log Messages Made Easy

DZone

As a Java Developer, we need to cover a lot of scenarios to ensure the quality of our software and catch bugs as soon as possible when introducing a new code. For 99% of all my use cases AssertJ, Junit, Mockito, and Wiremock are sufficient enough do cover the test cases.

Testing 360
article thumbnail

SKP's Java/Java EE Gotchas: Clash of the Titans, C++ vs. Java!

DZone

Considering all aspects and needs of current enterprise development, it is C++ and Java which outscore the other in terms of speed. So much for my blog title :-) So when these titans are pit against each other in real-time, considering all aspects of memory and execution time — Java is floored. JAVA SOLUTION (Will Be Uploaded Later).

Java 214
article thumbnail

Fighting Fragility With Property-Based Testing

DZone

Property-based testing (PBT) is such an established technology and it deserves more attention. Java has the Jqwik library, Scala has ScalaCheck and Python has Hypothesis. You encounter some seemingly cutting-edge new tool only to learn it has been around for decades, sometimes inspired by research papers from 1970.

Testing 346