Skip to content

Commit

Permalink
fix metric
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemka374 committed May 14, 2024
1 parent 1ba1a57 commit bd4ad57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/tests/vm-benchmark/benches/diy_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ fn main() {
vm_benchmark::with_prometheus::with_prometheus(|| {
for (name, timings) in results {
for (i, timing) in timings.into_iter().enumerate() {
VM_BENCHMARK_METRICS.timing[&(name.clone(), i.to_string())]
.set(timing.as_secs_f64());
VM_BENCHMARK_METRICS.timing[&(name.clone(), i.to_string())].set(timing);
}
}
});
Expand Down

0 comments on commit bd4ad57

Please sign in to comment.