-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It turns out, these _appear_ to make a (modest) difference. In general, the INLINEABLE benchmarks use slightly less memory (file logging is the most significant, at 10% less allocated), and the benchmarks are _generally_ faster (though some are slightly slower). Might as well add these in. Our (extremely blunt) strategy is to add INLINEABLE to any function involving polymorphic monad m, to prevent polymorphic binds from blocking optimizations.
- Loading branch information
Showing
33 changed files
with
161 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Name,Mean (ps),2*Stdev (ps),Allocated,Copied,Peak Memory | ||
All.Basic Logging.10_000,32054981100,2719280254,197767499,1491201,15728640 | ||
All.Basic Logging.100_000,284949455400,3088076064,1921481603,12566747,22020096 | ||
All.Command Logging.10_000,8675987087,358680480,7701613,170721,22020096 | ||
All.Command Logging.100_000,818098265200,26302296974,427536247,2438572,22020096 | ||
All.File Logging.10_000,28730622578,1775853462,20914526,638780,22020096 | ||
All.File Logging.100_000,5507945763000,212603894328,2001917452,23482169,22020096 | ||
All.Basic Logging.10_000,13994919850,788201886,164620558,1226940,14680064 | ||
All.Basic Logging.100_000,134352162600,3092666264,1642240890,10696009,23068672 | ||
All.Command Logging.10_000,10629656550,664104250,25934036,1142611,23068672 | ||
All.Command Logging.100_000,141102413675,9240202760,290511672,12695602,23068672 | ||
All.File Logging.10_000,67230350850,4015181822,114474577,6010048,23068672 | ||
All.File Logging.100_000,1063772303400,41051284184,1801811732,93045236,23068672 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,3 +73,4 @@ mergeConfig args mToml = do | |
} | ||
where | ||
cmdsText = args ^. #commands | ||
{-# INLINEABLE mergeConfig #-} |
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
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
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
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.