zsh 'exit' takes approximately 10s with 30k history items, SAVEHIST/HISTSIZE both at 100000 on my amd64 build. An i386 jail is faster using the same history file, but it is still not "instant". Diagnosed the problem to be the zsh memory (de)allocation routines. Compiling without --enable-zsh-mem results in my zsh exiting "instantly" The attached patch separates the zsh-mem and zsh-secure-free options in the port, defaulting zsh-mem to off. Fix: Don't compile with --enable-zsh-mem Patch attached with submission follows: How-To-Repeat: Install zsh with default options on an amd64 build and try to exit zsh with 30k+ items in ~/.histfile
Responsible Changed From-To: freebsd-ports-bugs->des Over to maintainer.
Do we really want a zsh-specific DEBUG option? Shouldn't we rather piggyback on WITH_DEBUG? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
State Changed From-To: open->feedback any process here? if no let close.
Responsible Changed From-To: des->bapt I'll take it.
Attached a modified patch to remove the DEBUG option and just use WITH_DEBUG. -- Richard Kolkovich +1 303 219 0042 http://www.sigil.org
bapt 2011-11-06 18:35:06 UTC FreeBSD ports repository Modified files: shells/zsh Makefile Log: - split the zsh_mem option into zsh_mem and zsh_secure_free activate secure_free my default disable mem by default[1] - correct memory report for time builtin [2] - bump portrevision PR: ports/143981 [1], ports/152820 [2] Submitted by: Richard Kolkovich <sarumont@sigil.org> [1], Anonymous <swell.k@gmail.com> and Tsu <inyaoo@gmail.com> [2] Hurried by: miwi :) Revision Changes Path 1.129 +19 -8 ports/shells/zsh/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!