
Repeat the process twice and keep both files. This is the file to keep and send in, without modifying the file name as it tells us information necessary to interpret it.
#SYNCTHING CPU USAGE DOWNLOAD#
Once done the profiling will result in a download called something like syncthing-cpu-windows-amd64-v0.14.4-112233.pprof. Don’t worry - leave it be and have patience. During this time it will seem like nothing is happening and the browser is just waiting, hung, or “spinning”.

The profiling starts when the page is requested and takes 30 seconds. Assuming you are on the same computer as Syncthing and using the default settings, you should be able to do that by just clicking – otherwise please adjust the host name and port as necessary. To get a CPU profile you need to visit a URL ending in /rest/debug/cpuprof. To enable debugging, open the advanced settings:Įnable the “debugging” setting under “GUI”, and then scroll down and Save. Enable Debuggingĭebugging must be enabled to be able to capture profiles. Neither of the profiles contain any private data about your setup - only what parts of the program are using resources. The profiles are of two types - the “CPU profile” which shows which functions are using most CPU time and the “heap profile” that shows which functions have caused most memory to be allocated.

Profiling is the process of figuring out what a program is doing – where it’s spending its time on the CPU and why it’s allocated memory.

Hi! If you’re here because some developer told you to “grab a profile” and pointed to this page - welcome, and don’t worry! The procedure is quick and painless.
