-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More sanity byron random-specific benchmarks post restoration + JSON artifacts #2122
Conversation
…w stdout For consistency and also, better log outputs.
257e930
to
d219f16
Compare
@@ -94,6 +99,42 @@ import System.Random | |||
import qualified Data.Map as Map | |||
import qualified Data.Set as Set | |||
|
|||
class RndStateLike s where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 (makes me wonder slightly again if records hadn't been nicer)
, importOneAddressTime :: Time | ||
, importManyAddressesTime :: Time | ||
, estimateFeesTime :: Time | ||
, utxoStatistics :: s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see: why do you need to parametrise over s
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I didn't want to define a Buildable instance for ApiUtxoStatistics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few details I didn't look at but, lgtm, and seems like a good idea!
bors r+ |
Build succeeded: |
Issue Number
#2032
Overview
71f646d
📍 more sanity benchmarks post-restoration
771e590
📍 revise benchmark logging to use structured logger instead of plain raw stdout For consistency and also, better log outputs.
2b439b7
📍 export benchmark results in structured JSON files for easier post-processing
257e930
📍 add 'importManyAddresses' to the benchmarks for comparison with single address import
Comments
Now also export JSON files as: