flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gallenvara <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2853] [tests] Apply JMH on MutableHashT...
Date Tue, 20 Oct 2015 02:01:40 GMT
Github user gallenvara commented on a diff in the pull request:

    --- Diff: flink-benchmark/src/test/java/org/apache/flink/runtime/operators/hash/MutableHashTablePerformanceBenchmark.java
    @@ -0,0 +1,360 @@
    + * 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
    + * <p/>
    + * http://www.apache.org/licenses/LICENSE-2.0
    + * <p/>
    + * 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.
    + */
    +package org.apache.flink.runtime.operators.hash;
    +import java.io.IOException;
    +import java.util.List;
    +import java.util.concurrent.TimeUnit;
    +import org.apache.flink.api.common.typeutils.TypeComparator;
    +import org.apache.flink.api.common.typeutils.TypePairComparator;
    +import org.apache.flink.api.common.typeutils.TypeSerializer;
    +import org.apache.flink.core.memory.MemorySegment;
    +import org.apache.flink.runtime.io.disk.iomanager.IOManager;
    +import org.apache.flink.runtime.io.disk.iomanager.IOManagerAsync;
    +import org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable;
    +import org.apache.flink.runtime.memory.MemoryAllocationException;
    +import org.apache.flink.runtime.memory.MemoryManager;
    +import org.apache.flink.runtime.operators.testutils.DummyInvokable;
    +import org.apache.flink.runtime.operators.testutils.types.StringPair;
    +import org.apache.flink.runtime.operators.testutils.types.StringPairComparator;
    +import org.apache.flink.runtime.operators.testutils.types.StringPairPairComparator;
    +import org.apache.flink.runtime.operators.testutils.types.StringPairSerializer;
    +import org.apache.flink.util.MutableObjectIterator;
    +import org.junit.Assert;
    +import org.openjdk.jmh.annotations.*;
    +import org.openjdk.jmh.runner.Runner;
    +import org.openjdk.jmh.runner.options.Options;
    +import org.openjdk.jmh.runner.options.OptionsBuilder;
    +import static org.junit.Assert.fail;
    +public class MutableHashTablePerformanceBenchmark {
    --- End diff --
    This class is already under the `flink-benchmark` module.The package name is confused(same
as `flink-runtime` module in order to keep the structure), i will change the package name.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message