Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debounce classpath/source change events #916

Closed
fbricon opened this issue Jun 2, 2023 · 1 comment · Fixed by #959
Closed

Debounce classpath/source change events #916

fbricon opened this issue Jun 2, 2023 · 1 comment · Fixed by #959
Assignees
Labels
lsp4ij LSP client for IJ performance
Milestone

Comments

@fbricon
Copy link
Contributor

fbricon commented Jun 2, 2023

  • Clone https://github.com/quarkusio/registry.quarkus.io and open it in IJ
  • Open src/main/resources/application.properties (not sure it's necessary)
  • Open LSP consoles view / Tools for Microprofile, right click in console to clear all.
  • Open pom.xml
  • change <quarkus.version>3.1.0.Final</quarkus.version> to <quarkus.version>3.0.1.Final</quarkus.version>
  • save pom.xml
  • look at amount of requests in LSP console and weep.

59 microprofile/projectInfo requests
237 microprofile/propertiesChanged notifications

[Trace - 06:16:37 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:37 PM] Received request 'microprofile/projectInfo - (50)'.
[Trace - 06:16:37 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending response 'microprofile/projectInfo - (50)'. Processing request took 580ms
[Trace - 06:16:38 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Received request 'microprofile/projectInfo - (51)'.
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending response 'microprofile/projectInfo - (51)'. Processing request took 175ms
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Received request 'microprofile/projectInfo - (52)'.
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending response 'microprofile/projectInfo - (52)'. Processing request took 170ms
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Received request 'microprofile/projectInfo - (53)'.
[Trace - 06:16:38 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Sending response 'microprofile/projectInfo - (53)'. Processing request took 119ms
[Trace - 06:16:38 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:38 PM] Received request 'microprofile/projectInfo - (54)'.
[Trace - 06:16:38 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending response 'microprofile/projectInfo - (54)'. Processing request took 148ms
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Received request 'microprofile/projectInfo - (55)'.
[Trace - 06:16:39 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending response 'microprofile/projectInfo - (55)'. Processing request took 150ms
[Trace - 06:16:39 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Received request 'microprofile/projectInfo - (56)'.
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending response 'microprofile/projectInfo - (56)'. Processing request took 140ms
[Trace - 06:16:39 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Received request 'microprofile/projectInfo - (57)'.
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending response 'microprofile/projectInfo - (57)'. Processing request took 96ms
[Trace - 06:16:39 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Received request 'microprofile/projectInfo - (58)'.
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending response 'microprofile/projectInfo - (58)'. Processing request took 133ms
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Received request 'microprofile/projectInfo - (59)'.
[Trace - 06:16:39 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Sending response 'microprofile/projectInfo - (59)'. Processing request took 102ms
[Trace - 06:16:39 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:39 PM] Received request 'microprofile/projectInfo - (60)'.
[Trace - 06:16:39 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending response 'microprofile/projectInfo - (60)'. Processing request took 154ms
[Trace - 06:16:40 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Received request 'microprofile/projectInfo - (61)'.
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending response 'microprofile/projectInfo - (61)'. Processing request took 95ms
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Received request 'microprofile/projectInfo - (62)'.
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending response 'microprofile/projectInfo - (62)'. Processing request took 134ms
[Trace - 06:16:40 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Received request 'microprofile/projectInfo - (63)'.
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending response 'microprofile/projectInfo - (63)'. Processing request took 94ms
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Received request 'microprofile/projectInfo - (64)'.
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending response 'microprofile/projectInfo - (64)'. Processing request took 146ms
[Trace - 06:16:40 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Received request 'microprofile/projectInfo - (65)'.
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Sending response 'microprofile/projectInfo - (65)'. Processing request took 120ms
[Trace - 06:16:40 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:40 PM] Received request 'microprofile/projectInfo - (66)'.
[Trace - 06:16:40 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending response 'microprofile/projectInfo - (66)'. Processing request took 118ms
[Trace - 06:16:41 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Received request 'microprofile/projectInfo - (67)'.
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending response 'microprofile/projectInfo - (67)'. Processing request took 131ms
[Trace - 06:16:41 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Received request 'microprofile/projectInfo - (68)'.
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending response 'microprofile/projectInfo - (68)'. Processing request took 123ms
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Received request 'microprofile/projectInfo - (69)'.
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending response 'microprofile/projectInfo - (69)'. Processing request took 118ms
[Trace - 06:16:41 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Received request 'microprofile/projectInfo - (70)'.
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending response 'microprofile/projectInfo - (70)'. Processing request took 132ms
[Trace - 06:16:41 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Received request 'microprofile/projectInfo - (71)'.
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending response 'microprofile/projectInfo - (71)'. Processing request took 107ms
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Received request 'microprofile/projectInfo - (72)'.
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:41 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending response 'microprofile/projectInfo - (72)'. Processing request took 131ms
[Trace - 06:16:42 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received request 'microprofile/projectInfo - (73)'.
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending response 'microprofile/projectInfo - (73)'. Processing request took 97ms
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received request 'microprofile/projectInfo - (74)'.
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending response 'microprofile/projectInfo - (74)'. Processing request took 120ms
[Trace - 06:16:42 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received request 'microprofile/projectInfo - (75)'.
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending response 'microprofile/projectInfo - (75)'. Processing request took 94ms
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received request 'microprofile/projectInfo - (76)'.
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending response 'microprofile/projectInfo - (76)'. Processing request took 112ms
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received request 'microprofile/projectInfo - (77)'.
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending response 'microprofile/projectInfo - (77)'. Processing request took 84ms
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received request 'microprofile/projectInfo - (78)'.
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending response 'microprofile/projectInfo - (78)'. Processing request took 120ms
[Trace - 06:16:42 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Received request 'microprofile/projectInfo - (79)'.
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:42 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending response 'microprofile/projectInfo - (79)'. Processing request took 121ms
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:43 PM] Received request 'microprofile/projectInfo - (80)'.
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending response 'microprofile/projectInfo - (80)'. Processing request took 87ms
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received request 'microprofile/projectInfo - (81)'.
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending response 'microprofile/projectInfo - (81)'. Processing request took 99ms
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received request 'microprofile/projectInfo - (82)'.
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending response 'microprofile/projectInfo - (82)'. Processing request took 118ms
[Trace - 06:16:43 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received request 'microprofile/projectInfo - (83)'.
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending response 'microprofile/projectInfo - (83)'. Processing request took 116ms
[Trace - 06:16:43 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received request 'microprofile/projectInfo - (84)'.
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending response 'microprofile/projectInfo - (84)'. Processing request took 113ms
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received request 'microprofile/projectInfo - (85)'.
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending response 'microprofile/projectInfo - (85)'. Processing request took 103ms
[Trace - 06:16:43 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Received request 'microprofile/projectInfo - (86)'.
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:43 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending response 'microprofile/projectInfo - (86)'. Processing request took 115ms
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Received request 'microprofile/projectInfo - (87)'.
[Trace - 06:16:44 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending response 'microprofile/projectInfo - (87)'. Processing request took 91ms
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Received request 'microprofile/projectInfo - (88)'.
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending response 'microprofile/projectInfo - (88)'. Processing request took 115ms
[Trace - 06:16:44 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Received request 'microprofile/projectInfo - (89)'.
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending response 'microprofile/projectInfo - (89)'. Processing request took 128ms
[Trace - 06:16:44 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Received request 'microprofile/projectInfo - (90)'.
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending response 'microprofile/projectInfo - (90)'. Processing request took 99ms
[Trace - 06:16:44 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Received request 'microprofile/projectInfo - (91)'.
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending response 'microprofile/projectInfo - (91)'. Processing request took 119ms
[Trace - 06:16:44 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Received request 'microprofile/projectInfo - (92)'.
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending response 'microprofile/projectInfo - (92)'. Processing request took 99ms
[Trace - 06:16:44 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Received request 'microprofile/projectInfo - (93)'.
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:44 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending response 'microprofile/projectInfo - (93)'. Processing request took 116ms
[Trace - 06:16:45 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Received request 'microprofile/projectInfo - (94)'.
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending response 'microprofile/projectInfo - (94)'. Processing request took 91ms
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Received request 'microprofile/projectInfo - (95)'.
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending response 'microprofile/projectInfo - (95)'. Processing request took 128ms
[Trace - 06:16:45 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Received request 'microprofile/projectInfo - (96)'.
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending response 'microprofile/projectInfo - (96)'. Processing request took 139ms
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Received request 'microprofile/projectInfo - (97)'.
[Trace - 06:16:45 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending response 'microprofile/projectInfo - (97)'. Processing request took 112ms
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Received request 'microprofile/projectInfo - (98)'.
[Trace - 06:16:45 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending response 'microprofile/projectInfo - (98)'. Processing request took 147ms
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Received request 'microprofile/projectInfo - (99)'.
[Trace - 06:16:45 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Sending response 'microprofile/projectInfo - (99)'. Processing request took 89ms
[Trace - 06:16:45 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:45 PM] Received request 'microprofile/projectInfo - (100)'.
[Trace - 06:16:45 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending response 'microprofile/projectInfo - (100)'. Processing request took 147ms
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Received request 'microprofile/projectInfo - (101)'.
[Trace - 06:16:46 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending response 'microprofile/projectInfo - (101)'. Processing request took 104ms
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Received request 'microprofile/projectInfo - (102)'.
[Trace - 06:16:46 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending response 'microprofile/projectInfo - (102)'. Processing request took 122ms
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Received request 'microprofile/projectInfo - (103)'.
[Trace - 06:16:46 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending response 'microprofile/projectInfo - (103)'. Processing request took 95ms
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Received request 'microprofile/projectInfo - (104)'.
[Trace - 06:16:46 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending response 'microprofile/projectInfo - (104)'. Processing request took 127ms
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Received request 'microprofile/projectInfo - (105)'.
[Trace - 06:16:46 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending response 'microprofile/projectInfo - (105)'. Processing request took 104ms
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Received request 'microprofile/projectInfo - (106)'.
[Trace - 06:16:46 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Sending response 'microprofile/projectInfo - (106)'. Processing request took 108ms
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:46 PM] Received request 'microprofile/projectInfo - (107)'.
[Trace - 06:16:46 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:46 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:47 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:47 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:47 PM] Sending response 'microprofile/projectInfo - (107)'. Processing request took 96ms
[Trace - 06:16:47 PM] Received notification 'textDocument/publishDiagnostics'
[Trace - 06:16:47 PM] Sending notification 'microprofile/propertiesChanged'
[Trace - 06:16:47 PM] Received request 'microprofile/projectInfo - (108)'.
[Trace - 06:16:47 PM] Sending response 'microprofile/projectInfo - (108)'. Processing request took 82ms
[Trace - 06:16:47 PM] Received notification 'textDocument/publishDiagnostics'
@fbricon fbricon added lsp4ij LSP client for IJ performance labels Jun 2, 2023
@fbricon fbricon changed the title Unreasonable amount of requests send when saving pom.xml file Unreasonable amount of requests sent when saving pom.xml file Jun 2, 2023
@angelozerr
Copy link
Contributor

Wow its so awfull! I think if you have a properties file which is opened, perfromance should be very bad, because it will compute sfor each peropertiesChanged the MP+Quarkus properties which can take some times since cancel is not managed.

The first step to fix this issue is to:

  • detect when classpath changed isfinished (is it possible)
  • if it is not possible, I think we could send the propertiesChanged event with a timer. When a new library is updated we reinit the timer.

@fbricon fbricon moved this to Todo in IntelliJ Quarkus Jun 9, 2023
@angelozerr angelozerr self-assigned this Jun 14, 2023
@angelozerr angelozerr moved this to 📋 Backlog in IDE Cloudaptors Jun 14, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
@angelozerr angelozerr changed the title Unreasonable amount of requests sent when saving pom.xml file Debounce classpath/source change events Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
@angelozerr angelozerr added this to the 1.21.0 milestone Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 16, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 19, 2023
@angelozerr angelozerr moved this from Todo to In Progress in IntelliJ Quarkus Jun 19, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 19, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 19, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 19, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 20, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 20, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 20, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 20, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 20, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 21, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 21, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 21, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 21, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 21, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 21, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit to angelozerr/intellij-quarkus that referenced this issue Jun 22, 2023
angelozerr added a commit that referenced this issue Jun 23, 2023
Fixes #916

Signed-off-by: azerr <azerr@redhat.com>
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in IDE Cloudaptors Jun 23, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in IntelliJ Quarkus Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lsp4ij LSP client for IJ performance
Projects
Archived in project
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants