Package org.teavm.perf
package org.teavm.perf
-
ClassDescriptionCompiles benchmarks for a particular TeaVM backend and runs them.Replaces native methods of
BenchmarkEntryPointwith code that creates states, sets parameters, calls setup/teardown methods and the benchmark method itself.State shared by all compilations: class model, class loader, compiler settings, etc.Describes a single method marked with JMH's@Benchmarkannotation and settings that are specified via annotations.Subset of JMH benchmark modes supported by TeaVM benchmark runner.Settings that override settings given by annotations, usually specified via command line.Result of running a single benchmark with particular mode and parameters, either obtained by running benchmark or read from a JMH JSON file.Compiles benchmarks for each of the given backends, runs them and collects results.Finds benchmarks in given classes and extracts information from JMH annotations.Runs benchmarks in a browser usingBrowserRunner.Compiles benchmarks to C, then compiles C code to an executable and runs it.Lists names of classes in directories and JAR files.Settings of warmup or measurement phase.Replaces JMH'sorg.openjdk.jmh.infra.BlackholewithTBlackhole.Describes a field marked with JMH's@Paramannotation.Command line entry point of the benchmark runner.Utilities for formatting scores and converting them between units likens/oporops/s.Describes either a class marked with JMH's@Stateannotation, or a benchmark class itself.Computes the same statistics that JMH reports: mean, error at 99.9% confidence level using Student's t-distribution, and percentiles.