You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2021/02/17 22:21:31 UTC

[datasketches-characterization] branch master updated (03759d1 -> 6145c5b)

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-characterization.git.


    from 03759d1  Merge pull request #52 from apache/ReqExperiment
     new d97cc0d  update pom, add req pkg
     new 03baf87  update StreamMaker
     new 6145c5b  Merge branch 'master' of git@github.com:apache/datasketches-characterization.git

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-characterization] 02/03: update StreamMaker

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-characterization.git

commit 03baf87e1c205589a3b0cddab0175d57e18e38ff
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Feb 17 14:12:01 2021 -0800

    update StreamMaker
---
 .../characterization/quantiles/StreamMaker.java            | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/datasketches/characterization/quantiles/StreamMaker.java b/src/test/java/org/apache/datasketches/characterization/quantiles/StreamMaker.java
index b43570b..d3f2db8 100644
--- a/src/test/java/org/apache/datasketches/characterization/quantiles/StreamMaker.java
+++ b/src/test/java/org/apache/datasketches/characterization/quantiles/StreamMaker.java
@@ -37,7 +37,7 @@ public class StreamMaker {
   static final String LS = System.getProperty("line.separator");
   static String TAB = "\t";
   public enum Pattern { Sorted, Reversed, Zoomin, Zoomout, Random, Sqrt, FlipFlop,
-    Clustered, ClusteredZoomin }
+    Clustered, ClusteredZoomin, ZoominSqrt }
   public float min = 0;
   public float max = 0;
 
@@ -94,6 +94,18 @@ public class StreamMaker {
         }
         break;
       }
+      case ZoominSqrt: {
+        int t = (int)Math.floor(Math.sqrt(n));
+        int i = 0;
+        for (int j = 0; j < t - 1; j++) {
+          arr[i] = j + offset; i++;
+          for (int k = 0; k < t; k++) {
+            arr[i] = (t - j) * t - k - 1 + offset; i++;
+          }
+        }
+        arr[i] = t - 1 + offset;
+        break;
+      }
       case FlipFlop: {
         FlipFlopStream ffs = new FlipFlopStream(n, offset);
         ffs.flipFlop(1, 1, n * 2 / 5);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-characterization] 01/03: update pom, add req pkg

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-characterization.git

commit d97cc0da10d14816850323bc4c0846ce121693cd
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Feb 17 14:01:49 2021 -0800

    update pom, add req pkg
---
 pom.xml                                            | 57 ++++++++++++++++------
 .../characterization/req/package-info.java         | 24 +++++++++
 2 files changed, 67 insertions(+), 14 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1eede0d..283a35f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,6 +21,7 @@ under the License.
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -30,17 +31,14 @@ under the License.
   </parent>
 
   <groupId>org.apache.datasketches</groupId>
-
-  <!-- UNIQUE FOR THIS JAVA COMPONENT -->
   <artifactId>datasketches-characterization</artifactId>
   <version>1.0.0-SNAPSHOT</version>
-  <description>Characterization code for the DataSketches library.</description>
-  <!-- END: UNIQUE FOR THIS JAVA COMPONENT -->
+  <packaging>jar</packaging>
 
-  <url>https://datasketches.apache.org/</url>
   <name>${project.artifactId}</name>
+  <description>Characterization code for the DataSketches library.</description>  
+  <url>https://datasketches.apache.org/</url>  
   <inceptionYear>2015</inceptionYear>
-  <packaging>jar</packaging> <!-- jar is the default -->
 
   <mailingLists>
     <mailingList>
@@ -85,8 +83,8 @@ under the License.
 
   <properties>
     <!-- UNIQUE FOR THIS JAVA COMPONENT -->
-    <datasketches-memory.version>1.2.0-incubating</datasketches-memory.version>
-    <datasketches-java.version>1.3.0-incubating</datasketches-java.version>
+    <datasketches-memory.version>1.3.0</datasketches-memory.version>
+    <datasketches-java.version>2.0.0</datasketches-java.version>
     <druid-momentsketch.version>0.16.0-incubating</druid-momentsketch.version>
     <druid-histogram.version>0.16.0-incubating</druid-histogram.version>
     <druid-hll.version>0.16.0-incubating</druid-hll.version>
@@ -98,7 +96,7 @@ under the License.
     <testng.version>7.1.0</testng.version>
 
     <!-- System-wide properties -->
-    <maven.version>3.0.0</maven.version>
+    <maven.version>3.5.0</maven.version>
     <java.version>1.8</java.version>
     <maven.compiler.source>${java.version}</maven.compiler.source>
     <maven.compiler.target>${java.version}</maven.compiler.target>
@@ -108,8 +106,11 @@ under the License.
     <project.build.resourceEncoding>${charset.encoding}</project.build.resourceEncoding>
     <project.reporting.outputEncoding>${charset.encoding}</project.reporting.outputEncoding>
 
-    <!-- org.codehaus.plexus used for strict profile testing-->
-    <plexus-compiler-javac-errorprone.version>2.8.8</plexus-compiler-javac-errorprone.version>
+    <!-- org.codehaus plugins -->
+    <!-- used for strict profile testing-->
+    <plexus-compiler-javac-errorprone.version>2.8.5</plexus-compiler-javac-errorprone.version>
+    <versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
+
     <!--  Maven Plugins -->
     <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version> <!-- overrides parent -->
     <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> <!-- overrides parent -->
@@ -127,6 +128,7 @@ under the License.
     <!-- org.jacoco Maven Plugins -->
     <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version>
     <!-- org.eluder Maven Plugins -->
