summaryrefslogtreecommitdiff
path: root/cli/lsp/performance.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-12-01 22:57:52 +0100
committerGitHub <noreply@github.com>2023-12-01 22:57:52 +0100
commitec0207e9b1cd61d2c14e36df43f56aa0bea56222 (patch)
tree47dcaae43911b3fc12d0166b3eb7335f85ed9f95 /cli/lsp/performance.rs
parenta1d823e27d1b605b5658fddc1c9273667f0e9e84 (diff)
perf(lsp): better op performance logging (#21423)
Diffstat (limited to 'cli/lsp/performance.rs')
-rw-r--r--cli/lsp/performance.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/performance.rs b/cli/lsp/performance.rs
index c4e65aa3c..ffb6ed217 100644
--- a/cli/lsp/performance.rs
+++ b/cli/lsp/performance.rs
@@ -191,7 +191,7 @@ impl Performance {
"type": "measure",
"name": measure.name,
"count": measure.count,
- "duration": measure.duration.as_millis() as u32,
+ "duration": measure.duration.as_micros() as f64 / 1000.0,
})
);
let duration = measure.duration;