Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benchkram/monorepo-benchmarks
Utilities to benchmark Bob against Bazel
https://github.com/benchkram/monorepo-benchmarks
bazel benchmark bobbuild build-tool monorepo
Last synced: 10 days ago
JSON representation
Utilities to benchmark Bob against Bazel
- Host: GitHub
- URL: https://github.com/benchkram/monorepo-benchmarks
- Owner: benchkram
- Created: 2022-11-25T13:19:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-17T15:25:17.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T03:48:09.588Z (about 2 months ago)
- Topics: bazel, benchmark, bobbuild, build-tool, monorepo
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monorepo-Benchmarks
Utilities to benchmark [Bob](https://bob.build) against Bazel on a monorepo.
## Prerequisites
* Golang
* Bob
* Bazel## Run the Benchmark
Each benchmark does 200x the same incremental build
```
make benchmark-bob-10
make benchmark-bob-50
make benchmark-bob-100
make benchmark-bob-1000
make benchmark-bob-5000make benchmark-bazel-10
make benchmark-bazel-50
make benchmark-bazel-100
make benchmark-bazel-1000
make benchmark-bazel-5000
```
The number at the end determines how many projects are created and build.## Result
#projects | Bob 0.7.2 | Bazel 6.0
----------| ----------| ----------
go-projects-10 | 0,061s | 0,126s
go-projects-50 | 0,067s | 0,123s
go-projects-100 | 0,074s | 0,15s
go-projects-1000 | 0,184s | 0,279s
go-projects-5000 | 0,863s | 1,037sSystem: Linux Ubuntu 20.04 | AMD Ryzen 7 PRO 4750U | 32GB of RAM | SSD.
17. Feb 2023