dlang-community / DCD

The D Completion Daemon is an auto-complete program for the D programming language
GNU General Public License v3.0
349 stars 71 forks source link

avoid unnecessary O(n^2) work in localuse #768

Closed brianush1 closed 11 months ago

github-actions[bot] commented 11 months ago

DCD BUILD FAILED ❌ Basic dub build failed! Please check your changes again.

Build statistics:

 statistics (-before, +after)
 client size=1052640 bin/dcd-client
-server size=3102400 bin/dcd-server
-rough build time=65s
+server size=3102144 bin/dcd-server
+rough build time=66s

-DCD run_tests.sh   Elapsed (wall clock) time (h:mm:ss or m:ss): 0:08.06
-DCD run_tests.sh   Maximum resident set size (kbytes): 42908
+DCD run_tests.sh   Elapsed (wall clock) time (h:mm:ss or m:ss): 0:08.10
+DCD run_tests.sh   Maximum resident set size (kbytes): 35868

 short requests: (240x)
-    min request time =     0.013ms
-    10th percentile  =     0.138ms
-    median time      =     0.377ms
-    90th percentile  =     0.610ms
-    max request time =     1.589ms
+    min request time =     0.012ms
+    10th percentile  =     0.159ms
+    median time      =     0.385ms
+    90th percentile  =     0.648ms
+    max request time =     1.649ms

 long requests over 10ms: (51x)
-    min request time =    12.589ms
-    10th percentile  =    13.649ms
-    median time      =    15.329ms
-    90th percentile  =    19.476ms
-    max request time =    21.898ms
+    min request time =    13.402ms
+    10th percentile  =    14.791ms
+    median time      =    17.070ms
+    90th percentile  =    18.235ms
+    max request time =    22.464ms

 top 5 GC sources in server:
