0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

emacs native compile benchmark

Last updated at Posted at 2024-05-06

目的

native compile での実行速度を計測する

sample code

(defun simple_loop ()
  (progn
    (setq count 1)
    (setq max_times 50000000)
    (while (< count max_times)
      (setq count (1+ count)))))

benchmark

elisp byte compile native compile
4.67 sec 0.668 sec 0.587 sec

// それぞれ, 10回程の平均

所管

このケースにおいて
差は小さいものの, 確実に高速化が見込める事が確認できた.

様々な機能を動かす中で10%の高速化は有り難い

native compile 対応の emacs install はこちら

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?