This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-website".

The branch, master has been updated
       via  8eba5d0b7b3066c6c65a3dcd74f350216755dcad (commit)
      from  be463b6bf0b73f84676ebf286d0125112789e73a (commit)


Summary of changes:
 static/media/css/main.css |    8 ++++----
 templates/faq.md          |   22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 4 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8eba5d0b7b3066c6c65a3dcd74f350216755dcad
Author: Gregory Collins <[email protected]>
Date:   Thu Sep 23 18:54:26 2010 -0400

    Update faq

diff --git a/static/media/css/main.css b/static/media/css/main.css
index e7fd055..6f5e5bd 100644
--- a/static/media/css/main.css
+++ b/static/media/css/main.css
@@ -62,18 +62,18 @@ ul {
     text-indent: -13px;
 }
 
-li{
+ul li{
     list-style-type: none;
 }
 
-li p:first-child { display: inline; }
+ul li p:first-child { display: inline; }
 
-li p {
+ul li p {
     text-indent: 0;
     margin: 29px 0;
 }
 
-li:before {
+ul li:before {
     content: "» ";
 }
 
diff --git a/templates/faq.md b/templates/faq.md
index 53fe4e3..bea32f0 100644
--- a/templates/faq.md
+++ b/templates/faq.md
@@ -8,6 +8,8 @@
 1. [Where's the high-level functionality?   
](#wheres-the-high-level-functionality)
 1. [Why can't I install Snap?               ](#why-cant-i-install-snap)
 1. [How do I get the libev backend working? 
](#how-do-i-get-the-libev-backend-working)
+1. [How can I get debugging output?         ](#how-can-i-get-debugging-output)
+1. [When I run snap with multiple cores, throughput plummets. What's going 
on?](#when-i-run-snap-with-multiple-cores-throughput-plummets.-whats-going-on)
 1. [How can I help?                         ](#how-can-i-help)
 
 </div>
@@ -77,6 +79,26 @@ install the latest 
[libev](http://software.schmorp.de/pkg/libev.html)
 from [source](http://dist.schmorp.de/libev/).
 
 
+### When I run snap with multiple cores, throughput plummets. What's going on?
+
+The parallel GC introduced in GHC 6.10 doesn't seem to play very well with
+Snap. If you turn parallel GC off (using the "`-qg`" flag, e.g. "`./foo-website
++RTS -N -qg`") throughput should improve dramatically.
+
+
+### How can I get debugging output?
+
+With recent (>0.2.12) snap-core, if you set the environment variable `DEBUG=1`
+then Snap will produce debugging output to stderr. There is a *very* slight
+performance penalty associated with this feature; if you are in a production
+setting and require speed at all costs, you can disable debug output when
+building `snap-core` by passing the `no-debug` flag to `cabal install`:
+
+~~~~~~~~ {.shell}
+$ cabal install snap-core -fno-debug
+~~~~~~~~
+
+
 ### How can I help?
 
 ##### Use Snap to build real websites.
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap-website
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to