emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_S


From: Stefan Monnier
Subject: Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_Strings]
Date: Mon, 08 Sep 2014 09:30:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> ==> 401 GCs, ~29.9s.
[...]
> it shows 399 GCs and ~29.6s.

1% speedup is not earth shattering, but at least this time it's a real
use-case.

> Here we just allocate 2 cons cells (32 bytes on a 64-bit system) on stack,
> and can see a measurable performance improvement.

Indeed this Fadd_text_properties business sucks.  We shouldn't allocate
any cons cells at all when we set a single property.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]