You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -88,11 +87,11 @@ public void Handle(BenchmarkSignal signal)
88
87
return;
89
88
}
90
89
91
-
foreach(varhandlerinhandlers)
90
+
foreach(varrouterinrouters)
92
91
{
93
-
if(handler.RunMode==runMode)
92
+
if(router.runMode==runMode)
94
93
{
95
-
handler.Handle(signal,parameters);
94
+
router.handler.Handle(signal,parameters);
96
95
}
97
96
}
98
97
@@ -101,19 +100,19 @@ public void Handle(BenchmarkSignal signal)
101
100
return;
102
101
}
103
102
104
-
foreach(varhandlerinhandlers)
103
+
foreach(varrouterinrouters)
105
104
{
106
-
if(handler.RunMode!=runMode)
105
+
if(router.runMode!=runMode)
107
106
{
108
107
continue;
109
108
}
110
109
111
-
varresults=handler.SerializeResults();
110
+
varresults=router.handler.SerializeResults();
112
111
// Send header with the diagnoser index for routing, and line count of payload (user handler may include newlines in their serialized results).
113
112
// Ideally we would simply use results.Length, write it directly to host, then the host reads the exact count of chars.
114
113
// But WasmExecutor does not use Broker, and reads all output, so we need to instead use line count and prepend every line with CompositeInProcessDiagnoser.ResultsKey.
Copy file name to clipboardExpand all lines: src/BenchmarkDotNet/Templates/BenchmarkType.txt
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,7 @@
22
22
return;
23
23
24
24
BenchmarkDotNet.Diagnosers.CompositeInProcessDiagnoserHandler compositeInProcessDiagnoserHandler = new BenchmarkDotNet.Diagnosers.CompositeInProcessDiagnoserHandler(
25
-
new BenchmarkDotNet.Diagnosers.IInProcessDiagnoserHandler[]
26
-
{
25
+
new BenchmarkDotNet.Diagnosers.InProcessDiagnoserRouter[] {
0 commit comments