From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Skipping unexec via a big .elc file Date: Sun, 23 Oct 2016 21:07:47 -0400 Message-ID: References: <87twe6sx2g.fsf@users.sourceforge.net> <87eg51ng4r.fsf_-_@users.sourceforge.net> <87k2djwumn.fsf@users.sourceforge.net> <83h98nidvd.fsf@gnu.org> <87eg3rvtsf.fsf@users.sourceforge.net> <83k2dihpm9.fsf@gnu.org> <8760p2wzgj.fsf@users.sourceforge.net> <838ttyhhzu.fsf@gnu.org> <871szqwu51.fsf@users.sourceforge.net> <831szqhbc2.fsf@gnu.org> <87d1itt79z.fsf_-_@users.sourceforge.net> <7baa18d4-2b09-caa8-005e-29008a383ad1@cs.ucla.edu> <83mvhwrgd5.fsf@gnu.org> <8539f38f-9a11-44c3-4de7-bb974c96206c@cs.ucla.edu> <8360ojpndr.fsf@gnu.org> <83shrnm0k1.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477271333 6147 195.159.176.226 (24 Oct 2016 01:08:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2016 01:08:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 03:08:50 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byTkb-0006ld-Gh for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2016 03:08:29 +0200 Original-Received: from localhost ([::1]:43186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byTkd-0004tu-Mj for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2016 21:08:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byTk2-0004tc-J2 for emacs-devel@gnu.org; Sun, 23 Oct 2016 21:07:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byTk1-0001cS-Nc for emacs-devel@gnu.org; Sun, 23 Oct 2016 21:07:54 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10550) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byTjy-0001bd-0b; Sun, 23 Oct 2016 21:07:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BHAgALW9BX/1DcbkFdGwEBBAEBgy4BAQEBAR6ETYVQhGWrEYIDhhYEAgKBaTkUAQIBAQEBAQEBXieEYgEBAwFWIwULCzQSFBgNJIhVCLxVAQEIAiWKfYl/HQEEmVmRFYd4hguQSx42gmgbgWkghgoBAQE X-IPAS-Result: A0BHAgALW9BX/1DcbkFdGwEBBAEBgy4BAQEBAR6ETYVQhGWrEYIDhhYEAgKBaTkUAQIBAQEBAQEBXieEYgEBAwFWIwULCzQSFBgNJIhVCLxVAQEIAiWKfYl/HQEEmVmRFYd4hguQSx42gmgbgWkghgoBAQE X-IronPort-AV: E=Sophos;i="5.30,296,1470715200"; d="scan'208";a="276872193" Original-Received: from 65-110-220-80.cpe.pppoe.ca (HELO fmsmemgm.homelinux.net) ([65.110.220.80]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Oct 2016 21:07:48 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id EF7BBAE0E0; Sun, 23 Oct 2016 21:07:47 -0400 (EDT) In-Reply-To: <83shrnm0k1.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 23 Oct 2016 20:34:38 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:208648 Archived-At: > That sounds strangely long, as I got less than 2 sec with all the > preloaded *.elc files concatenated to a single file, and that's before > I made pure-copy a no-op. > Another report was that "loadup" with pure-copy short-circuited took > less than 0.5 sec. See Hmm... indeed, I got to 0.72s with his patch (on a different, slower machine (a Thinkpad X201s, i.e. with a i7 CPU L620 @ 2.00GHz)). If I re-add international/characters it goes up a bit to 0.96s, but still nowhere near the 3s I got on my big .elc file. [ I wonder what makes loading my big file so slow. ] This said, there's still a factor 5-10 to get to "immediate", tho. Stefan