Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance by removing the inode and pid process #9

Merged
merged 2 commits into from
Jun 18, 2018

Conversation

yuuki
Copy link
Owner

@yuuki yuuki commented Jun 18, 2018

[y_uuki@hoge ~]$ ss -tan | wc -l
27

before

[y_uuki@hoge ~]$ time ./lstf_v0.4.2 -n >/dev/null

real	0m0.269s
user	0m0.020s
sys	0m0.212s

after

[y_uuki@hoge ~]$ time ./lstf -n >/dev/null

real	0m0.222s
user	0m0.020s
sys	0m0.180s

@coveralls
Copy link

Pull Request Test Coverage Report for Build 54

  • 0 of 94 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-5.2%) to 39.723%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tcpflow/tcpflow_linux.go 0 29 0.0%
netutil/netutil_linux.go 0 65 0.0%
Totals Coverage Status
Change from base Build 49: -5.2%
Covered Lines: 172
Relevant Lines: 433

💛 - Coveralls

@yuuki yuuki merged commit e1aaf4c into master Jun 18, 2018
@yuuki yuuki deleted the fast_proc_net_tcp branch June 18, 2018 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants