etesync / etesync-dav

This is a CalDAV and CardDAV adapter for EteSync
https://www.etesync.com
GNU General Public License v3.0
285 stars 45 forks source link

Why etesync-dav need 4 sec to show help? #228

Open sergeyklay opened 3 years ago

sergeyklay commented 3 years ago

Hello,

Recently I noticed that etesync-dav needs about 4 sec to print help. I'm just curious about what is the reason for this delay and is it possible to make it more responsive?

$ time -v nice /usr/local/bin/etesync-dav --help

...
...
...

    Command being timed: "nice /usr/local/bin/etesync-dav --help"
    User time (seconds): 0.45
    System time (seconds): 0.29
    Percent of CPU this job got: 16%
    Elapsed (wall clock) time (h:mm:ss or m:ss): 0:04.64
    Average shared text size (kbytes): 0
    Average unshared data size (kbytes): 0
    Average stack size (kbytes): 0
    Average total size (kbytes): 0
    Maximum resident set size (kbytes): 32496
    Average resident set size (kbytes): 0
    Major (requiring I/O) page faults: 0
    Minor (reclaiming a frame) page faults: 15156
    Voluntary context switches: 6
    Involuntary context switches: 329
    Swaps: 0
    File system inputs: 0
    File system outputs: 0
    Socket messages sent: 0
    Socket messages received: 0
    Signals delivered: 0
    Page size (bytes): 4096
    Exit status: 0