Over a million developers have joined DZone.

Premature Optimization in Scala

· Performance Zone

Evolve your approach to Application Performance Monitoring by adopting five best practices that are outlined and explored in this e-book, brought to you in partnership with BMC.


Erik Osheim, Senior R&D Engineer at Precog, delivers a talk focusing on low-level optimization in Scala and strategies to help the JVM run faster. Sounds simple enough, but as Erik mentions it often gets more complicated.

This talk, for the Northeast Scala Symposium, provides tips to avoid "premature optimization." John address, and creates solutions for, many issues that can arise. Some of these topics include:

HotSpots
Arrays
Specialization successes (& failures)
Boxing & GC pressure
Inlining limitations
Reading Java Bytecode
Profiling & benchmarking

 

Learn tips and best practices for optimizing your capacity management strategy with the Market Guide for Capacity Management, brought to you in partnership with BMC.

Topics:

Published at DZone with permission of Allen Coin. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}