+    <coveralls-repo-token></coveralls-repo-token>
     <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
     <!-- other -->
     <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
@@ -227,6 +229,13 @@ under the License.
   <build>
     <pluginManagement>
       <plugins>
+
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>versions-maven-plugin</artifactId>
+          <version>${versions-maven-plugin.version}</version>
+        </plugin>
+
         <plugin>
           <!-- We want to deploy the artifacts to a staging location for perusal -->
           <!-- Apache Parent pom: apache-release profile -->
@@ -238,12 +247,14 @@ under the License.
             <!-- see maven-install-plugin -->
           </configuration>
         </plugin>
+
         <plugin>
           <!-- Apache Parent pom, pluginManagement-->
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-release-plugin</artifactId>
           <version>${maven-release-plugin.version}</version>
         </plugin>
+
         <plugin>
           <!-- Extends Apache Parent pom, pluginManagement-->
           <groupId>org.apache.maven.plugins</groupId>
@@ -252,18 +263,21 @@ under the License.
           <executions>
             <execution>
               <id>default-jar</id>
+              <phase>package</phase>
               <goals>
                 <goal>jar</goal>
               </goals>
             </execution>
             <execution>
               <id>default-test-jar</id>
+              <phase>package</phase>
               <goals>
                 <goal>test-jar</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
+
         <plugin>
           <!-- Extends Apache Parent pom, apache-release profile -->
           <groupId>org.apache.maven.plugins</groupId>
@@ -281,6 +295,7 @@ under the License.
             </execution>
           </executions>
         </plugin>
+
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-enforcer-plugin</artifactId>
@@ -311,6 +326,7 @@ under the License.
             </execution>
           </executions>
         </plugin>
+
         <plugin>
           <!-- Apache Parent pom, pluginManagement-->
           <groupId>org.apache.rat</groupId>
@@ -330,13 +346,16 @@ under the License.
             <useDefaultExcludes>true</useDefaultExcludes>
             <excludes>
               <!-- rat uses .gitignore for excludes by default -->
+              <exclude>**/*.yaml</exclude>
+              <exclude>**/*.yml</exclude>
+              <exclude>**/.*</exclude>
               <exclude>**/test/resources/**/*.txt</exclude>
-              <exclude>.asf.yaml</exclude>
               <exclude>LICENSE</exclude>
               <exclude>NOTICE</exclude>
             </excludes>
           </configuration>
         </plugin>
+
         <plugin>
           <!-- Extends Apache Parent pom, apache-release profile -->
           <groupId>org.apache.maven.plugins</groupId>
@@ -359,6 +378,7 @@ under the License.
             </execution>
           </executions>
         </plugin>
+
         <plugin>
           <!-- Apache Parent pom, pluginManagement-->
           <groupId>org.apache.maven.plugins</groupId>
@@ -370,6 +390,7 @@ under the License.
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
           </configuration>
         </plugin>
+
         <plugin>
           <!-- Generates code coverage report from website. -->
           <groupId>org.jacoco</groupId>
@@ -377,22 +398,30 @@ under the License.
           <version>${jacoco-maven-plugin.version}</version>
           <executions>
             <execution>
-              <id>prepare-agent</id>
+              <id>default-prepare-agent</id>
               <goals>
                 <goal>prepare-agent</goal>
               </goals>
             </execution>
+            <execution>
+              <id>default-report</id>
+              <goals>
+                <goal>report</goal>
+              </goals>
+            </execution>  
           </executions>
         </plugin>
+
         <plugin>
           <!-- Submit code coverage report to Coveralls.io. -->
           <groupId>org.eluder.coveralls</groupId>
           <artifactId>coveralls-maven-plugin</artifactId>
           <version>${coveralls-maven-plugin.version}</version>
           <configuration>
-            <!-- Since we use Travis CI we do not have to put a Coveralls token here. -->
+            <repoToken>${coveralls-repo-token}</repoToken>
           </configuration>
         </plugin>
+
       </plugins>
     </pluginManagement>
     <plugins>
diff --git a/src/main/java/org/apache/datasketches/characterization/req/package-info.java b/src/main/java/org/apache/datasketches/characterization/req/package-info.java
new file mode 100644
index 0000000..b5e8eb7
--- /dev/null
+++ b/src/main/java/org/apache/datasketches/characterization/req/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * @author Lee Rhodes
+ */
+
+package org.apache.datasketches.characterization.req;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-characterization] 03/03: Merge branch 'master' of git@github.com:apache/datasketches-characterization.git

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-characterization.git

commit 6145c5b0e4d6cee811ce64b8ede549d4e58deacc
Merge: 03baf87 03759d1
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Feb 17 14:19:50 2021 -0800

    Merge branch 'master' of git@github.com:apache/datasketches-characterization.git

 .../tuple/AodSketchUpdateSpeedProfile.java         |  76 +++++
 .../tuple/AodUnionUpdateSpeedProfile.java          |  88 ++++++
 .../resources/quantiles/ReqSketchAccuracyJob.conf  |  22 +-
 ...peedJob.conf => ReqSketchLongSizeSpeedJob.conf} |  24 +-
 .../resources/quantiles/ReqSketchSizeSpeedJob.conf |  18 +-
 .../quantiles/ReqSketchAccuracyProfile.java        | 348 +++++++++++++++++++++
 .../quantiles/ReqSketchAccuracyProfile2.java       | 243 ++++++++++++++
 .../quantiles/ReqSketchLongSizeSpeedProfile.java   | 177 +++++++++++
 .../quantiles/ReqSketchSizeSpeedProfile.java       | 186 +++++++++++
 9 files changed, 1152 insertions(+), 30 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org