netbird/client/system
Maycon Santos 0f050e5fe1
[client] Optmize process check time (#3938)
This PR optimizes the process check time by updating the implementation of getRunningProcesses and introducing new benchmark tests.

Updated getRunningProcesses to use process.Pids() instead of process.Processes()
Added benchmark tests for both the new and the legacy implementations

Benchmark: https://github.com/netbirdio/netbird/actions/runs/15512741612

todo: evaluate windows optmizations and caching risks
2025-06-08 12:19:54 +02:00
..
detect_cloud Remove dns based cloud detection (#1812) 2024-04-09 19:01:31 +02:00
detect_platform Extend system meta (#1598) 2024-02-20 11:53:11 +01:00
info_android.go [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
info_darwin_test.go Handling invalid UTF-8 character in sys info (#2360) 2024-08-01 16:46:55 +02:00
info_darwin.go [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
info_freebsd.go [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
info_ios.go [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
info_linux.go [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
info_test.go [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
info_windows_test.go Extend system meta (#1598) 2024-02-20 11:53:11 +01:00
info_windows.go [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
info.go [client] Fix macos privacy warning when checking static info (#3496) 2025-04-25 14:41:57 +02:00
osrelease_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
process_test.go [client] Optmize process check time (#3938) 2025-06-08 12:19:54 +02:00
process.go [client] Optmize process check time (#3938) 2025-06-08 12:19:54 +02:00
static_info_stub.go [client] Fix macos privacy warning when checking static info (#3496) 2025-04-25 14:41:57 +02:00
static_info.go [client] Fix macos privacy warning when checking static info (#3496) 2025-04-25 14:41:57 +02:00
sysinfo_linux_test.go [client] Get static system info once (#2965) 2024-12-03 10:22:04 +01:00
sysinfo_linux.go Handling invalid UTF-8 character in sys info (#2360) 2024-08-01 16:46:55 +02:00