Skip to content

perf: update benchmarks to record throughput#49

Merged
mccutchen merged 1 commit intomainfrom
bench-throughput
Apr 24, 2025
Merged

perf: update benchmarks to record throughput#49
mccutchen merged 1 commit intomainfrom
bench-throughput

Conversation

@mccutchen
Copy link
Owner

@mccutchen mccutchen commented Apr 24, 2025

Before:

BenchmarkReadFrame/1KiB-8                1850740               624.4 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1924210               621.2 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1934340               621.3 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1932159               622.4 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1886798               624.2 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1908315               626.0 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1905510               627.4 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1907787               629.3 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1903112               631.4 ns/op          1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1896978               633.5 ns/op          1064 B/op          5 allocs/op

After, note the new MB/s column:

BenchmarkReadFrame/1KiB-8                1612123               723.2 ns/op      1426.95 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1652838               724.0 ns/op      1425.49 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1653415               731.7 ns/op      1410.46 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1641583               739.1 ns/op      1396.22 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1639408               736.9 ns/op      1400.46 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1633102               735.2 ns/op      1403.63 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1632260               733.5 ns/op      1407.00 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1625856               733.4 ns/op      1407.22 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1631691               735.0 ns/op      1404.14 MB/s        1064 B/op          5 allocs/op
BenchmarkReadFrame/1KiB-8                1615498               742.3 ns/op      1390.33 MB/s        1064 B/op          5 allocs/op

@github-actions
Copy link

🔥 Run benchmarks comparing 3098ea0 against main:

gh workflow run bench.yaml -f pr_number=49

Note: this comment will update with each new commit.

@codecov
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.37%. Comparing base (ae22b5d) to head (3098ea0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #49   +/-   ##
=======================================
  Coverage   92.37%   92.37%           
=======================================
  Files           2        2           
  Lines         459      459           
=======================================
  Hits          424      424           
  Misses         28       28           
  Partials        7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mccutchen mccutchen merged commit 9efd887 into main Apr 24, 2025
11 checks passed
@mccutchen mccutchen deleted the bench-throughput branch April 24, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant