Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: struCoder/pidusage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: struCoder/pidusage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 3 files changed
  • 6 contributors

Commits on Apr 7, 2017

  1. Merge pull request #1 from struCoder/dev

    feat(dev): support os sys except windows
    struCoder authored Apr 7, 2017
    Configuration menu
    Copy the full SHA
    f84800d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from struCoder/dev

    docs(dev): update readme.md
    struCoder authored Apr 7, 2017
    Configuration menu
    Copy the full SHA
    d654f15 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2017

  1. Merge pull request #3 from struCoder/dev

    feat(dev): add error and update readme
    struCoder authored Apr 10, 2017
    Configuration menu
    Copy the full SHA
    8b46c6a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4 from struCoder/dev

    feat(dev): fix proc type when there is no pid
    struCoder authored Apr 10, 2017
    Configuration menu
    Copy the full SHA
    beb3d83 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2017

  1. FIxed typos

    cpuschma committed Jul 14, 2017
    Configuration menu
    Copy the full SHA
    8d5783c View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2017

  1. Merge pull request #5 from xNevo/master

    Fixed english typos
    struCoder authored Jul 17, 2017
    Configuration menu
    Copy the full SHA
    f39c7cf View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2018

  1. Configuration menu
    Copy the full SHA
    0b9266b View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2018

  1. Merge pull request #9 from dballard/historyLock

    make writes to shared global hashmap threadsafe
    struCoder authored Nov 22, 2018
    Configuration menu
    Copy the full SHA
    7e73b8e View commit details
    Browse the repository at this point in the history

Commits on May 16, 2021

  1. Optimize GetStat function on Linux platform.

    GetStat function benchmark results
    
    Before optimize
    $ go clean -testcache && go test -test.v -bench=BenchmarkGetStat
    goos: linux
    goarch: amd64
    pkg: github.com/struCoder/pidusage
    BenchmarkGetStat
    BenchmarkGetStat-12             470       2690727 ns/op
    PASS
    ok      github.com/struCoder/pidusage    1.533s
    
    After optimize
    $ go clean -testcache && go test -test.v -bench=BenchmarkGetStat
    goos: linux
    goarch: amd64
    pkg: github.com/struCoder/pidusage
    BenchmarkGetStat
    BenchmarkGetStat-12           28416         36234 ns/op
    PASS
    ok      github.com/struCoder/pidusage    1.472s
    hungrybirder committed May 16, 2021
    Configuration menu
    Copy the full SHA
    20b6c54 View commit details
    Browse the repository at this point in the history
  2. Refactor code.

    hungrybirder committed May 16, 2021
    Configuration menu
    Copy the full SHA
    17ee516 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. Merge pull request #11 from hungrybirder/optimize_on_linux

    Code Optimization
    struCoder authored Jun 2, 2021
    Configuration menu
    Copy the full SHA
    37c8929 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. Add support for OpenBSD

    Gareth authored and Gareth committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    a96a0c2 View commit details
    Browse the repository at this point in the history
  2. Use proc not ps for OpenBSD

    Gareth authored and Gareth committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    8795012 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2021

  1. Merge pull request #13 from NetworksAreMadeOfString/master

    Add support for OpenBSD
    struCoder authored Aug 13, 2021
    Configuration menu
    Copy the full SHA
    12dcf30 View commit details
    Browse the repository at this point in the history
Loading
close