Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Add flag to suppress most stuff written to stdout and stderr#2594

Merged
NateBrady23 merged 1 commit intoTechEmpower:masterfrom
michaelhixson:quiet-mode
Mar 20, 2017
Merged

Add flag to suppress most stuff written to stdout and stderr#2594
NateBrady23 merged 1 commit intoTechEmpower:masterfrom
michaelhixson:quiet-mode

Conversation

@michaelhixson
Copy link
Copy Markdown
Contributor

This is designed for use with continuous benchmarking.

Currently, we run continuous benchmarking as an upstart script. By
default it puts everything sent to stdout into a file like
/var/log/upstart/tfb.log. This log file is absolutely enormous -- it
contains everything printed by every framework. It's so big that it
fills up the disk of our test environments before a single iteration of
the full test suite completes.

We work around this by disabling the upstart log completely (declaring
"console none" in its config), but that's not ideal because then we have
no logs at all.

With this change, with quiet mode enabled, we print much, much less to
stdout. There should only be a few lines printed per framework. This
will let us enable the upstart logs again, which should be useful when
trying to answer questions like, "Which framework are we testing right
now?"

This is designed for use with continuous benchmarking.

Currently, we run continuous benchmarking as an upstart script.  By
default it puts everything sent to stdout into a file like
/var/log/upstart/tfb.log.  This log file is absolutely enormous -- it
contains everything printed by every framework.  It's so big that it
fills up the disk of our test environments before a single iteration of
the full test suite completes.

We work around this by disabling the upstart log completely (declaring
"console none" in its config), but that's not ideal because then we have
no logs at all.

With this change, with quiet mode enabled, we print much, much less to
stdout.  There should only be a few lines printed per framework.  This
will let us enable the upstart logs again, which should be useful when
trying to answer questions like, "Which framework are we testing right
now?"
@NateBrady23
Copy link
Copy Markdown
Member

Oh, awesome!

@NateBrady23 NateBrady23 merged commit 648fc9f into TechEmpower:master Mar 20, 2017
zloster pushed a commit to zloster/FrameworkBenchmarks that referenced this pull request Mar 21, 2017
…ower#2594)

This is designed for use with continuous benchmarking.

Currently, we run continuous benchmarking as an upstart script.  By
default it puts everything sent to stdout into a file like
/var/log/upstart/tfb.log.  This log file is absolutely enormous -- it
contains everything printed by every framework.  It's so big that it
fills up the disk of our test environments before a single iteration of
the full test suite completes.

We work around this by disabling the upstart log completely (declaring
"console none" in its config), but that's not ideal because then we have
no logs at all.

With this change, with quiet mode enabled, we print much, much less to
stdout.  There should only be a few lines printed per framework.  This
will let us enable the upstart logs again, which should be useful when
trying to answer questions like, "Which framework are we testing right
now?"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants