production mode performance improvement

32 views
Skip to first unread message

vibhu.m...@gmail.com

unread,
Jun 11, 2014, 4:38:27 PM6/11/14
to webl...@googlegroups.com
;call this in production mode to greatly improve performance
;weblocks utils/html-parts.lisp
;I should probably confirm that this is only debugging code being turned off
(defun prod-tune ()
  (setf *process-html-parts-p* (constantly nil)))

o_z

unread,
Jun 16, 2014, 5:47:28 AM6/16/14
to webl...@googlegroups.com, vibhu.m...@gmail.com
Made small improvement. Now *process-html-parts-p* is changed when calling (enable-global-debugging) and (disable-global-debugging)

среда, 11 июня 2014 г., 23:38:27 UTC+3 пользователь vibhu.m...@gmail.com написал:

vibhu.m...@gmail.com

unread,
Jun 16, 2014, 5:51:18 AM6/16/14
to webl...@googlegroups.com, vibhu.m...@gmail.com
If I remember correctly, I couldn't get a load test to run with more than a dozen connections unless I made this change. Then I could have 100 connections. So the performance improvement may be memory not CPU.

o_z

unread,
Jun 16, 2014, 6:25:11 AM6/16/14
to webl...@googlegroups.com, vibhu.m...@gmail.com
Thanks for the information

понедельник, 16 июня 2014 г., 12:51:18 UTC+3 пользователь vibhu.m...@gmail.com написал:
Reply all
Reply to author
Forward
0 new messages