We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
view-metrics
1 parent b4cf816 commit d8c268dCopy full SHA for d8c268d
CHANGES.md
@@ -4,6 +4,10 @@
4
5
- Make `code-lens` for nested let bindings configurable (#1567)
6
7
+## Fixes
8
+
9
+- Improve precision of collected metrics timestamps. (#1565)
10
11
# 1.24.0
12
13
## Features
ocaml-lsp-server/src/document.ml
@@ -156,10 +156,10 @@ end = struct
156
let task =
157
match
158
Lev_fiber.Thread.task t.thread ~f:(fun () ->
159
- let start = Unix.time () in
+ let start = Unix.gettimeofday () in
160
let pipeline = make_pipeline () in
161
let res = Mpipeline.with_pipeline pipeline (fun () -> f pipeline) in
162
- let stop = Unix.time () in
+ let stop = Unix.gettimeofday () in
163
res, start, stop)
164
with
165
| Error `Stopped -> assert false
0 commit comments