Skip to content

NFData PersistValue - #1440

Merged
parsonsmatt merged 3 commits into
yesodweb:masterfrom
MercuryTechnologies:avieth/strictness
Dec 3, 2022
Merged

parsonsmatt merged 3 commits into
yesodweb:masterfrom
MercuryTechnologies:avieth/strictness

Conversation

@avieth

@avieth avieth commented Nov 17, 2022 •

Copy link
Copy Markdown
Contributor

Fully evaluating a PersistValue is important for gathering correct metrics. E.g. to get an accurate estimation of how long the SQL itself takes to run, it's essential to force the [PersistValue] which is used to construct the statement before starting the timer.

@parsonsmatt parsonsmatt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the changelog and version bump and I'll have it released soon

thanks!

Comment thread persistent/Database/Persist/PersistValue.hs
@avieth

avieth commented Nov 18, 2022

Copy link
Copy Markdown
Contributor Author

Please add the changelog and version bump and I'll have it released soon

Awesome! Changelog updated and @since added.

@parsonsmatt
parsonsmatt merged commit 114fd36 into yesodweb:master Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants