Class Benchmark

java.lang.Object
java.lang.Thread
overit.geocall.ux.util.Benchmark
All Implemented Interfaces:
Runnable

public class Benchmark extends Thread
  • Field Details

    • _clicks

      protected static int[][] _clicks
    • _download

      protected static long[][] _download
    • _program

      protected static ArrayList _program
    • _urls

      protected static int _urls
    • _id

      protected int _id
  • Constructor Details

    • Benchmark

      public Benchmark(int id)
  • Method Details

    • loadProgram

      protected static int loadProgram() throws Exception
      Throws:
      Exception
    • executeProgramEntry

      protected void executeProgramEntry(org.apache.http.impl.client.CloseableHttpClient hc, Benchmark.ProgramEntry pe) throws IOException
      Throws:
      IOException
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • getCloseableHttpClient

      protected org.apache.http.impl.client.CloseableHttpClient getCloseableHttpClient(org.apache.http.client.config.RequestConfig requestConfig)
    • registerTime

      protected static void registerTime(int thread, int url, long time)
    • out

      protected static void out()
    • main

      public static void main(String[] ss) throws Exception
      Throws:
      Exception