Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use human readable durations #296

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

414owen
Copy link

@414owen 414owen commented Feb 11, 2025

Benchmark reports that show, eg. 472666693ns/iter, are very difficult to scan.

This change formats benchmarks measured in ns/iter with a more human readable duration.

Example output: 414owen/outlines-core#7

@ktrz

@414owen 414owen force-pushed the os/pretty-durations branch from 627f3b2 to 6992a91 Compare February 11, 2025 16:03
@414owen 414owen marked this pull request as draft February 11, 2025 16:19
@414owen 414owen force-pushed the os/pretty-durations branch 2 times, most recently from 58d0b8e to c049ca9 Compare February 11, 2025 16:31
@414owen 414owen force-pushed the os/pretty-durations branch from c049ca9 to 8d0f52a Compare February 11, 2025 18:18
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