[Top][All Lists]

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

bug#31138: Native json slower than json.el

From: Eli Zaretskii
Subject: bug#31138: Native json slower than json.el
Date: Mon, 22 Apr 2019 18:25:48 +0300

> Cc: address@hidden, address@hidden, address@hidden
> From: Dmitry Gutov <address@hidden>
> Date: Mon, 22 Apr 2019 16:58:05 +0300
>  > AFAIU, doing so produces a better measurement of the JSON
>  > parsing part alone.
> But not a better measurement of how json.c is actually used, I'm afraid 
> (unless you're trying to cut out the time Emacs spends reading from 
> disk). So even if my benchmark gives more attention to buffer-decoding 
> routines, it probably reflects practical usage too (JSON usually comes 
> from HTTP response, and it has to be decoded as well).

But it shows the upper limit of what we can expect, and it avoids the
danger of having unrelated factors obscuring the actual performance.

reply via email to

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