StatisticReport

enum StatisticReport : Enum<StatisticReport>

The statistic reports requested of the compiler:

  • L2Operations ~ The most time-intensive level-two operations

  • DynamicLookups ~ The most time-intensive dynamic method lookups.

  • Primitives ~ The primitives that are the most time-intensive to run overall.

  • PrimitiveReturnTypeChecks ~ The primitives that take the most time checking return types.

  • NonprimitiveReturnTypeChecks ~ Returns from non-primitives that had to check the return type.

Author

Leslie Schultz

Mark van Gulik

Parameters

title

The title of the statistic report.

Entries

Link copied to clipboard

Statistics for executing parsing instructions.

Link copied to clipboard

Statistics for type checking while parsing.

Link copied to clipboard

Statistics for expanding ParsingOperations.

Link copied to clipboard

A breakdown of the time spent in L2 optimization phases.

Link copied to clipboard

A breakdown of the time spent in L2 optimization phases.

Link copied to clipboard

Dimensionless values related to L2Chunk creation.

Link copied to clipboard

A breakdown of final generation phases of L2->JVM.

Link copied to clipboard

Reifications of the Java stack. See StackReifier.

Link copied to clipboard

The Primitives report.

Link copied to clipboard

A report of how long and deep dynamic lookups are.

Link copied to clipboard

The Primitive Return Type Checks report.

Link copied to clipboard

Non-primitive Return Type Checks report, organized by the returning raw function name. This collects contextual timings for non-primitive returns that had to check the type of the return result.

Link copied to clipboard

Non-primitive Return Type Checks report, organized by the raw function being returned into. This collects contextual timings for non-primitive returns that had to check the type of the return result.

Link copied to clipboard

Outermost statements of modules that are loaded.

Link copied to clipboard

Time spent updating text in workbench transcript.

Link copied to clipboard

Time spent serializing, by SerializerOperation.

Link copied to clipboard

Time spent serializing, by SerializerOperation.

Link copied to clipboard

Time spent deserializing, by SerializerOperation.

Link copied to clipboard

The estimated number of bytes allocated for descriptors with the given class name.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun clear()

Clear all my Statistics.

Link copied to clipboard
fun registerStatistic(statistic: Statistic): Boolean

Register a Statistic with this StatisticReport. This happens when the statistic is first created, as part of its constructor. Access to the List of statistics is synchronized on the list, to ensure atomic access among registrations and between registrations and enumeration of the list.

Link copied to clipboard
fun sortedPairs(): MutableList<Pair<String, PerInterpreterStatistic>>

Collect the aggregates of my statistics, filter out the ones with zero counts, then sort descending by their sums. Maintain names with the aggregated statistics as Pairs.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val title: String

The title of the StatisticReport.

Link copied to clipboard
val unit: ReportingUnit

The units which the contained reports use.