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

Re: [PATCH v2] Windows: improve performance by avoiding a static dependency on ws2_32.dll and advapi32.dll

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Jan 29, 2010, 07:44 UTC
Message-ID
<4B6291D0.5000400@viscovery.net>
In-Reply-To
<63cde7731001280247w51d32475ob5fa22f796fa50b7@mail.gmail.com>
Michael Lukashov schrieb:
> The runtime of 'make -j2 test' went down from 35:19min
> to 32:39min on my machine.

Sorry, I can't back this claim. In my tests, 'make -j2 test' did not go down. My timings were between 13:40min and 13:50min with and without the patch, and I tried multiple times.

For the MinGW version, I'd rather not apply this patch. People interested in optimizing the MSVC version could link with /delayload:ws_32.dll to achieve the same effect without any change to the code.

-- Hannes
Previous: Michael Lukashov
Message 6 of 6 in “Windows: improve performance by avoiding a static dependency on ws2_32.dll and advapi32.dll”
  1. Windows: improve performance by avoiding a static dependency on ws2_32.dll and advapi32.dllMichael Lukashov, Jan 28, 2010
  2. Johannes SixtJan 28, 2010
  3. Michael LukashovJan 28, 2010
  4. Johannes SchindelinJan 28, 2010
  5. Michael LukashovJan 28, 2010
  6. Johannes SixtJan 29, 2010

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.