Added cache.putAll benchmarks for offheap cache.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e04d83c4 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e04d83c4 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e04d83c4 Branch: refs/heads/ignite-1.9 Commit: e04d83c4911bbd3e18f03ee1e80a99cd49fae87f Parents: 1820eb3 Author: sboikov <[email protected]> Authored: Wed Jan 11 18:15:53 2017 +0300 Committer: sboikov <[email protected]> Committed: Wed Jan 11 18:15:53 2017 +0300 ---------------------------------------------------------------------- .../cache/IgnitePutAllOffHeapTxBenchmark.java | 30 -------------------- .../cache/IgnitePutAllTxOffHeapBenchmark.java | 30 ++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/e04d83c4/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutAllOffHeapTxBenchmark.java ---------------------------------------------------------------------- diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutAllOffHeapTxBenchmark.java b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutAllOffHeapTxBenchmark.java deleted file mode 100644 index 559f8e8..0000000 --- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutAllOffHeapTxBenchmark.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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. - */ - -package org.apache.ignite.yardstick.cache; - -import org.apache.ignite.IgniteCache; - -/** - * - */ -public class IgnitePutAllOffHeapTxBenchmark extends IgnitePutAllTxBenchmark { - /** {@inheritDoc} */ - @Override protected IgniteCache<Integer, Object> cache() { - return ignite().cache("tx-offheap"); - } -} http://git-wip-us.apache.org/repos/asf/ignite/blob/e04d83c4/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutAllTxOffHeapBenchmark.java ---------------------------------------------------------------------- diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutAllTxOffHeapBenchmark.java b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutAllTxOffHeapBenchmark.java new file mode 100644 index 0000000..1578b90 --- /dev/null +++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutAllTxOffHeapBenchmark.java @@ -0,0 +1,30 @@ +/* + * 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. + */ + +package org.apache.ignite.yardstick.cache; + +import org.apache.ignite.IgniteCache; + +/** + * + */ +public class IgnitePutAllTxOffHeapBenchmark extends IgnitePutAllTxBenchmark { + /** {@inheritDoc} */ + @Override protected IgniteCache<Integer, Object> cache() { + return ignite().cache("tx-offheap"); + } +}
