From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: 64 bit official Windows builds Date: Fri, 12 Feb 2016 08:16:37 +0100 Message-ID: <87vb5us8iy.fsf@wanadoo.es> References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> <83wpqb7yzk.fsf@gnu.org> <8760xuuc3g.fsf@wanadoo.es> <83h9he8lkp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455261433 2295 80.91.229.3 (12 Feb 2016 07:17:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2016 07:17:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 12 08:17:04 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aU7yS-0008Pc-7d for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Feb 2016 08:17:04 +0100 Original-Received: from localhost ([::1]:58072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7yR-0000EC-Bn for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Feb 2016 02:17:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7yG-0000Du-2H for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:16:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU7yB-0000zZ-3k for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:16:51 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:44523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7yA-0000yB-S3 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:16:47 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aU7y8-00087F-Ki for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 08:16:44 +0100 Original-Received: from 173.red-83-43-64.dynamicip.rima-tde.net ([83.43.64.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 08:16:44 +0100 Original-Received: from ofv by 173.red-83-43-64.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 08:16:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 173.red-83-43-64.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:OLsTfsSDOg0u836hcWzbtKA/qX8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109126 Archived-At: Eli Zaretskii writes: >> > That thunking is the culprit is my theory, not a fact; however, I >> > cannot find any other explanation. If someone does, I'm all ears. >> >> I mentioned some possibilities on a previous message. Did you use the >> same toolset and libraries for the 32 and 64 bits build? > > No. The program was compiled by mingw.org's MinGW for 32 bits and by > MinGW64 for 64 bits. There you have a strong candidate for explaining the difference. That probably also means that they were different compiler versions. >> The MinGW and MinGW-w64 (32/64 bits) runtimes diverged quite a bit. > > GNU Find uses only msvcrt.dll, no other runtime libraries are involved > in any significant way. As you know, there are other code pieces that are linked into the executable besides the C runtime (which MinGW(-w64) supersede by providing their implementations for certain functions, plus other features missing from msvcrt.dll). IIRC some *stat functions are very slow on Mingw, maybe the MinGW-w64 guys introduced improvements, just a guess. Why don't you build both 32 and 64 bits executables of GNU Find with MinGW-w64 (same toolset version) for comparing its performance? Not saying that GNU Find will be representative of what you can expect from Emacs. (GNU Find: I/O bound; Emacs: user bound.)