Class Benchmark
- java.lang.Object
-
- com.googlecode.javaewah.benchmark.Benchmark
-
public class Benchmark extends java.lang.Object
This class is used to benchmark the performance EWAH.- Author:
- Daniel Lemire
-
-
Constructor Summary
Constructors Constructor Description Benchmark()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
static void
test(int N, int nbr, int repeat)
static int[]
unite2by2(int[] set1, int[] set2)
Compute the union between two sorted arrays
-
-
-
Method Detail
-
unite2by2
public static int[] unite2by2(int[] set1, int[] set2)
Compute the union between two sorted arrays- Parameters:
set1
- first sorted arrayset2
- second sorted array- Returns:
- merged array
-
main
public static void main(java.lang.String[] args)
-
test
public static void test(int N, int nbr, int repeat)
-
-