Skip to content

Commit

Permalink
benchmarks/cmd/bent: adding benchmarks for toml and wazero
Browse files Browse the repository at this point in the history
For toml, which benchmarks to run,
for wazero, a provisional list of "good" benchmarks to run.

Change-Id: I2544a6450e55716315345e5223b7a556d8e2813b
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/595998
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
dr2chase committed Sep 21, 2024
1 parent cced3d3 commit 12fce83
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/bent/configs/benchmarks-50.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
# A sample of about 50 different benchmark runs, not noisy, run quickly enough,
# that appear to be somewhat diverse.

[[Benchmarks]]
Name = "wazero"
Benchmarks = "BenchmarkInvocation/interpreter/(string_manipulation_size_50|fib_for_20|random_mat_mul_size_20)|BenchmarkCompilation/with"

[[Benchmarks]]
Name = "toml"
Benchmarks = "BenchmarkDecode/large-doc"

[[Benchmarks]]
Name = "minio"
Tests = "none" # Don't run these tests; they hang, etc.
Expand Down
5 changes: 5 additions & 0 deletions cmd/bent/configs/suites.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# A Suite is a short name, a repo, a version, and sometimes some related default values
# for the benchmark specification files.

[[Suites]]
Name = "wazero"
Repo = "github.com/tetratelabs/wazero/internal/integration_test/bench"
Version = "@v1.7.3"

[[Suites]]
Name = "toml"
Repo = "github.com/BurntSushi/toml"
Expand Down

0 comments on commit 12fce83

Please sign in to comment.