16 Commits
Author SHA1 Message Date
Etienne PerotandgVisor bot 84172e4e70 Go benchstat parser: Support alternate syntax for parameters.
This supports benchmark names where parameter-value pairs are separated
by `=` rather than `.`, and benchmarks where `GOMAXPROCS` is not appended
to the name of the benchmark.

This is used in Kubernetes benchmarks where the `GOMAXPROCS` value of the
machine running the Kubernetes client has no bearing on the benchmark's
performance.

This also moves the logic for how to handle sub-test names to the caller.
Docker benchmarks continue to have the behavior of treating sub-names
as a `Condition` with key equal to its value. Kubernetes benchmarks will
instead treat sub-test names as a single `Condition` called `subtest`.

PiperOrigin-RevId: 709861103
2024-12-26 12:51:43 -08:00
Etienne PerotandgVisor bot 5ca21867d9 tools/bigquery: Skip results upload if there are no results.
(Diffbased)

PiperOrigin-RevId: 703297420
2024-12-05 17:01:51 -08:00
Adin ScannellandgVisor bot 1ceb814544 Add default_applicable_licenses rules to packages.
PiperOrigin-RevId: 513581243
2023-03-02 10:50:04 -08:00
Adin ScannellandgVisor bot 646dcfef86 Update dependencies use new Kubernetes libraries.
PiperOrigin-RevId: 510293880
2023-02-16 18:07:40 -08:00
Kevin KrakauerandgVisor bot d8aa09e04c convert uses of interface{} to any
Done via:
  find . -name "*.go" | xargs sed -i -E 's/interface\{\}/any/g'

PiperOrigin-RevId: 487033228
2022-11-08 13:14:06 -08:00
Etienne PerotandgVisor bot 027eb1492c BigQuery metrics: Add ability to output benchstat-formatted benchmark data.
PiperOrigin-RevId: 421914403
2022-01-14 14:35:15 -08:00
Etienne PerotandgVisor bot 440fc07f70 Make benchmark String() output prettier.
PiperOrigin-RevId: 398372542
2021-09-22 17:50:30 -07:00
Etienne PerotandgVisor bot 6b7f58b2ac Add NewCondition helper in bigquery.go.
PiperOrigin-RevId: 398366805
2021-09-22 17:15:02 -07:00
Zach KoopmansandgVisor bot 3fd00bc09b [bm-dashboard] Add debugging to guitar benchmarks.
Add logs to big query for benchmarks. This is to debug the actual
sent data from BQ so it can be compared to the data produced by
the benchmark run.

Current logs end with "Sending benchmarks", which is ambiguous.
Log success to make sure they are sent.

PiperOrigin-RevId: 392944104
2021-08-25 11:44:07 -07:00
gVisor bot f1afd9e1ad internal import of Go cloud client libraries
PiperOrigin-RevId: 372376653
2021-05-06 10:48:21 -07:00
Adin ScannellandgVisor bot 8192cccda6 Clean test tags.
PiperOrigin-RevId: 369505182
2021-04-20 13:11:25 -07:00
Zach KoopmansandgVisor bot 3c673caf86 Fix parser to include iterations.
PiperOrigin-RevId: 347038652
2020-12-11 11:26:42 -08:00
Zach KoopmansandgVisor bot 7caefd68df Internal Change
PiperOrigin-RevId: 340941898
2020-11-05 15:43:14 -08:00
Zach KoopmansandgVisor bot e2dce04603 Add parser for open source benchmarks.
Add a parser binary for parsing files containing
Benchmark output and sending data to BigQuery.

PiperOrigin-RevId: 339066396
2020-10-26 10:29:20 -07:00
Zach KoopmansandgVisor bot b576de907c Add parsers golang benchmarks.
Add parser and formatting for golang benchmarks for docker benchmarks.
Change adds a library for printing and parsing Test parameters and metrics.
Benchmarks use the library to print parameters in the Benchmark title
(e.g. the name field in b.Run()), and to report CustomMetrics. Parser
uses the library to parse printed data from benchmark output and
put it into BigQuery structs.

PiperOrigin-RevId: 336365628
2020-10-09 14:29:21 -07:00
Zach KoopmansandgVisor bot e36eccc4b1 BigQuery schema for benchmark-tools dashboard.
PiperOrigin-RevId: 303805784
2020-03-30 13:05:45 -07:00