# 5 Mundane Java Performance Tips

DevFeed: [5 Mundane Java Performance Tips](<https://devfeed.tech/articles/5-mundane-java-performance-tips-25636.md>)

Original publisher: [Read original article](<https://richardstartin.github.io/posts/5-java-mundane-performance-tricks>)

Author: Richard Startin's Blog

Published: 2021-11-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Richard Startin's Blog](<https://devfeed.tech/sources/richard-startin-s-blog.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [Software](<https://devfeed.tech/topics/software.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [code](<https://devfeed.tech/tags/code.md>), [java](<https://devfeed.tech/tags/java.md>), [performance](<https://devfeed.tech/tags/performance.md>), [software](<https://devfeed.tech/tags/software.md>), [tips](<https://devfeed.tech/tags/tips.md>)

## AI overview

This article presents five practical tips for avoiding unnecessary performance slowdowns in Java software. It emphasizes measuring real bottlenecks before optimizing and explains how sizing HashMaps appropriately can avoid costly resizes.

## Source excerpt

Most of the time it isn't really necessary to optimise software, but this post contains 5 tips to avoid making software written in Java slower for the sake of it.