From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.devel Subject: Re: async 1.0 Date: Fri, 22 Jun 2012 10:00:49 +0300 Message-ID: <87vcij7rvi.fsf@mithlond.arda> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340362619 3300 80.91.229.3 (22 Jun 2012 10:56:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2012 10:56:59 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 22 12:56:58 2012 Return-path: Envelope-to: ged-emacs-devel@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 1Si1Xt-0004CR-SF for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2012 12:56:58 +0200 Original-Received: from localhost ([::1]:49562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Si1Xt-0000Vj-Sj for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2012 06:56:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Shxrh-0007OZ-Cp for emacs-devel@gnu.org; Fri, 22 Jun 2012 03:01:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Shxrf-0007wi-Mj for emacs-devel@gnu.org; Fri, 22 Jun 2012 03:01:08 -0400 Original-Received: from mta-out.inet.fi ([195.156.147.13]:47252 helo=jenni1.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShxrZ-0007pJ-Rb; Fri, 22 Jun 2012 03:01:02 -0400 Original-Received: from mithlond.arda (84.251.132.215) by jenni1.inet.fi (8.5.140.03) id 4FC868BE014B7B3A; Fri, 22 Jun 2012 10:00:51 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.72) (envelope-from ) id 1ShxrO-0000uT-A7; Fri, 22 Jun 2012 10:00:50 +0300 In-Reply-To: (John Wiegley's message of "Thu, 21 Jun 2012 16:23:26 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 195.156.147.13 X-Mailman-Approved-At: Fri, 22 Jun 2012 06:56:56 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151084 Archived-At: John Wiegley [2012-06-21 16:23:26 -0500] wrote: > You know, Emacs is suprisingly fast to execute if you use "emacs -batch -Q". > For example: > > vulcan ~ $ average -n 100 emacs -Q -batch --eval "(+ 10 20)" > 0.0393513631821 It loads quickly from cache: $ time emacs -Q --batch --eval t real 0m0.044s user 0m0.024s sys 0m0.020s But: $ sync; sudo sh -c 'echo 3 >/proc/sys/vm/drop_caches' $ time emacs -Q --batch --eval t real 0m2.288s user 0m0.036s sys 0m0.020s