Skip to content

Commit

Permalink
worker: update benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Feb 21, 2024
1 parent 26d3119 commit 4ee2b94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions worker/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (z *zeroReader) Read(p []byte) (n int, err error) {
// BenchmarkUploaderSingleObject benchmarks uploading a single object.
//
// Speed | CPU | Commit
// 217.35 MB/s | M2 Pro | afee1ac
// 232.97 MB/s | M2 Pro | 26d3119
func BenchmarkUploaderSingleObject(b *testing.B) {
w := newMockWorker()

Expand All @@ -46,7 +46,7 @@ func BenchmarkUploaderSingleObject(b *testing.B) {
// BenchmarkUploaderSingleObject benchmarks uploading one object per slab.
//
// Speed | CPU | Commit
// 139.74 MB/s | M2 Pro | afee1ac
// 185.10 MB/s | M2 Pro | 26d3119
func BenchmarkUploaderMultiObject(b *testing.B) {
w := newMockWorker()

Expand Down Expand Up @@ -75,7 +75,7 @@ func BenchmarkUploaderMultiObject(b *testing.B) {
// slabs.
//
// Speed | CPU | Commit
// 1611.98 MB/s | M2 Pro | afee1ac
// 1668.87 MB/s | M2 Pro | 26d3119
func BenchmarkSectorRoot30Goroutines(b *testing.B) {
data := make([]byte, rhpv2.SectorSize)
b.SetBytes(int64(rhpv2.SectorSize))
Expand Down Expand Up @@ -108,7 +108,7 @@ func BenchmarkSectorRoot30Goroutines(b *testing.B) {
// BenchmarkSectorRootSingleGoroutine benchmarks the SectorRoot function.
//
// Speed | CPU | Commit
// 174.71 MB/s | M2 Pro | afee1ac
// 176.91 MB/s | M2 Pro | 26d3119
func BenchmarkSectorRootSingleGoroutine(b *testing.B) {
data := make([]byte, rhpv2.SectorSize)
b.SetBytes(rhpv2.SectorSize)
Expand Down

0 comments on commit 4ee2b94

Please sign in to comment.