Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.

Performance fix when logging req or res #4

Merged
merged 2 commits into from
Jan 30, 2015
Merged

Conversation

dschenkelman
Copy link
Contributor

If the data.data object contains req or res the hoek.merge time took ~90ms, blocking the event loop and causing some serious damage to reqs/sec.

Since obj is smaller, merging the other way is way better perf wise.

silas added a commit that referenced this pull request Jan 30, 2015
Performance fix when logging `req` or `res`
@silas silas merged commit 32531db into silas:master Jan 30, 2015
@silas
Copy link
Owner

silas commented Jan 30, 2015

Awesome, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants