package concurrent
- Alphabetic
- Public
- All
Type Members
-
class
AsyncQueueBenchmark extends StdBenchAnnotations
- Annotations
- @State() @Threads()
-
class
AsyncSemaphoreBenchmark extends StdBenchAnnotations
- Annotations
- @State() @Threads()
-
class
AsyncStreamBenchmark extends StdBenchAnnotations
- Annotations
- @State()
-
class
BrokerBenchmark extends StdBenchAnnotations
- Annotations
- @State()
-
class
ConduitSpscBenchmark extends StdBenchAnnotations
These benchmarks measure the overhead of various implementations of a conduit between a
source: () => Future[Buf]
andsink: Buf => Future[Unit]
.These benchmarks measure the overhead of various implementations of a conduit between a
source: () => Future[Buf]
andsink: 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()
-
class
OfferBenchmark extends AnyRef
- Annotations
- @OutputTimeUnit() @BenchmarkMode()
-
class
OnceBenchmark extends AnyRef
- Annotations
- @OutputTimeUnit() @BenchmarkMode()
-
class
SchedulerBenchmark extends AnyRef
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
- object OfferBenchmark
- object OnceBenchmark
- object SchedulerBenchmark