blob: 50386f09dbc8f4c7a1d8c79dbf8b4e03f1080e23 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file was auto-generated via go generate.
Command benup extracts microbenchmark results from the provided input (standard
input for file) and uploads them to an archival service.
For example:
go test -run X -bench crypto/sha256 | benup
will upload the benchmark results, along with a description of the scenario
(operating system, CPU, compiler etc.) under which the benchmarks were run to
the archival service.
To run tests on an Android device, use bendroid
bendroid -bench crypto/sha256 | benup
In the fullness of time, benup may support benchmark formats other than those
from "go test" (such as Java benchmarks written using Caliper).
CAVEAT: At this time, benup assumes the benchmarks were either run on the same
machine (operating system, CPU etc.) as the one where benup is being run, OR run
by bendroid and the state of the source code is the same as that on which benup
is being run.
benup [flags] [<input file>]
[input file] Is the name of the file from which to extract benchmark results (or
empty for standard input).
The benup flags are:
Vanadium object name of the BenchmarkArchiver service
label to assign the uploaded benchmark results
If true, results will not be uploaded but the results that would have been
uploaded will be dumped out
The global flags are:
log to standard error as well as files
when logging hits line file:N, emit a stack trace
if non-empty, write log files to this directory
log to standard error instead of files
max size in bytes of the buffer to use for logging stack traces
-metadata=<just specify -metadata to activate>
Displays metadata for the program and exits.
logs at or above this threshold go to stderr
Dump timing information to stderr before exiting the program.
log level for V logs
directory to use for storing security credentials
18n catalogue files to load, comma separated
local namespace root; can be repeated to provided multiple roots
specify a perms file as <name>:<permsfile>
explicitly specify the runtime perms as a JSON-encoded access.Permissions.
Overrides all --v23.permissions.file flags.
object name of proxy service to use to export services across network
address to listen on
protocol to listen with
The number of vtrace traces to store in memory.
Spans and annotations that match this regular expression will trigger trace
If true, dump all stored traces on runtime shutdown.
Rate (from 0.0 to 1.0) to sample vtrace traces.
The verbosity level of the log messages to be captured in traces
comma-separated list of globpattern=N settings for filename-filtered logging
(without the .go suffix). E.g. foo/bar/baz.go is matched by patterns baz or
*az or b* but not by bar/baz or baz.go or az or b.*
comma-separated list of regexppattern=N settings for file pathname-filtered
logging (without the .go suffix). E.g. foo/bar/baz.go is matched by patterns
foo/bar/baz or fo.*az or oo/ba or b.z but not by foo/bar/baz.go or fo*az
package main