Index
All Classes and Interfaces|All Packages
B
- baselineStream(LongFunction<Long>, long) - Static method in class net.kolotyluk.loom.Experiment02_Throughput
C
- Context - Class in net.kolotyluk.loom
- Context() - Constructor for class net.kolotyluk.loom.Context
- count(LongFunction<Long>, Long) - Method in interface net.kolotyluk.loom.Experiment02_Throughput.Counter
D
- doubleIt - Static variable in class net.kolotyluk.loom.Experiment02_Throughput
- doubleItTransactionally - Static variable in class net.kolotyluk.loom.Experiment02_Throughput
E
- equals(Object) - Method in record class net.kolotyluk.loom.Lag
-
Indicates whether some other object is "equal to" this one.
- Experiment00_Introduction - Class in net.kolotyluk.loom
-
Introductory loom-lab Experiment
- Experiment00_Introduction() - Constructor for class net.kolotyluk.loom.Experiment00_Introduction
- Experiment01_Overview - Class in net.kolotyluk.loom
-
Project Loom Overview Experiment
- Experiment01_Overview() - Constructor for class net.kolotyluk.loom.Experiment01_Overview
- Experiment02_Throughput - Class in net.kolotyluk.loom
-
Experiment Suite 02 - Throughput
- Experiment02_Throughput() - Constructor for class net.kolotyluk.loom.Experiment02_Throughput
- Experiment02_Throughput.Counter - Interface in net.kolotyluk.loom
- Experiment03_Flow - Class in net.kolotyluk.loom
-
Flow Experiments
- Experiment03_Flow() - Constructor for class net.kolotyluk.loom.Experiment03_Flow
- Experiment04_HttpClient - Class in net.kolotyluk.loom
- Experiment04_HttpClient() - Constructor for class net.kolotyluk.loom.Experiment04_HttpClient
- Experiment10_PrimeStreams - Class in net.kolotyluk.loom
-
TODO - Experiment with Java Flow
- Experiment10_PrimeStreams() - Constructor for class net.kolotyluk.loom.Experiment10_PrimeStreams
- Experiment11_PrimeThreads - Class in net.kolotyluk.loom
-
TODO - Experiment with Java Flow
- Experiment11_PrimeThreads() - Constructor for class net.kolotyluk.loom.Experiment11_PrimeThreads
- Experiment90 - Class in net.kolotyluk.loom
-
Experiment Suite 02
- Experiment90() - Constructor for class net.kolotyluk.loom.Experiment90
- Experiment90_Orientation - Class in net.kolotyluk.loom
-
Experiment Suite 01 - Orientation
- Experiment90_Orientation() - Constructor for class net.kolotyluk.loom.Experiment90_Orientation
- Experiment91 - Class in net.kolotyluk.loom
-
Experiment Suite 03
- Experiment91() - Constructor for class net.kolotyluk.loom.Experiment91
- Experiment92 - Class in net.kolotyluk.loom
-
Structured Concurrency Experiment
- Experiment92() - Constructor for class net.kolotyluk.loom.Experiment92
F
- futurePrimes1(long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- futurePrimes12(long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- futurePrimes2(long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- futurePrimes22(long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- futurePrimes33(long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
G
- getDuration() - Method in record class net.kolotyluk.loom.Lag
-
Compute a random Duration, unless it's definite.
- getPrimes(List<Future<Long>>) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- getPrimes(List<Future<Long>>) - Static method in class net.kolotyluk.loom.Primes
H
- hashCode() - Method in record class net.kolotyluk.loom.Lag
-
Returns a hash code value for this object.
- HelloWorld - Class in net.kolotyluk.loom
-
https://wiki.openjdk.java.net/display/loom/Getting+started
- HelloWorld() - Constructor for class net.kolotyluk.loom.HelloWorld
I
- isPrime - Static variable in class net.kolotyluk.loom.Experiment02_Throughput
- isPrimeTransactionally - Static variable in class net.kolotyluk.loom.Experiment02_Throughput
L
- Lag - Record Class in net.kolotyluk.loom
-
Induced Lag
- Lag(Duration) - Constructor for record class net.kolotyluk.loom.Lag
-
Construct a Lag with a definite Duration.
- Lag(Duration, Duration) - Constructor for record class net.kolotyluk.loom.Lag
-
Creates an instance of a
Lag
record class.
M
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment00_Introduction
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment01_Overview
- main(String...) - Static method in class net.kolotyluk.loom.Experiment02_Throughput
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment03_Flow
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment04_HttpClient
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment11_PrimeThreads
- main(String...) - Static method in class net.kolotyluk.loom.Experiment90_Orientation
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment90
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment91
- main(String[]) - Static method in class net.kolotyluk.loom.Experiment92
- main(String[]) - Static method in class net.kolotyluk.loom.HelloWorld
- main2(String[]) - Static method in class net.kolotyluk.loom.Experiment04_HttpClient
- maximum() - Method in record class net.kolotyluk.loom.Lag
-
Returns the value of the
maximum
record component. - minimum() - Method in record class net.kolotyluk.loom.Lag
-
Returns the value of the
minimum
record component.
N
- net.kolotyluk.loom - package net.kolotyluk.loom
P
- parallelPrimes(long) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- parallelPrimes2(long) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- parallelStream(LongFunction<Long>, long) - Static method in class net.kolotyluk.loom.Experiment02_Throughput
- Primes - Class in net.kolotyluk.loom
- Primes() - Constructor for class net.kolotyluk.loom.Primes
- primeThreads(long, ExecutorService) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- primeThreads(long, ExecutorService) - Static method in class net.kolotyluk.loom.Experiment11_PrimeThreads
- primeThreadsOld(long, ExecutorService) - Static method in class net.kolotyluk.loom.Experiment11_PrimeThreads
S
- serialPrimes(long) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- serialPrimes2(long) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- sleep() - Method in record class net.kolotyluk.loom.Lag
-
Call
Thread.sleep(Duration)
for the chosen duration. - sleep(Consumer<InterruptedException>) - Method in record class net.kolotyluk.loom.Lag
-
Call
Thread.sleep(Duration)
for the chosen duration and handle any InterruptedException if, and only if an exceptionHandler is given. - structuredThreads(LongFunction<Long>, long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment02_Throughput
- suite1() - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- suite2() - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- suite3(long) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
-
primeThreads: threadMaximum = 499 primeThreads: threadMaximum = 499 primeThreads: threadMaximum = 256 primeThreads: threadMaximum = 149 to 1,000 to 10,000 to 10,000,000 tasks op/ms ratio tasks op/ms ratio tasks op/ms ratio virtualCachedThreadPool 499 79, 74, 5 6.329 3.224 3711 114, 113, 1 34.722 1.625 3103283 43308, 43128, 180 115.452 0.834 virtualThreadPerTaskExecutor 499 57, 57, 0 8.772 2.599 4906 76, 76, 0 65.789 13.894 3454111 36032, 35866, 166 138.765 31.616 platformCachedThreadPool 256 81, 80, 1 1.953 0.310 828 234, 233, 1 21.367 0.615 3690 36133, 35641, 492 138.378 1.198 platformThreadPerTaskExecutor 149 115, 115, 0 3.356 0.385 140 1049, 1048, 1 4.766 0.072 186 1139449, 1139315, 134 4.389 0.032 Prime numbers to 1,000 to 10,000 to 10,000,000 tasks op/ms ratio tasks op/ms ratio tasks op/ms ratio virtualCachedThreadPool 499 6.329 3.224 3711 34.722 1.625 3103283 115.452 0.834 virtualThreadPerTaskExecutor 499 8.772 2.599 4906 65.789 3.894 3454111 138.765 31.616 platformCachedThreadPool 256 1.953 0.310 828 21.367 0.615 3690 138.378 1.198 platformThreadPerTaskExecutor 149 3.356 0.385 140 4.766 0.072 186 4.389 0.032 primeThreads: threadMaximum = 3711 primeThreads: threadMaximum = 4906 primeThreads: threadMaximum = 828 primeThreads: threadMaximum = 140 virtualCachedThreadPool 114, 113, 1 virtualThreadPerTaskExecutor 76, 76, 0 platformCachedThreadPool 234, 233, 1 platformThreadPerTaskExecutor 1049, 1048, 1 primeThreads: threadMaximum = 3103283 primeThreads: threadMaximum = 3454111 primeThreads: threadMaximum = 3690 primeThreads: threadMaximum = 186 virtualCachedThreadPool 43308, 43128, 180 virtualThreadPerTaskExecutor 36032, 35866, 166 platformCachedThreadPool 36133, 35641, 492 platformThreadPerTaskExecutor 1139449, 1139315, 134
- suite3(long) - Static method in class net.kolotyluk.loom.Experiment11_PrimeThreads
- suite3Old(long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment11_PrimeThreads
-
Hello Prime Threads PID = 31560 CPU Cores = 12 Heap Size = 17179869184 ______________________________________________________________________________ primes to 1,000 primeThreads: threadMaximum = 12 primeThreads: threadMaximum = 3 primeThreads: threadMaximum = 1 primeThreads: threadMaximum = 3 virtualCachedThreadPool = 72, 67, 5 virtualFixedThreadPool = 6, 5, 1 virtualSingleThreadTaskExecutor = 4, 4, 0 virtualThreadPerTaskExecutor = 18, 18, 0 primes to 10,000 primeThreads: threadMaximum = 3 primeThreads: threadMaximum = 3 primeThreads: threadMaximum = 1 primeThreads: threadMaximum = 3 virtualCachedThreadPool = 78, 76, 2 virtualFixedThreadPool = 15, 14, 1 virtualSingleThreadTaskExecutor = 9, 8, 1 virtualThreadPerTaskExecutor = 36, 35, 1 primes to 10,000,000 primeThreads: threadMaximum = 11 primeThreads: threadMaximum = 11 primeThreads: threadMaximum = 1 primeThreads: threadMaximum = 12 virtualCachedThreadPool = 14338, 14167, 171 virtualFixedThreadPool = 3162, 3071, 91 virtualSingleThreadTaskExecutor = 9349, 9297, 52 virtualThreadPerTaskExecutor = 4124, 3939, 185 primes to 50,000,000 primeThreads: threadMaximum = 12 primeThreads: threadMaximum = 12 primeThreads: threadMaximum = 1 primeThreads: threadMaximum = 12 virtualCachedThreadPool = 96528, 95790, 738 virtualFixedThreadPool = 18029, 17619, 410 virtualSingleThreadTaskExecutor = 81046, 80751, 295 virtualThreadPerTaskExecutor = 40608, 39787, 821
T
- toString() - Method in record class net.kolotyluk.loom.Lag
-
Returns a string representation of this record class.
V
- virtualPrimes(long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
- virtualPrimes2(long, ThreadFactory) - Static method in class net.kolotyluk.loom.Experiment10_PrimeStreams
All Classes and Interfaces|All Packages