git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: "meson test" very slow on Windows

From
M Hickford <mirth.hickford@gmail.com>
Date
Feb 2, 2025, 21:45 UTC
Message-ID
<CAGJzqsmo988VwABNgozwQEKBe-nyfw9f2G2obygqs8OtuYpeiQ@mail.gmail.com>
In-Reply-To
<89612095-6b10-44a1-a29c-b143d67ce7da@kdbg.org>
On Sun, 2 Feb 2025 at 07:46, Johannes Sixt <j6t@kdbg.org> wrote:
Show 8 quoted lines
>
> Am 01.02.25 um 23:56 schrieb M Hickford:
> > Hi. Has anyone else found that "meson test" is very slow on Windows? I
> > built Git using "meson compile" with compiler MSVC and backend ninja.
>
> The tests are very slow on Windows in general. Please clarify: when you
> say "very slow on Windows with meson", do you then mean "slower than
> with a Makefile build"?

Thanks, I didn't know about that. This is my first time I've successfully built Git on Windows, so I can't compare build systems. (Makefile and CMake never worked for me.)

Out of curiosity, why are the integration tests so much slower on Windows than Linux? Is it the 10+ ms overhead of creating each new process? https://stackoverflow.com/q/47845/284795 https://stackoverflow.com/questions/10710912/what-is-the-process-creation-overhead-in-windows

Previous: Patrick SteinhardtNext: brian m. carlson
Message 4 of 5 in “"meson test" very slow on Windows”
  1. M HickfordFeb 1, 2025
  2. Johannes SixtFeb 2, 2025
  3. Patrick SteinhardtFeb 2, 2025
  4. M HickfordFeb 2, 2025
  5. brian m. carlsonFeb 2, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.