Skip to content

Conversation

@rgrinberg
Copy link
Member

Get rid of the slow dune file comparison in #9738

Signed-off-by: Rudi Grinberg [email protected]

@rgrinberg rgrinberg force-pushed the ps/rr/fix__performance_regression_from__8447 branch 3 times, most recently from a59000a to 4efc59f Compare January 18, 2024 07:39
@jchavarri
Copy link
Collaborator

Tested, and it fixes the issue. Thanks.

@anmonteiro
Copy link
Collaborator

Explanation of this fix in #9761 (comment)

Get rid of the slow dune file comparison in #9738

Signed-off-by: Rudi Grinberg <[email protected]>

<!-- ps-id: 6499de7c-e597-44e0-af7f-33bf7bf235ab -->
@rgrinberg rgrinberg force-pushed the ps/rr/fix__performance_regression_from__8447 branch from 4efc59f to c5857d9 Compare January 18, 2024 20:25
@rgrinberg rgrinberg added this to the 3.14.0 milestone Jan 18, 2024
@rgrinberg rgrinberg merged commit b50c46e into main Jan 18, 2024
@rgrinberg rgrinberg deleted the ps/rr/fix__performance_regression_from__8447 branch January 18, 2024 21:45
emillon pushed a commit to emillon/dune that referenced this pull request Feb 5, 2024
Get rid of the slow dune file comparison in ocaml#9738

Signed-off-by: Rudi Grinberg <[email protected]>
emillon added a commit that referenced this pull request Feb 5, 2024
* refactor: rename [Dune_load.conf] to [Dune_load.t] (#9766)

Signed-off-by: Rudi Grinberg <[email protected]>

* refactor: Make [Dune_load.t] abstract (#9767)

Signed-off-by: Rudi Grinberg <[email protected]>

* refactor: move [Dune_load.Dune_files.in_dir] (#9768)

It doesn't need to be in the [Dune_files] submodule

Signed-off-by: Rudi Grinberg <[email protected]>

* fix: performance regression from #8447 (#9769)

Get rid of the slow dune file comparison in #9738

Signed-off-by: Rudi Grinberg <[email protected]>

---------

Signed-off-by: Rudi Grinberg <[email protected]>
Co-authored-by: Rudi Grinberg <[email protected]>
emillon added a commit to emillon/opam-repository that referenced this pull request Feb 5, 2024
CHANGES:

- Fix performance regression for incremental builds (ocaml/dune#9769, fixes ocaml/dune#9738,
  @rgrinberg)

- Fix `dune ocaml top-module` to correctly handle absolute paths. (ocaml/dune#8249, fixes
  ocaml/dune#7370, @Alizter)

- subst: ignore broken symlinks when looking at source files (ocaml/dune#9810, fixes
  ocaml/dune#9593, @emillon)

- subst: do not fail on 32-bit systems when large files are encountered. Just
  log a warning in this case. (ocaml/dune#9811, fixes ocaml/dune#9538, @emillon)

- boot: sort directory entries in readdir. This makes the dune binary
  reproducible in terms of filesystem order. (ocaml/dune#9861, fixes ocaml/dune#9794, @emillon)
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

- Fix performance regression for incremental builds (ocaml/dune#9769, fixes ocaml/dune#9738,
  @rgrinberg)

- Fix `dune ocaml top-module` to correctly handle absolute paths. (ocaml/dune#8249, fixes
  ocaml/dune#7370, @Alizter)

- subst: ignore broken symlinks when looking at source files (ocaml/dune#9810, fixes
  ocaml/dune#9593, @emillon)

- subst: do not fail on 32-bit systems when large files are encountered. Just
  log a warning in this case. (ocaml/dune#9811, fixes ocaml/dune#9538, @emillon)

- boot: sort directory entries in readdir. This makes the dune binary
  reproducible in terms of filesystem order. (ocaml/dune#9861, fixes ocaml/dune#9794, @emillon)
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.

4 participants