diff options
author | Markos Fountoulakis <44345837+mfundul@users.noreply.github.com> | 2019-10-03 17:04:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-03 17:04:51 +0300 |
commit | 95119afff48735607643bfe3824ed3727b6edbb0 (patch) | |
tree | 7d588b0f7131743d58386c100cb9fb2b0d97c187 /daemon/unit_test.h | |
parent | 06cdca8fdfb5f8af43a368e9afe0e996fb1ea8fd (diff) |
Make dbengine the default memory mode (#6977)
* Basic functionality for dbengine stress test.
* Fix coverity defects
* Refactored dbengine stress test to be configurable
* Added benchmark results and evaluation in dbengine documentation
* Make dbengine the default memory mode
Diffstat (limited to 'daemon/unit_test.h')
-rw-r--r-- | daemon/unit_test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/unit_test.h b/daemon/unit_test.h index fd3e801705..230a700858 100644 --- a/daemon/unit_test.h +++ b/daemon/unit_test.h @@ -11,6 +11,9 @@ extern int unit_test_buffer(void); #ifdef ENABLE_DBENGINE extern int test_dbengine(void); extern void generate_dbengine_dataset(unsigned history_seconds); +extern void dbengine_stress_test(unsigned TEST_DURATION_SEC, unsigned DSET_CHARTS, unsigned QUERY_THREADS, + unsigned RAMP_UP_SECONDS, unsigned PAGE_CACHE_MB); + #endif #endif /* NETDATA_UNIT_TEST_H */ |