Skip to content

Commit

Permalink
Fix benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
mcimadamore committed May 15, 2024
1 parent d56a832 commit 3e0ffe9
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,24 +160,6 @@ public int segment_loop_nested_unaligned() {
return sum;
}

@Benchmark
public int segment_loop_nested() {
int sum = 0;
for (int i = 0; i < ELEM_SIZE; i++) {
sum += (int) VH_SEQ_INT.get(segment, (long) i);
}
return sum;
}

@Benchmark
public int segment_loop_nested_unaligned() {
int sum = 0;
for (int i = 0; i < ELEM_SIZE; i++) {
sum += (int) VH_SEQ_INT_UNALIGNED.get(segment, (long) i);
}
return sum;
}

@Benchmark
public int segment_loop_instance() {
int sum = 0;
Expand Down

0 comments on commit 3e0ffe9

Please sign in to comment.