From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Niessen Newsgroups: gmane.emacs.bugs Subject: bug#18752: 24.3.94; Why is Cygwin Emacs 2x quicker than Windows Emacs? Date: Fri, 17 Oct 2014 17:04:29 +0200 Organization: My Googlest Message-ID: <86h9z2rb42.fsf@example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413558445 3071 80.91.229.3 (17 Oct 2014 15:07:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2014 15:07:25 +0000 (UTC) To: 18752-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Oct 17 17:07:18 2014 Return-path: Envelope-to: geb-bug-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 1Xf97d-0007PH-2E for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 17:07:17 +0200 Original-Received: from localhost ([::1]:32905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf97c-0007Np-Jb for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 11:07:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf97U-0007Nj-SJ for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 17 Oct 2014 11:07:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf97P-0003er-EL for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 17 Oct 2014 11:07:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf97P-0003ek-C2 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 17 Oct 2014 11:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xf97O-0000tC-NH for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 17 Oct 2014 11:07:02 -0400 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: Fabrice Niessen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Fri, 17 Oct 2014 15:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: report 18752 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-Received: via spool by submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B.14135584083394 (code B ref -1); Fri, 17 Oct 2014 15:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Oct 2014 15:06:48 +0000 Original-Received: from localhost ([127.0.0.1]:47567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xf979-0000sg-F9 for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 17 Oct 2014 11:06:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55518) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xf975-0000sW-9C for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 17 Oct 2014 11:06:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf96z-0003QN-Ct for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 17 Oct 2014 11:06:42 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf96z-0003QH-A9 for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 17 Oct 2014 11:06:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf96u-0007ID-GF for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 17 Oct 2014 11:06:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf96p-0003No-M2 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 17 Oct 2014 11:06:32 -0400 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:55195 helo=mail.missioncriticalit.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf96p-0003Nf-F2 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 17 Oct 2014 11:06:27 -0400 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id 7B754500D81 for ; Fri, 17 Oct 2014 17:06:25 +0200 (CEST) X-Url: http://www.MyGooglest.com/fni X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:94676 Hello, Maybe the test is partial -- even surely. Though, I wonder why Cygwin Emacs is 2 times quicker than its Windows counterpart to tangle an Org file, and export it to HTML? Observations: - With the Widows binary "GNU Emacs 24.3.94.1 (i686-pc-mingw32) of 2014-10-02" (compiled by Dani), it always takes around 2:35. - With the Cygwin executable "GNU Emacs 24.3.93.1 (i686-pc-cygwin) of 2014-08-15", it always just takes around 1:19 for the same operation. Needless to say: same config file, same Org mode version (8.3beta from Git), same machine, etc. The file I used for the test is my Emacs configuration file, to be found on https://github.com/fniessen/emacs-leuven/blob/master/emacs-leuven.txt. The command I executed, and for which I took the above measures, is: --8<---------------cut here---------------start------------->8--- (defun org-save-buffer-and-do-related () "Save buffer, execute/tangle code blocks, and export to HTML." (interactive) (let* ((orgfile (buffer-file-name)) (base-name (file-name-base orgfile)) (htmlfile (concat base-name ".html"))) (save-buffer) (when (derived-mode-p 'org-mode) (let ((before-save-hook nil)) (save-buffer)) (org-babel-tangle) (when (file-exists-p htmlfile) (if (file-newer-than-file-p orgfile htmlfile) (org-html-export-to-html) (message "HTML is up to date with Org file")))))) --8<---------------cut here---------------end--------------->8--- Would it make sense, I can make a video of them side by side... Best regards.