Skip to content

Add compiling linux as a benchmark#194

Merged
jvoisin merged 2 commits intodaanx:masterfrom
derSteFfi:add_linux
Jul 23, 2025
Merged

Add compiling linux as a benchmark#194
jvoisin merged 2 commits intodaanx:masterfrom
derSteFfi:add_linux

Conversation

@derSteFfi
Copy link
Copy Markdown
Contributor

This adds compiling linux as a benchmark.
I opted for the latest stable version as of right now. It's building a 'allnoconfig' to not run too long. It's building in RAM to reduce file I/O overhead. I have no idea how to realize that on platforms other than *nix, though.

Comments and feedback welcome :)

@mjp41
Copy link
Copy Markdown
Collaborator

mjp41 commented Sep 6, 2023

Thanks for contribution to mimalloc-bench. I am a little worried about compiling Linux completely in memory for the CI machines. Last time I checked they only had 7GiB of RAM. I have set it running, and lets see what happens.

@jvoisin
Copy link
Copy Markdown
Collaborator

jvoisin commented Sep 7, 2023

This is working, amazing.

I think we should investigate why Alpine is taking more than 2h before merging this.

@jvoisin jvoisin requested a review from mjp41 September 7, 2023 12:54
@mjp41
Copy link
Copy Markdown
Collaborator

mjp41 commented Sep 7, 2023

I am not sure this is actually running in CI. The set tests_all3 which linux is added to does not seem to be part of the CI job.

@derSteFfi
Copy link
Copy Markdown
Contributor Author

It's not. I wasn't thinking about the CI, I just didn't want to force it into allt, given it runs for about 2 minutes. Shall I move it to test2?

@mjp41
Copy link
Copy Markdown
Collaborator

mjp41 commented Sep 8, 2023

It's not. I wasn't thinking about the CI, I just didn't want to force it into allt, given it runs for about 2 minutes. Shall I move it to test2?

Not sure, this is probably a deeper question about what CI is checking. At the moment, it doesn't check all the benchmarks which is a bit of a problem, but it also takes a long time already.

I don't think having a two minute task in allt is ideal, so I think it is in the right place. But it would be good to test more benchmarks in CI.

I'll think a bit about how we might speed up CI. I am wondering if we should containerize some stuff, so we can reuse artifacts, and then run the benchmarks across more CI machines.

@jvoisin
Copy link
Copy Markdown
Collaborator

jvoisin commented Jul 21, 2025

I think you might have fucked your rebase up :D

@derSteFfi
Copy link
Copy Markdown
Contributor Author

I did - and did not even notice 🥲
should be corrected now. (hesitant to confess I had to force push)

Comment thread bench.sh Outdated
Co-authored-by: Julien Voisin <jvoisin@users.noreply.github.com>
@jvoisin jvoisin merged commit 2951c39 into daanx:master Jul 23, 2025
3 of 4 checks passed
@derSteFfi derSteFfi deleted the add_linux branch September 10, 2025 09:08
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.

3 participants