don't use assert in benchmarks. it gets stripped out in release mode.
authorEric Niebler <eniebler@fb.com>
Thu, 5 Jan 2017 21:48:28 +0000 (13:48 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 5 Jan 2017 22:03:03 +0000 (14:03 -0800)
commit7ea05dfbed154482798ec397d8d253da599d115d
tree66371a68c334ed3e5eb5b1a3af5ceaebaf3e0a72
parent9b7138e49c6c545f09a1f016df5b26fd05d13d23
don't use assert in benchmarks. it gets stripped out in release mode.

Summary: Critical tests in benchmarks should not be in asserts since they will be stripped out in release mode, which is the only mode interesting for benchmarks.

Reviewed By: yfeldblum

Differential Revision: D4384411

fbshipit-source-id: 5237ab48f99ddcd2bce7a159fcf82900303efec2
folly/test/ExceptionWrapperBenchmark.cpp