Skip to content

Add a benchmark for opam install - #6912

Merged
kit-ty-kate merged 1 commit into
ocaml:masterfrom
kit-ty-kate:bench-install-core
Jul 13, 2026
Merged

Add a benchmark for opam install#6912
kit-ty-kate merged 1 commit into
ocaml:masterfrom
kit-ty-kate:bench-install-core

Conversation

@kit-ty-kate

@kit-ty-kate kit-ty-kate commented Apr 28, 2026

Copy link
Copy Markdown
Member

As requested in #6906

This adds two benchmarks:

  • one tests a long install with many small and not-so small dependencies that are both able to build in parallel and also sequential
  • the other one tests specifically Remove the build directory as soon as possible when installing a package #6906 by exaggerating IO pressure to mimic Windows/IO-constrained filesystem behaviour, by allowing the removal of the build directory from one package to be done while another one is being built

Comment thread tests/bench/bench.ml
Comment thread tests/bench/bench.ml Outdated
Comment thread tests/bench/bench.ml Outdated
@kit-ty-kate
kit-ty-kate merged commit 567ba2d into ocaml:master Jul 13, 2026
2 checks passed
@kit-ty-kate
kit-ty-kate deleted the bench-install-core branch July 13, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants