Niklas Eklund <niklas.eklund@posteo.net> writes:
> Great that you provide these steps and benchmark results. I don't manage> to reproduce it locally today. But I did notice some slower> initialization the other day, not sure why I didn't today.
the slowdown happens for the first evaluation of (detached-init), after
that running (detached-init) runs quickly. so to reproduce it you need to
remove (detached-init) from the init file, and running it independently,
and exiting emacs every time. and rerun it again
> I have created a branch named init_speedup. Could you try that one out> and see if it improves the situation on your end.
i will try it and report back.
Osama Rebach <osamarebach@gmail.com> writes:
> Niklas Eklund <niklas.eklund@posteo.net> writes:>>> Great that you provide these steps and benchmark results. I don't manage>> to reproduce it locally today. But I did notice some slower>> initialization the other day, not sure why I didn't today.>> the slowdown happens for the first evaluation of (detached-init), after> that running (detached-init) runs quickly. so to reproduce it you need to> remove (detached-init) from the init file, and running it independently,> and exiting emacs every time. and rerun it again
I was doing that but for some reason it was fast anyway. I don't have
many sessions at the moment, forcefully created a lot of them for
testing purpose. I'll see if any slowdown occurs once I have built up
more organic sessions.
>> I have created a branch named init_speedup. Could you try that one out>> and see if it improves the situation on your end.>> i will try it and report back.
Great! I added two more commits to the branch just for your information.
Thanks, running the "init_speedup" branch resolved the issue.
Now running (detached-init) with 250 sessions:
(0.17904190499999997 1 0.02780058099999999)
Osama Rebach <osamarebach@gmail.com> writes:
> Thanks, running the "init_speedup" branch resolved the issue.>> Now running (detached-init) with 250 sessions:> (0.17904190499999997 1 0.02780058099999999)
Nice! Then I will merge this into the main branch, thanks for the help :)