commit | dcb3c12955f78a91e991c5ca3ec96438d5853af6 | [log] [tgz] |
---|---|---|
author | Marc-Antoine Ruel <maruel@google.com> | Tue May 23 17:15:53 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 23 17:15:53 2023 +0000 |
tree | c37f5a003dc8cb7782afabee7b8d2c1b5fd3a993 | |
parent | 13c6629e69ebbffde3a4a8002f3bf8b7166478be [diff] |
[engine] Add more benchmarks in testdata/bench/ They are all simple. They will provide information for follow up changes. What is most interesting is the amount of memory used. In particular, BenchmarkPrint_Git versus BenchmarkPrint_Raw shows that the git querying is causing a significant amount of overhead. Update common test code from *testing.T to testing.TB. Update scritps/tests.sh to work when called from anywhere, and run benchmarks. Test only change. Change-Id: I1735f6ee29d37b6a68566ffaab339d6461af4d92 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/859536 Reviewed-by: Oliver Newman <olivernewman@google.com> Fuchsia-Auto-Submit: Marc-Antoine Ruel <maruel@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Scalable Hermetic Analysis and Checks.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
⚠ The source of truth is at https://fuchsia.googlesource.com/shac-project/shac.git and uses Gerrit for code review.
See CONTRIBUTING.md to submit changes.