[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preview: portable dumper
From: |
Stefan Monnier |
Subject: |
Re: Preview: portable dumper |
Date: |
Tue, 29 Nov 2016 08:06:56 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> run. With a non-PIC executable, you can do a pretty good job of that
> and get performance a bit better than unexec, in theory.
Got me curious: how/why could it be even better than unexec?
> Right --- I've tested on 64-bit only. I imagine testing 32-bit and
> wide-int might reveal some latent bugs.
I'm not worried about that.
>>> functions pdumper.h --- but even so, it's within 100ms or so of an
>>> unexeced Emacs.
>> 0.1s will still lead to a noticeable slow down of bootstrap, but at
>> least it should be good enough for the usual end-user who doesn't run
>> Emacs in batch mode.
> Oh, of course. But that's without any attention paid to
> optimization. I'm sure it can go much faster.
Sure, but it's already fast enough to be usable.
[ Contrary to my dumped.elc, which is currently usable only for
non-short-lived interactive sessions where you're willing to spend an
extra second of startup. ]
> Yeah --- then both approaches get into the problem of how to dump
> arbitrary object graphs, which in practice ends up being "dump the whole
> heap except for processes, windows, and frames."
But the dumped.elc approach has it much more difficult here because it
has to work within the scope of a predefined existing format.
Stefan
- Re: Preview: portable dumper, (continued)
- Re: Preview: portable dumper, Eli Zaretskii, 2016/11/29
- Re: Preview: portable dumper, Paul Eggert, 2016/11/29
- Re: Preview: portable dumper, Eli Zaretskii, 2016/11/30
- Re: Preview: portable dumper, John Wiegley, 2016/11/30
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/30
- Re: Preview: portable dumper, Philippe Vaucher, 2016/11/30
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/30
Re: Preview: portable dumper, Paul Eggert, 2016/11/28
Re: Preview: portable dumper, Stefan Monnier, 2016/11/28
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/28
- Re: Preview: portable dumper,
Stefan Monnier <=
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/29
- Re: Preview: portable dumper, Paul Eggert, 2016/11/29
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/29
- Re: Preview: portable dumper, Paul Eggert, 2016/11/29
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/29
- Re: Preview: portable dumper, Paul Eggert, 2016/11/30
- Re: Preview: portable dumper, Stefan Monnier, 2016/11/30
Re: Preview: portable dumper, Richard Stallman, 2016/11/30
Re: Preview: portable dumper, Daniel Colascione, 2016/11/30
Re: Preview: portable dumper, Stefan Monnier, 2016/11/29