Skip to content

Commit

Permalink
cleanup benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-git committed Oct 29, 2024
1 parent 68e66cc commit 03b695b
Show file tree
Hide file tree
Showing 6 changed files with 145 additions and 506 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,16 @@ class BatchBenchmark {
callAll[Batch_4_1_0](blackhole, of)
}

// @Benchmark
// def alternativeWithList(blackhole: Blackhole): Unit = {
// val of = Batch_4_1_0_Alternative_with_List.of
// callAll[Batch_4_1_0_Alternative_with_List](blackhole, of)
// }
//
// @Benchmark
// def alternativeWithListReversed(blackhole: Blackhole): Unit = {
// val of = Batch_4_1_0_Alternative_with_List_Reverse.of
// callAll[Batch_4_1_0_Alternative_with_List_Reverse](blackhole, of)
// }

// @Benchmark
// def alternativeWithVector(blackhole: Blackhole): Unit = {
// val of = Batch_4_1_0_Alternative_with_Vector.of
// callAll[Batch_4_1_0_Alternative_with_Vector](blackhole, of)
// }

// @Benchmark
// def alternativeWithGroupping(blackhole: Blackhole): Unit = {
// val of = Batch_4_1_0_Alternative_with_groupping.of
// callAll[Batch_4_1_0_Alternative_with_groupping](blackhole, of)
// }
@Benchmark
def alternativeWithVector(blackhole: Blackhole): Unit = {
val of = Batch_4_1_0_Alternative_with_Vector.of
callAll[Batch_4_1_0_Alternative_with_Vector](blackhole, of)
}

@Benchmark
def alternativeReversed(blackhole: Blackhole): Unit = {
val of = Batch_4_1_0_Alternative_reversed.of
callAll[Batch_4_1_0_Alternative_reversed](blackhole, of)
def alternative4_1_2(blackhole: Blackhole): Unit = {
val of = Batch_4_1_2.of
callAll[Batch_4_1_2](blackhole, of)
}

def callAll[T](blackhole: Blackhole, of: (Nel[ActionRecord[Action]]) => List[T]): Unit = {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 03b695b

Please sign in to comment.