Skip to content

profile gls binary with pprof to spot bottlenecks in runtime #14

Open

Description

@ozansz

Summary

Folder indexing (tree traversal) seems to be inefficient than it should be, considering it's basically a tree traversal algorithm.
Use pprof tool to find out if there are any bottlenecks in the code, by either:

  1. Writing a benchmark test and running it with the -benchmem, -memprofile, and -cpuprofile options
  2. Setting up a pprof server by using net/http/pprof, and calling it during runtime to capture the CPU/memory dumps

Activity

  1. changed the title [-]profile gls binary in runtime to spot bottlenecls[/-] [+]profile gls binary with pprof to spot bottlenecks in runtime[/+] on Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions