Github user rnewson commented on the pull request:
https://github.com/apache/couchdb-couch/pull/13#issuecomment-61416287
I don't see why it won't work, just add another clause for
update_histogram/2 which tests the second argument for `when is_function(Fun,
0)` then perform the timing (if you use timer:tc then divide by 1000 to get
millis).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---