Commit eda84cf
authored
Use rspec hook filters to target flamegraph logic
The current RSpec hook always run and decides whether or not to flamegraph _inside_ the hook. That means it'll always show up on backtraces and does work. This change makes it so that it only runs when the metadata is set.1 parent fe7e630 commit eda84cf
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 4 | + | |
| 5 | + | |
10 | 6 | | |
11 | 7 | | |
0 commit comments