Skip to content

Commit

Permalink
Extend perf_SUITE (martinsumner#434)
Browse files Browse the repository at this point in the history
* Extend perf_SUITE

This is v6 of the perf_SUITE tests.  The test adds a complex index entry to every object, and then adds a new test phase to test regex queries.

There are three profiles added so the full, mini and profiling versions of perf_SUITE can be run without having to edit the file itself:

e.g. ./rebar3 as perf_mini do ct --suite=test/end_to_end/perf_SUITE

When testing as `perf_prof` summarised versions of the eprof results are now printed to screen.

The volume of keys within the full test suite has been dropped ... just to make life easier so that test run times are not excessively increase by the new features.

* Load chunk in spawned processes

Assume to make the job of gs easier - name makes a massive difference to load time in OTP 24.

* Correctly account for pause

alos try and improve test stability by increasing pause

* Add microstate accounting to profile

* Add memory tracking during test phases

Identify and log out memory usage by test phase

* Use macros instead (martinsumner#437)

* Don't print memory to screen in standard ct test

---------

Co-authored-by: Thomas Arts <[email protected]>
  • Loading branch information
martinsumner and ThomasArts authored Jul 15, 2024
1 parent f5fed0a commit d45356a
Show file tree
Hide file tree
Showing 6 changed files with 749 additions and 371 deletions.
5 changes: 4 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
{plugins, [rebar_eqc]}
]},
{test, [{extra_src_dirs, ["test/end_to_end", "test/property"]}
]}
]},
{perf_full, [{erl_opts, [{d, performance, riak_fullperf}]}]},
{perf_mini, [{erl_opts, [{d, performance, riak_miniperf}]}]},
{perf_prof, [{erl_opts, [{d, performance, riak_profileperf}]}]}
]}.

{deps, [
Expand Down
Loading

0 comments on commit d45356a

Please sign in to comment.