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

go modules and optimized buffering and cache time #1

Merged
merged 1 commit into from
Nov 13, 2020

Conversation

kazeburo
Copy link
Owner

@kazeburo kazeburo commented Nov 13, 2020

master

% wc -l test 
 16300032 test
% time cat test|./relaxlogs.old --with-time >/dev/null 
cat test  0.01s user 0.06s system 0% cpu 12.914 total
./relaxlogs --with-time > /dev/null  16.95s user 2.75s system 152% cpu 12.942 total
% time cat test|./relaxlogs --with-time >/dev/null
cat test  0.00s user 0.03s system 3% cpu 0.971 total
./relaxlogs --with-time > /dev/null  0.96s user 0.01s system 99% cpu 0.971 total

@kazeburo kazeburo merged commit bb07b43 into master Nov 13, 2020
@kazeburo kazeburo changed the title go modules and optimized buffering go modules and optimized buffering and cache time Nov 13, 2020
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

1 participant