Skip to content

Commit

Permalink
checkstyle fix+reduce test time
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Jan 15, 2024
1 parent bcbad4e commit 11d7061
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@

@State(Scope.Benchmark)
@Fork(value = 1)
@Warmup(iterations = 3, time = 3)
@Measurement(iterations = 10, time = 3)
@Warmup(iterations = 3, time = 2)
@Measurement(iterations = 3, time = 2)
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
public class ExpressionSelectorBenchmark
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ public Expr singleThreaded()
* FIXME: fill this in!
*/
@Immutable
abstract class CacheableConstantExpr<T> extends ConstantExpr<T>{
abstract class CacheableConstantExpr<T> extends ConstantExpr<T>
{

protected CacheableConstantExpr(ExpressionType outputType, T value)
{
Expand All @@ -141,7 +142,7 @@ public final ConstantExpr<T> singleThreaded()
return new ConstantExpr<T>(eval.type(), eval.value)
{
@Override
public final ExprEval<T> realEval()
public ExprEval<T> realEval()
{
return eval;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,8 @@ private static Set<String> map(
* FIXME
* @return
*/
default Expr singleThreaded() {
default Expr singleThreaded()
{
return this;
}
}

0 comments on commit 11d7061

Please sign in to comment.