<commit_before>/*
 * Copyright (C) 2014 <NAME> (<EMAIL>)
 *
 * Licensed 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 objectpoolbenchmark.suite;

import java.util.concurrent.TimeUnit;

import nf.fr.eraasoft.pool.PoolSettings;
import nf.fr.eraasoft.pool.impl.PoolControler;
import org.apache.commons.pool.impl.GenericObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import org.openjdk.jmh.annotations.*;
import stormpot.*;
import objectpoolbenchmark.suite.commonspool.MyCommonsObject;
import objectpoolbenchmark.suite.commonspool.MyPoolableObjectFactory;
import objectpoolbenchmark.suite.commonspool2.MyCommons2Object;
import objectpoolbenchmark.suite.commonspool2.MyPooledObjectFactory;
import objectpoolbenchmark.suite.furious.MyFuriousObject;
import objectpoolbenchmark.suite.furious.MyPoolableObject;
import objectpoolbenchmark.suite.stormpot.GenericAllocator;
import objectpoolbenchmark.suite.stormpot.GenericPoolable;
import stormpot.bpool.BlazePool;
import stormpot.qpool.QueuePool;

@State(Scope.Benchmark)
public abstract class ClaimRelease
{
  protected static final int poolSize = Integer.getInteger("pool.size", 10);
  protected static final int objsToClaim = Integer.getInteger("cycle.claim.count", 1);

  @Setup
  public abstract void preparePool() throws Exception;
<commit_msg>Humour IntelliJ with some reorganised imports<commit_after>/*
 * Copyright (C) 2014 <NAME> (<EMAIL>)
 *
 * Licensed 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 objectpoolbenchmark.suite;

import java.util.concurrent.TimeUnit;

import nf.fr.eraasoft.pool.PoolSettings;
import nf.fr.eraasoft.pool.impl.PoolControler;
import objectpoolbenchmark.suite.commonspool.MyCommonsObject;
import objectpoolbenchmark.suite.commonspool.MyPoolableObjectFactory;
import objectpoolbenchmark.suite.commonspool2.MyCommons2Object;
import objectpoolbenchmark.suite.commonspool2.MyPooledObjectFactory;
import objectpoolbenchmark.suite.furious.MyFuriousObject;
import objectpoolbenchmark.suite.furious.MyPoolableObject;
import objectpoolbenchmark.suite.stormpot.GenericAllocator;
import objectpoolbenchmark.suite.stormpot.GenericPoolable;
import org.apache.commons.pool.impl.GenericObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import org.openjdk.jmh.annotations.*;
import stormpot.*;
import stormpot.bpool.BlazePool;
import stormpot.qpool.QueuePool;

@State(Scope.Benchmark)
public abstract class ClaimRelease
{
  protected static final int poolSize = Integer.getInteger("pool.size", 10);
  protected static final int objsToClaim = Integer.getInteger("cycle.claim.count", 1);

  @Setup
  public abstract void preparePool() throws Exception;

{'fraction_non_alphanumeric': 0.08450704225352113, 'fraction_numerical': 0.008125677139761646, 'mean_word_length': 5.690217391304348, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4227273', 'n_tokens_mistral': 1056, 'n_tokens_neox': 1022, 'n_words': 297}