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.
2 parents 24fa167 + 6c2814b commit 2ce7b9aCopy full SHA for 2ce7b9a
src/languageserverinstance.jl
@@ -413,7 +413,20 @@ function Base.run(server::LanguageServerInstance; timings = [])
413
414
add_timer_message!(did_show_timer, timings, msg)
415
416
+ tic = time_ns()
417
JSONRPC.dispatch_msg(server.jr_endpoint, msg_dispatcher, msg)
418
+ toc = time_ns()
419
+
420
+ duration = (toc - tic) / 1e+6
421
422
+ JSONRPC.send(
423
+ server.jr_endpoint,
424
+ telemetry_event_notification_type,
425
+ Dict(
426
+ "command" => "request_metric",
427
+ "name" => msg["method"],
428
+ "duration" => duration)
429
+ )
430
elseif message.type == :symservmsg
431
@debug "Received new data from Julia Symbol Server."
432
0 commit comments