SDK runtime modes
All our SDKs can run safely in production with minimal impact on your software’s performance. To do this, the SDKs detect at startup time whether the program is running in the Antithesis Environment. If not, then their functions turn into no-ops, or log statements, or shims to appropriate standard library functions. SDK functions that turn into no-ops when run in production will still evaluate their arguments, so thatantithesis_foo(function_with_vital_side_effects()) doesn’t become a bug.
However, if you have ultra-high performance software dependent on split-second timing, most of our SDKs provide ways to completely disable them at build time. The details of how this works differ a little bit from language to language, consult the language-specific SDK documentation for more information.
Functionality
Our SDKs offer three main categories of functionality: Additionally, they enable:- Assertion cataloging - which is required to use SDK assertions.
- Coverage instrumentation - that tracks code coverage as your software runs in Antithesis.