Class ThreadPoolBenchmark


  • public class ThreadPoolBenchmark
    extends java.lang.Object
    • Constructor Detail

      • ThreadPoolBenchmark

        public ThreadPoolBenchmark()
    • Method Detail

      • buildPool

        public void buildPool()
      • testFew

        public void testFew()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSome

        public void testSome()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMany

        public void testMany()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shutdownPool

        public void shutdownPool()
      • main

        public static void main​(java.lang.String[] args)
                         throws org.openjdk.jmh.runner.RunnerException
        Throws:
        org.openjdk.jmh.runner.RunnerException