Closed stardiviner closed 1 year ago
Thanks for reporting, I'll try to dive deeper into the performance of circadian, as soon as I can
@stardiviner On which platform do you run Emacs? And which version did you use? I can't quite reproduce that memory/CPU consuming behaviour. Profiling (circadian-setup)
an my MacBook Air (Late 2010) needs under 1% each 🤔
I'm on Arch Linux, and Emacs version 27 (compiled from latest master branch source code).
I've just had another look at this (sorry for taking so ultra long, haven't actively used/developed this package for a while):
Results from using Emacs-Lisp Profiler:
circadian-setup 1 0.00229 0.00229
also added a test to the test suite using benchmark.el: test/circadian.el-test.el#L117, plesae try to run the test on your system, if this is still a persistant issue.
When I execute
(circadian-setup)
, Emacs is suspended a few minutes, lot of I/O. (why circadian-setup has heavy I/O?)So I take a profiling with Emacs profiler:
CPU profiler report
Memory profiler report: