Skip to content

Conversation

@ltratt
Copy link
Contributor

@ltratt ltratt commented Nov 26, 2025

This changes output so that each benchmark only appears on one line, using \r to change the output.

For example when running a benchmark, a line in output will evolve as follows:

>>> haste:   0% deltablue/yklua/12000 ...
>>> haste:   1% deltablue/yklua/12000 11109ms ...
>>> haste:   3% deltablue/yklua/12000 11109ms 10376ms ...
>>> haste:   4% deltablue/yklua/12000 11109ms 10376ms 10540ms

This makes the output a lot less chatty, and easier to compare to previous runs on the fly.

This changes output so that each benchmark only appears on one line,
using `\r` to change the output.

For example when running a benchmark, a line in output will evolve as
follows:

```
>>> haste:   0% deltablue/yklua/12000 ...
>>> haste:   4% deltablue/yklua/12000 11109ms ...
>>> haste:   4% deltablue/yklua/12000 11109ms 10376ms ...
>>> haste:   4% deltablue/yklua/12000 11109ms 10376ms 10540ms
```

This makes the output a lot less chatty, and easier to compare to
previous runs on the fly.
@vext01 vext01 added this pull request to the merge queue Nov 26, 2025
Merged via the queue into ykjit:main with commit 8e2dbab Nov 26, 2025
2 checks passed
@ltratt ltratt deleted the single_line_output branch December 11, 2025 11:03
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.

2 participants