package org.cache2k.benchmark;

/*
 * #%L
 * Benchmarks: Eviction variants, benchmark harness
 * %%
 * Copyright (C) 2013 - 2021 headissue GmbH, Munich
 * %%
 * 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.
 * #L%
 */

import org.cache2k.benchmark.traces.Traces;

/**
 * @author Jens Wilke
 */
public class TraceCollections {

	public final static EvictionTestVariation.Builder ALL_TRACES =
		new EvictionTestVariation.Builder()
			.add(Traces.SPRITE)
			.add(Traces.CPP)
			.add(Traces.MULTI2)
			.add(Traces.GLIMPSE)
			.add(Traces.OLTP)
			.add(Traces.ORM_BUSY)
			.add(Traces.ORM_NIGHT)
			.add(Traces.WEB07)
			.add(Traces.WEB12)
			.add(Traces.FINANCIAL1)
			.add(Traces.FINANCIAL2)
			.add(Traces.WEBSEARCH1)
			/* we don't use these traces, too big
			.add(Traces.WEBSEARCH2)
			.add(Traces.WEBSEARCH3)
			 */
			.add(Traces.SCARAB_PRODS)
			.add(Traces.SCARAB_RECS)
			.add(Traces.CORDA_SMALL)
			.add(Traces.CORDA_SMALL_10X)
			.add(Traces.CORDA_LOOP_CORDA)
			.add(Traces.LOOP)
			.add(Traces.WIKIPEDIA1)
			.add(Traces.ZIPFIAN_900_3M)
			// .add(Traces.ZIPFIAN_900_1M)
			.add(Traces.ZIPFIAN_10K_10M)
			// .add(Traces.ZIPFIAN_10K_3M)
			.add(Traces.RANDOM_1000_1M)
			// .add(Traces.RANDOM_1000_100K)
			// .add(Traces.RANDOM_1000_10K)
			;

}

@@ -841,20 +841,20 @@
 lic 
-final 
 static
+ final
  Evi
@@ -1755,12 +1755,953 @@
 0K)%0A
-
 %09%09%09;%0A%0A
+%09public static final EvictionTestVariation.Builder REGRESSION_TRACES =%0A%09%09new EvictionTestVariation.Builder()%0A%09%09%09.add(Traces.SPRITE)%0A%09%09%09.add(Traces.CPP)%0A%09%09%09.add(Traces.MULTI2)%0A%09%09%09.add(Traces.GLIMPSE)%0A%09%09%09.add(Traces.OLTP)%0A%09%09%09.add(Traces.ORM_BUSY)%0A%09%09%09.add(Traces.ORM_NIGHT)%0A%09%09%09.add(Traces.WEB07)%0A%09%09%09.add(Traces.WEB12)%0A%09%09%09.add(Traces.FINANCIAL1_1M)%0A%09%09%09.add(Traces.FINANCIAL2_1M)%0A%09%09%09.add(Traces.WEBSEARCH1_1M)%0A%09%09%09/* we don't use these traces, too big%0A%09%09%09.add(Traces.WEBSEARCH2)%0A%09%09%09.add(Traces.WEBSEARCH3)%0A%09%09%09 */%0A%09%09%09.add(Traces.SCARAB_PRODS)%0A%09%09%09.add(Traces.SCARAB_RECS)%0A%09%09%09.add(Traces.CORDA_SMALL)%0A%09%09%09.add(Traces.CORDA_SMALL_10X)%0A%09%09%09.add(Traces.CORDA_LOOP_CORDA)%0A%09%09%09.add(Traces.LOOP)%0A%09%09%09.add(Traces.WIKIPEDIA1)%0A%09%09%09.add(Traces.ZIPFIAN_900_3M)%0A%09%09%09// .add(Traces.ZIPFIAN_900_1M)%0A%09%09%09.add(Traces.ZIPFIAN_10K_10M)%0A%09%09%09// .add(Traces.ZIPFIAN_10K_3M)%0A%09%09%09.add(Traces.RANDOM_1000_1M)%0A%09%09// .add(Traces.RANDOM_1000_100K)%0A%09%09// .add(Traces.RANDOM_1000_10K)%0A%09%09;%0A%0A
 %7D%0A

set of regresion tests