emacs-devel
[Top][All Lists]
Advanced

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

Re: On elisp running native


From: Eli Zaretskii
Subject: Re: On elisp running native
Date: Tue, 25 Feb 2020 09:29:41 +0200

> From: yyoncho <address@hidden>
> Date: Tue, 25 Feb 2020 08:14:02 +0200
> Cc: Eli Zaretskii <address@hidden>, Stefan Monnier <address@hidden>,
>  emacs-devel <address@hidden>
> 
> I did benchmarks of json parsing here it is what I get:
> 
>   | test         | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot 
> avg err (s) |
>   
> |--------------+----------------+------------+---------+-------------+-----------------|
>   | json-parsing |           2.57 |       3.32 |     318 |        5.89 |      
>       0.10 |
>   
> |--------------+----------------+------------+---------+-------------+-----------------|
>   | total        |           2.57 |       3.32 |     318 |        5.89 |      
>       0.10 |
> 
> Native:
> 
>   | test         | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot 
> avg err (s) |
>   
> |--------------+----------------+------------+---------+-------------+-----------------|
>   | json-parsing |           1.71 |       4.31 |     343 |        6.02 |      
>       0.01 |
>   
> |--------------+----------------+------------+---------+-------------+-----------------|
>   | total        |           1.71 |       4.31 |     343 |        6.02 |      
>       0.01 |
> 
> It looks like this is bellow the average speedup you might wanna take a look:

I think this might be expected, since most of the heavy processing in
this benchmark is in C, and thus not affected by the compiling Lisp
into native machine code.



reply via email to

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