commit | b34dbc8992cbd340601cb6e603bbfb758347450c | [log] [tgz] |
---|---|---|
author | Lee Rhodes <leerho@users.noreply.github.com> | Wed Feb 17 16:09:52 2021 -0800 |
committer | GitHub <noreply@github.com> | Wed Feb 17 16:09:52 2021 -0800 |
tree | 3779c5685625d3723d0e350a162dfaa3ab200cea | |
parent | 6145c5b0e4d6cee811ce64b8ede549d4e58deacc [diff] | |
parent | 35ac9004edd43ff76622be17982a0ca0a4900708 [diff] |
Merge pull request #53 from apache/req_sketch Req sketch
Please visit the main DataSketches website for more information.
If you are interested in making contributions to this site please see our Community page for how to contact us.
We define characterization as the task of comprehensively measuring accuracy or speed performance of our library. These characterization tests are often long running (some can run for days) and very resource intensive, which makes them unsuitable for including in unit tests. The code in this repository are some of the test suites we use to create some of the plots on our website and provide evidence for our speed and accuracy claims.
This code is shared here so that others can duplicate our own characterizations.
The code here is shared “as-is” and does not pretend to have the same level of quality as the primary repositories (java, pig, hive and vector). This code is not archived to Maven Central and will change from time-to-time as we grow these characterization suites.
This Java classes of this DataSketches component must be compiled using JDK 8.
This DataSketches component is structured as a Maven project and Maven is the recommended Build Tool.
There are two types of tests: normal unit tests and tests run by the strict profile.
To run normal unit tests:
$ mvn clean test
To run the strict profile tests:
$ mvn clean test -P strict
See the pom.xml for the top-level dependencies.
See the pom.xml file for test dependencies.
If you already have Eclipse you will need to install the CDT extensions, or you can install Eclipse with CDT only. We had to upgrade our Eclipse to the latest version before we could successfully install the CDT extensions.
We have found it convenient to setup two projects in Eclipse:
After your project is created, open Project Properties
C/C++ Build In this menu select Use default build command, Generate Makefiles automatically, and Expand Env. Variable Refs in Makefiles.
C/C++ General
After this setup you should be able to Build Project from the top-level Eclipse / Project Menu. You may need to unselect the Build Automatically option.