YoVDO

Lambda Performance Optimization in Java

Offered By: Java via YouTube

Tags

Java Courses Lazy Evaluation Courses Lambda Expressions Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore lambda performance in Java with Sergey Kuksenko in this 44-minute conference talk. Dive into various aspects of lambda expressions, including linkage, non-capture and capture scenarios, invocation, inlining, and scalar replacement. Learn about benchmarking techniques, analyze assembly code, and understand the main contributors to lambda performance. Compare lazy and eager evaluation strategies, and gain insights into potential pitfalls of microbenchmarks. Discover how lambda chains and anonymous chains affect performance, and examine the impact of lambda's slow warm-up on time-to-performance metrics.

Syllabus

Intro
Lambda: performance
Lambda: SUT
Linkage: How?
Linkage: What?
Linkage: lambda chain
Linkage: anonymous chain
Linkage: benchmark
Linkage: results (cold)
Linkage: Main contributors (lambda)
Non-capture lambda: benchmarks
Capture: results
Capture: exploring asm
Capture: benchmark
Capture: chain results
Capture: beware of microbenchmarks
Capture: LF's inline tree
Capture: lambda slow warmup
Capture: time-to-performance
Invocation: performance
Inline: benchmark
Scalar replacement: benchmark
Scalar replacement: results
Scalar replacement: asm
Lazy vs Eager: benchmark
Lazy vs Eager: results


Taught by

Java

Related Courses

Algorithms, Part I
Princeton University via Coursera
Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
MongoDB for Java Developers
MongoDB University
Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
Intro to Java Programming
San Jose State University via Udacity