emacsorphanage / org-page

[INACTIVE] A static site generator based on Emacs and org mode.
673 stars 99 forks source link

use `with-temp-buffer` instead of `find-file` #172

Closed xcodebuild closed 8 years ago

xcodebuild commented 8 years ago

See http://ergoemacs.org/emacs/elisp_find-file_vs_with-temp-buffer.html

xcodebuild commented 8 years ago

There is some data about.Take your blog as example,

(benchmark-run 1 (op/do-publication))

got (25.022391658 2 0.4641741239999999)

But with this brach,I got (14.015294684 1 0.491724556)

xcodebuild commented 8 years ago

Result with FORCE-ALL

(benchmark-run 1 (op/do-publication t))
sillykelvin commented 8 years ago

Thanks for this great change, merged!