- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Scala Compiler Performance Analysis
Not sure you all have seen this but we've been publishing a series of
articles on the performance analysis of the existing 2.9.1 scala
compiler code base. We did not set out to address all performance
concerns of the compiler but to look at the issues one has in measuring
(in our case metering) scala derived class bytecode. There has been a
lot said about complexity but rarely has this actually looked at how
does one make sense of the execution of such bytecode when traceability
back to source and constructs is not as easy as it has been in Java
itself with the mapping being explicit, direct and immediate. Definitely
an address that needs attention when production deployments grow bigger.
We should have the last 3 remaining parts published by Monday next week.
Hopefully the data that is presented will give you some direction in any
proposed tuning (or rewrite) efforts.
Case Study: Scala Compiler – Part 7
How to identify particular execution performance outliners assessing
differences and similarities.
Case Study: Scala Compiler – Part 6
How to manage performance measurement costs via inline optimizations and
Case Study: Scala Compiler – Part 5
How to eliminate noise or redundant data from a performance model whilst
Case Study: Scala Compiler – Part 4
How to effectively profile software balancing coverage, comprehension,
integrity and validity.
Case Study: Scala Compiler – Part 3
How to identify the major execution phases within a software’s execution
of a request, task or job.
Case Study: Scala Compiler – Part 2
How to identify the main execution path ways and perimeters in a very
large and complex code base.
Case Study: Scala’s Compiler – Part 1
How to analyze the performance behavior of software without actually
timing the execution of methods.
Case Study: Scala’s Compiler – A Preamble
An intro to a series of articles on the performance analysis of Scala’s
compiler in which problematic behavioral patterns are identified.