Package

com.twitter

concurrent

Permalink

package concurrent

Visibility
  1. Public
  2. All

Type Members

  1. class AsyncQueueBenchmark extends StdBenchAnnotations

    Permalink
    Annotations
    @State()
  2. class ConduitSpscBenchmark extends StdBenchAnnotations

    Permalink

    These benchmarks measure the overhead of various implementations of a conduit between a source: () => Future[Buf] and sink: Buf => Future[Unit].

    These benchmarks measure the overhead of various implementations of a conduit between a source: () => Future[Buf] and sink: Buf => Future[Unit].

    The steps are as follows:

    1. connect the source to the conduit 2. drain three items from the conduit into the sink

    The control benchmark measures the baseline when there is no conduit, i.e., the source feeds directly into the sink.

    Annotations
    @State()
  3. class OfferBenchmark extends AnyRef

    Permalink
    Annotations
    @OutputTimeUnit() @BenchmarkMode()
  4. class OnceBenchmark extends AnyRef

    Permalink
    Annotations
    @OutputTimeUnit() @BenchmarkMode()
  5. class SchedulerBenchmark extends AnyRef

    Permalink

    Measure Scheduler.submit/run time when there are multiple threads.

    Measure Scheduler.submit/run time when there are multiple threads. Previous to changing SampleScale from 50 to 1000, there was sometimes contention for the global threads lock in getCurrentThreadCpuTime().

    Annotations
    @OutputTimeUnit() @BenchmarkMode()

Value Members

  1. object OfferBenchmark

    Permalink
  2. object OnceBenchmark

    Permalink
  3. object SchedulerBenchmark

    Permalink

Ungrouped