Full build output ``` DUB version 1.34.0, built on Oct 15 2023 LDC - the LLVM D compiler (1.35.0): based on DMD v2.105.2 and LLVM 16.0.6 built with LDC - the LLVM D compiler (1.35.0) Default target: x86_64-unknown-linux-gnu Host CPU: znver3 http://dlang.org - http://wiki.dlang.org/LDC Registered Targets: aarch64 - AArch64 (little endian) aarch64_32 - AArch64 (little endian ILP32) aarch64_be - AArch64 (big endian) amdgcn - AMD GCN GPUs arm - ARM arm64 - ARM64 (little endian) arm64_32 - ARM64 (little endian ILP32) armeb - ARM (big endian) avr - Atmel AVR Microcontroller bpf - BPF (host endian) bpfeb - BPF (big endian) bpfel - BPF (little endian) hexagon - Hexagon lanai - Lanai loongarch32 - 32-bit LoongArch loongarch64 - 64-bit LoongArch mips - MIPS (32-bit big endian) mips64 - MIPS (64-bit big endian) mips64el - MIPS (64-bit little endian) mipsel - MIPS (32-bit little endian) msp430 - MSP430 [experimental] nvptx - NVIDIA PTX 32-bit nvptx64 - NVIDIA PTX 64-bit ppc32 - PowerPC 32 ppc32le - PowerPC 32 LE ppc64 - PowerPC 64 ppc64le - PowerPC 64 LE r600 - AMD GPUs HD2XXX-HD6XXX riscv32 - 32-bit RISC-V riscv64 - 64-bit RISC-V sparc - Sparc sparcel - Sparc LE sparcv9 - Sparc V9 spirv32 - SPIR-V 32-bit spirv64 - SPIR-V 64-bit systemz - SystemZ thumb - Thumb thumbeb - Thumb (big endian) ve - VE wasm32 - WebAssembly 32-bit wasm64 - WebAssembly 64-bit x86 - 32-bit X86: Pentium-Pro and above x86-64 - 64-bit X86: EM64T and AMD64 xcore - XCore Upgrading project in /home/runner/work/DCD/DCD/ Not upgrading sub package in dsymbol Not upgrading sub package in common Note: specify -s to also upgrade sub packages. Warning Warning: License in sub-package dcd:dsymbol is different than its parent package, this is discouraged. Warning Invalid source/import path: /home/runner/work/DCD/DCD/bin Starting Performing "release" build using ldc2 for x86_64. Building msgpack-d 1.0.4: building configuration [default] ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): parameter `__anonymous_param` declared as `in` here Building dcd:common 0.16.0-beta.2+commit.19.g689e819: building configuration [library] Pre-build Running commands ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): parameter `__anonymous_param` declared as `in` here Building emsi_containers 0.9.0: building configuration [library] Building libdparse 0.23.0: building configuration [library] Building dcd:dsymbol 0.16.0-beta.2+commit.19.g689e819: building configuration [library] ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` Building dcd 0.16.0-beta.2+commit.19.g689e819: building configuration [client] ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): parameter `__anonymous_param` declared as `in` here Linking dcd-client Warning Warning: License in sub-package dcd:dsymbol is different than its parent package, this is discouraged. Starting Performing "release" build using ldc2 for x86_64. Building msgpack-d 1.0.4: building configuration [default] ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): parameter `__anonymous_param` declared as `in` here Building dcd:common 0.16.0-beta.2+commit.19.g689e819: building configuration [library] Pre-build Running commands ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): parameter `__anonymous_param` declared as `in` here Building emsi_containers 0.9.0: building configuration [library] Building libdparse 0.23.0: building configuration [library] Building dcd:dsymbol 0.16.0-beta.2+commit.19.g689e819: building configuration [library] ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` Building dcd 0.16.0-beta.2+commit.19.g689e819: building configuration [server] ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): parameter `__anonymous_param` declared as `in` here ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent` ../../../.dub/packages/emsi_containers/0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left` Linking dcd-server STAT:statistics (-before, +after) STAT:client size=1052640 bin/dcd-client STAT:server size=3102144 bin/dcd-server STAT:rough build time=66s STAT: Shutting down currently-running server... Running tests for unix sockets Starting server... Server is running unix:tc001: ... Pass unix:tc002: ... Pass unix:tc003: ... Pass unix:tc004: ... Pass unix:tc005: ... Pass unix:tc006: ... Pass unix:tc007: ... Pass unix:tc008: ... Pass unix:tc009: ... Pass unix:tc010: ... Pass unix:tc011: ... Pass unix:tc012: ... Pass unix:tc013: ... Pass unix:tc014: ... Pass unix:tc015: ... Pass unix:tc016: ... Pass unix:tc017: ... Pass unix:tc018: ... Pass unix:tc019: ... Pass unix:tc020: ... Pass unix:tc021: ... Pass unix:tc022: ... Pass unix:tc023: ... Pass unix:tc024: ... Pass unix:tc025: ... Pass unix:tc026: ... Pass unix:tc027: ... Pass unix:tc028: ... Pass unix:tc029: ... Pass unix:tc030: ... Pass unix:tc031: ... Pass unix:tc032: ... Pass unix:tc033: ... Pass unix:tc034: ... Pass unix:tc035: ... Pass unix:tc036: ... Pass unix:tc037: ... Pass unix:tc038: ... Pass unix:tc039: ... Pass unix:tc040: ... Pass unix:tc041: ... Pass unix:tc042: ... Pass unix:tc043: ... Pass unix:tc044: ... Pass unix:tc045: ... Pass unix:tc046: ... Pass unix:tc047: ... Pass unix:tc048: ... Pass unix:tc049: ... Pass unix:tc050: ... Pass unix:tc051: ... Pass unix:tc052: ... Pass unix:tc053: ... Pass unix:tc054: ... Pass unix:tc055: ... Pass unix:tc056: ... Pass unix:tc057: ... Pass unix:tc058: ... Pass unix:tc059: ... Pass unix:tc060: ... Pass unix:tc061: ... Pass unix:tc062: ... Pass unix:tc620: ... Pass unix:tc717: ... Pass unix:tc_access_modifiers: ... Pass unix:tc_accesschain_type: ... Pass unix:tc_anon_class: ... Pass unix:tc_anon_struct: ... Pass unix:tc_bang_op_or_template: ... Pass unix:tc_base_template_type: ... Pass unix:tc_body_var: ... Pass unix:tc_calltip_in_func: ... Pass unix:tc_casts: ... Pass unix:tc_char_dot: ... Pass unix:tc_complete_kw: ... Pass unix:tc_ctors: ... Pass unix:tc_currmod_fqn: ... Pass unix:tc_ditto_scopes: ... Pass unix:tc_empty_module: ... Pass 00000unix:tc_empty_requests: ... Pass unix:tc_erroneous_body_content: ... Pass unix:tc_extended_ditto: ... Pass unix:tc_extended_types: ... Pass unix:tc_if_auto_array: ... Pass unix:tc_if_var: ... Pass unix:tc_import_symbol_list: ... Pass unix:tc_incomplete_switch: ... Pass unix:tc_inlay_hints: ... Pass unix:tc_issue558: ... Pass unix:tc_locate_ufcs_function: ... Pass unix:tc_middle_of_utf: ... Pass unix:tc_module_scope_op: ... Pass unix:tc_named_mixin: ... Pass unix:tc_opaque_structs: ... Pass unix:tc_pointer_type_printing: ... Pass unix:tc_pointers: ... Pass import: /home/runner/work/DCD/DCD/tests/tc_recursive_public_import/testing unix:tc_recursive_public_import: ... Pass unix:tc_rm_import: ... Pass unix:tc_scope_mess: ... Pass unix:tc_selective_import_list: ... Pass unix:tc_super_scope: ... Pass unix:tc_template_bang_completion: ... Pass unix:tc_template_param_props: ... Pass unix:tc_traits: ... Pass unix:tc_typeof: ... Pass unix:tc_ufcs_alias_this_completion: ... Pass unix:tc_ufcs_array_type_completion: ... Pass unix:tc_ufcs_calltip_in_func: ... Pass unix:tc_ufcs_fundamental_types_completion: ... Pass unix:tc_ufcs_pointer_type_completion: ... Pass unix:tc_ufcs_string_and_string_literal_completion: ... Pass unix:tc_ufcs_struct_completion: ... Pass Total incompatible type combinations: 9946 unix:extra/tc_ufcs_all_kinds/: ... Pass Shutting down server... 113 tests passed and 0 failed. STAT:DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:08.10 STAT:DCD run_tests.sh Maximum resident set size (kbytes): 35868 STAT: STAT:short requests: (240x) STAT: min request time = 0.012ms STAT: 10th percentile = 0.159ms STAT: median time = 0.385ms STAT: 90th percentile = 0.648ms STAT: max request time = 1.649ms STAT: STAT:long requests over 10ms: (51x) STAT: min request time = 13.402ms STAT: 10th percentile = 14.791ms STAT: median time = 17.070ms STAT: 90th percentile = 18.235ms STAT: max request time = 22.464ms STAT: Warning Warning: License in sub-package dcd:dsymbol is different than its parent package, this is discouraged. Starting Performing "profile-gc" build using dmd for x86_64. Up-to-date msgpack-d 1.0.4: target for configuration [default] is up to date. Building dcd:common 0.16.0-beta.2+commit.19.g689e819: building configuration [library] Pre-build Running commands ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): parameter `__anonymous_param` declared as `in` here Up-to-date emsi_containers 0.9.0: target for configuration [library] is up to date. Up-to-date libdparse 0.23.0: target for configuration [library] is up to date. Building dcd:dsymbol 0.16.0-beta.2+commit.19.g689e819: building configuration [library] Building dcd 0.16.0-beta.2+commit.19.g689e819: building configuration [server] ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): parameter `__anonymous_param` declared as `in` here Linking dcd-server /usr/bin/ld: /home/runner/.dub/cache/dcd/0.16.0-beta.2+commit.19.g689e819/build/server-profile-gc-LFdbR08YQrlYFX6W8laeKA/dcd-server.o: in function `_D3std5array__T14arrayAllocImplVbi0TAS3dcd6common8messages20AutocompleteResponse10CompletionTmZQDcFNaNbmZQCr': /opt/hostedtoolcache/dc/dmd-2.106.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:1112: undefined reference to `_d_newarrayUTrace' /usr/bin/ld: /home/runner/.dub/cache/dcd/0.16.0-beta.2+commit.19.g689e819/build/server-profile-gc-LFdbR08YQrlYFX6W8laeKA/dcd-server.o: in function `_D3std5array__T14arrayAllocImplVbi0TAmTmZQBaFNaNbmZQp': /opt/hostedtoolcache/dc/dmd-2.106.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:1112: undefined reference to `_d_newarrayUTrace' /usr/bin/ld: ../../../.dub/cache/dcd/0.16.0-beta.2+commit.19.g689e819/+dsymbol/build/library-profile-gc-OMyDUfy9ut7-1-IL75Kv2A/libdcd_dsymbol.a(array_511_d2c.o): in function `_D3std5array__T14arrayAllocImplVbi0TAaTmZQBaFNaNbmZQp': /opt/hostedtoolcache/dc/dmd-2.106.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:1112: undefined reference to `_d_newarrayUTrace' /usr/bin/ld: ../../../.dub/cache/libdparse/0.23.0/build/library-profile-gc-Fn7XzYTYnLbUKR3vpVc_qA/libdparse.a(array_b1a_e25.o): in function `_D3std5array__T14arrayAllocImplVbi0TAAyaTmZQBcFNaNbmZQr': /opt/hostedtoolcache/dc/dmd-2.106.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:1112: undefined reference to `_d_newarrayUTrace' collect2: error: ld returned 1 exit status Error: linker exited with status 1 Error dmd failed with exit code 1. DCD BUILD FAILED Shutting down currently-running server... Running tests for unix sockets Starting server... Server isn't up yet. Sleeping for 1s Server isn't up yet. Sleeping for 2s Server isn't up yet. Sleeping for 4s Server isn't up yet. Sleeping for 8s Server isn't up yet. Sleeping for 16s unix:tc001: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc002: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc003: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc004: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc005: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc006: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc007: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc008: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc009: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc010: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc011: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc012: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc013: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc014: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc015: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc016: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc017: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc018: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc019: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc020: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc021: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc022: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc023: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc024: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc025: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc026: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc027: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc028: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc029: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc030: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc031: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... 0a1 > /imports/std/stdio.d 0 unix:tc032: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... 0a1,5 > stdin 5 > 5 > 21 > 27 > 33 unix:tc033: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... 0a1,3 > /imports/object.d 22 > 0 > 12 unix:tc034: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... 0a1 > 00000 \ No newline at end of file unix:tc035: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc036: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc037: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc038: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc039: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc040: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc041: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc042: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc043: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc044: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc045: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc046: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc047: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc048: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc049: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc050: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc051: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc052: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc053: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc054: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc055: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc056: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc057: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc058: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc059: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc060: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc061: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc062: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc620: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc717: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_access_modifiers: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_accesschain_type: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_anon_class: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_anon_struct: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_bang_op_or_template: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_base_template_type: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_body_var: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_calltip_in_func: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_casts: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_char_dot: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_complete_kw: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ctors: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_currmod_fqn: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ditto_scopes: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_empty_module: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_empty_requests: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_erroneous_body_content: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_extended_ditto: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_extended_types: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_if_auto_array: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_if_var: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_import_symbol_list: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_incomplete_switch: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_inlay_hints: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_issue558: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_locate_ufcs_function: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_middle_of_utf: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_module_scope_op: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_named_mixin: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_opaque_structs: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_pointer_type_printing: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_pointers: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... import: /home/runner/work/DCD/DCD/tests/tc_recursive_public_import/testing unix:tc_recursive_public_import: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_rm_import: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_scope_mess: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_selective_import_list: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_super_scope: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_template_bang_completion: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_template_param_props: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_traits: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_typeof: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ufcs_alias_this_completion: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ufcs_array_type_completion: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ufcs_calltip_in_func: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ufcs_fundamental_types_completion: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ufcs_pointer_type_completion: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ufcs_string_and_string_literal_completion: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... unix:tc_ufcs_struct_completion: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... Total incompatible type combinations: 9946 unix:extra/tc_ufcs_all_kinds/: ... Fail Server no longer running. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: Restarting server... Shutting down server... 0 tests passed and 113 failed. STDERR: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory STDOUT: STAT:top 5 GC sources in server: Missing profilegc.log file! Tail for stderr.txt: ./run_tests.sh: line 69: ../bin/dcd-server: No such file or directory ```
brianush1 commented 11 months ago

