emacs-devel
[Top][All Lists]
Advanced

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

Re: Pixel-based display functions


From: Lars Ingebrigtsen
Subject: Re: Pixel-based display functions
Date: Sun, 08 Feb 2015 00:21:46 +1100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Also, did you invoke vertical-motion from the beginning of a physical
> line, or from some place in the middle of the line?

D'oh!  Thank you for reminding me to test that.

This is from the beginning of the line:

shr-vertical-motion                  854         2.0654068049  0.0024185091
shr-pixel-buffer-width               988         0.7436217859  0.0007526536

This is from the first character on the line:

shr-pixel-buffer-width               988         0.7434988130  0.0007525291
shr-vertical-motion                  854         0.2932210100  0.0003433501

So that's an 7-fold improvement in speed in `vertical-motion'.  :-)

Running the Ocelot test in an Emacs without any ELP-instrumented
functions now renders that page in 1.6s with fonts, which is faster than
the version in trunk does on fixed-width layouts, so we may just declare
success.  :-)

(A typical manual page renders in 0.015s, if anybody's counting.)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

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