We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

The Missing Benchmark Metric: Memory Consumption

Formal Metadata

Title
The Missing Benchmark Metric: Memory Consumption
Title of Series
Number of Parts
561
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
When doing benchmarks we are usually interested in comparing the throughput of different solutions. However, when the code under investigation is not trivial, memory consumption may vary significantly, because using more memory to achieve better throughput is a typical design trade off. The talk discusses what memory metrics are more or less meaningful and what approaches can be used to track memory consumption alongside JMH benchmarks. A special focus will be given on dynamic effects on the interaction with the garbage collector and whether it is possible to get some stable benchmark results.