Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
lptr committed Sep 3, 2024
1 parent f604495 commit 3b425f3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public void run(MavenScenarioDefinition scenario, InvocationSettings settings, C

Map<String, String> profileEnvironment;
SnapshotCapturingProfilerController controller;
// TODO This only works with Async profiler, since the only thing we call from the controller is stopSession()
// Capture this in the type hierarchy somehow
if (settings.getProfiler() instanceof InstrumentingProfiler) {
InstrumentingProfiler profiler = (InstrumentingProfiler) settings.getProfiler();
ScenarioSettings scenarioSettings = new ScenarioSettings(settings, scenario);
Expand Down

0 comments on commit 3b425f3

Please sign in to comment.