From: Hi-Angel <hiangel999@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Lexical binding doesn't seem to be faster?
Date: Sun, 10 Mar 2019 21:47:22 +0300 [thread overview]
Message-ID: <CAHGDjgD25bOn17U2T6=W57ttLOBV5QYVg1v-ovSTi3wBNiQGxA@mail.gmail.com> (raw)
In-Reply-To: <jwv1s3epps6.fsf-monnier+emacs@gnu.org>
On Sun, 10 Mar 2019 at 21:08, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
> > Thanks, so, I did that, and without disabling GC results look quite odd.
> >
> > For "lexical-binding: t" it is:
> >
> > - ... 2 100%
> > - list 1 50%
> > - - 1 50%
> > - let 1 50%
> > - let 1 50%
> > - while 1 50%
> > - funcall 1 50%
> > - #<compiled 0x15833de3b0c9> 1 50%
> > - c-font-lock-fontify-region 1 50%
> > - c-before-context-fl-expand-region 1 50%
> > - mapc 1 50%
> > - #<compiled 0x15833db80701> 1 50%
> > - c-context-expand-fl-region 1 50%
> > - c-fl-decl-end 1 50%
> > - c-literal-start 1 50%
> > - c-state-semi-pp-to-literal 1 50%
> > c-parse-ps-state-below 1 50%
> > Automatic GC 1 50%
>
> The code didn't run long enough to get any meaningful profile:
> profiler-start is sampling-based (and apparently in the above we only
> got 2 samples) so make sure the code runs for several seconds (the more
> the merrier).
If you say "several seconds enough", then it's already there, the
benchmark with GC enabled takes 9 seconds.
next prev parent reply other threads:[~2019-03-10 18:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-06 23:36 Lexical binding doesn't seem to be faster? Hi-Angel
2019-03-08 5:39 ` Stefan Monnier
2019-03-08 8:30 ` tomas
2019-03-08 13:53 ` Stefan Monnier
2019-03-09 8:21 ` tomas
2019-03-08 13:33 ` Hi-Angel
2019-03-09 15:06 ` Stefan Monnier
2019-03-10 15:16 ` Hi-Angel
2019-03-10 16:14 ` Hi-Angel
2019-03-10 18:07 ` Stefan Monnier
2019-03-10 18:47 ` Hi-Angel [this message]
2019-03-10 18:59 ` Stefan Monnier
2019-03-10 19:53 ` Hi-Angel
2019-03-10 20:48 ` Stefan Monnier
2019-03-10 21:22 ` Hi-Angel
2019-03-11 19:16 ` Hi-Angel
2019-03-11 19:26 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHGDjgD25bOn17U2T6=W57ttLOBV5QYVg1v-ovSTi3wBNiQGxA@mail.gmail.com' \
--to=hiangel999@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.