ok I guess this fails unit tests, but it works good enough for me locally

do with this knowledge what you will

rikkimax commented 11 months ago

From what I can see, it's chopping off the first entry.

I don't understand why it is doing it (I'm not familiar enough with the codebase to suggest anything), but there should be an easy solution to this problem.

WebFreak001 commented 11 months ago

it looks like locally it shouldn't work at all for you, all the local-use symbols should simply be gone after this.

I can add a flag to serve-d to disable this optional feature, it'll be called d.enableDCDHighlight which you can disable to remove the call to DCD here as well as d.enableFallbackHighlight which you can disable to remove parsing the module from serve-d for local highlight, which is used to highlight all functions return blocks, matching loops with continue/break as well as if/else if/else blocks and switch-case blocks.

brianush1 commented 11 months ago

yeah I realized later it's actually kinda completely broken, but ctrl+click to follow a symbol (which also calls localuse) was the thing I was trying to make fast, and that worked locally

WebFreak001 commented 11 months ago

ctrl-click as well as hovering over code should not use localUse, that's using the goto definition / "symbolLocation" CLI flag.

I have fixed your code, can you check if everything is still faster for you now? I'd merge this anyway, since it's a nice optimization, but now with the feature actually working again it would be nice to see how long it takes now compared to before.

brianush1 commented 11 months ago

ctrl-click as well as hovering over code should not use localUse

welp that's where dcd-server was getting stuck, might be something to look into then

also just recompiled with the latest changes, and yeah, the speed-ups are still the same, still takes like 6 seconds to go to a definition in my OpenGL bindings, which took idk how long before the speed-ups, given that I didn't wanna wait more than an hour to find out

WebFreak001 commented 11 months ago

definitely better, but yeah I should probably add a mutex in serve-d so it doesn't run this more than once in parallel and just discards cancelled requests.