Commit c2224e6
authored
[chore] Fix BenchmarkProfilesUsage (#14215)
#### Description
The `Duration` and `SetDuration` methods were deprecated in #14188, and
their implementations are now no-ops, causing [a benchmark to
fail](https://github.com/open-telemetry/opentelemetry-collector/actions/runs/19668308741/job/56330560134).
I updated the benchmark to use `DurationNano` and `SetDurationNano`
instead.1 parent 482651b commit c2224e6
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | | - | |
201 | | - | |
| 201 | + | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
| 207 | + | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| |||
0 commit comments