Skip to content

Commit

Permalink
run benchee tests with the builtin profilers automatically as well
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Jan 5, 2025
1 parent 5565f25 commit b0b0003
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/benchee_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -925,8 +925,7 @@ defmodule BencheeTest do
assert output =~ end_of_profiling_regex(Profile.default_profiler())
end

@profilers [:cprof, :eprof, :fprof]
for profiler <- @profilers do
for profiler <- Benchee.Profile.builtin_profilers() do
@profiler profiler
test "integration profiling runs #{inspect(@profiler)} profiler" do
output =
Expand Down

0 comments on commit b0b0003

Please sign in to comment.