forked from snapframework/snap-server
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance improvements re: logging and data output
The log messages buffer was causing a lot of thread contention on a single IORef -- switched it to another striped logging scheme, seems to be quite a bit better in preliminary testing. Also switched Snap.Internal.Http.Server to use binary's Put monad for building up responses rather than B.concat -- profiling results suggest we alloc less when doing this.
- Loading branch information
1 parent
2ac275d
commit 57308b6
Showing
5 changed files
with
149 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.