<commit_before>%%%-------------------------------------------------------------------
%%% @author <NAME>
%%% @copyright (C) 2015 ACK CYFRONET AGH
%%% This software is released under the MIT license
%%% cited in 'LICENSE.txt'.
%%% @end
%%%-------------------------------------------------------------------
%%% @doc
%%% This file defines macros used during basic datastore tests.
%%% @end
%%%-------------------------------------------------------------------
-ifndef(DATASTORE_BASIC_OPS_UTILS_HRL).
-define(DATASTORE_BASIC_OPS_UTILS_HRL, 1).

-define(repeats, 1).

-define(basic_test_def(Desc),
    -performance([
        {repeats, ?repeats},
        {parameters, [
            [{name, threads_num}, {value, 30}, {description, "Number of threads that operates at single node."}],
            [{name, docs_per_thead}, {value, 5}, {description, "Number of documents used by single threads."}],
            [{name, ops_per_doc}, {value, 5}, {description, "Number of oprerations on each document."}],
            [{name, conflicted_threads}, {value, 10}, {description, "Number of threads that work with the same documents set."}]
        ]},
        {description, Desc},
        {config, [{name, single_short_thread},
            {parameters, [
                [{name, threads_num}, {value, 1}],
                [{name, docs_per_thead}, {value, 10}],
                [{name, conflicted_threads}, {value, 1}]
            ]}
        ]},
        {config, [{name, single_long_thread},
                    {parameters, [<commit_msg>VFS_1097, datastore tests config update<commit_after>%%%-------------------------------------------------------------------
%%% @author <NAME>
%%% @copyright (C) 2015 ACK CYFRONET AGH
%%% This software is released under the MIT license
%%% cited in 'LICENSE.txt'.
%%% @end
%%%-------------------------------------------------------------------
%%% @doc
%%% This file defines macros used during basic datastore tests.
%%% @end
%%%-------------------------------------------------------------------
-ifndef(DATASTORE_BASIC_OPS_UTILS_HRL).
-define(DATASTORE_BASIC_OPS_UTILS_HRL, 1).

-define(repeats, 5).

-define(basic_test_def(Desc),
    -performance([
        {repeats, ?repeats},
        {parameters, [
            [{name, threads_num}, {value, 30}, {description, "Number of threads that operates at single node."}],
            [{name, docs_per_thead}, {value, 5}, {description, "Number of documents used by single threads."}],
            [{name, ops_per_doc}, {value, 5}, {description, "Number of oprerations on each document."}],
            [{name, conflicted_threads}, {value, 10}, {description, "Number of threads that work with the same documents set."}]
        ]},
        {description, Desc},
        {config, [{name, single_short_thread},
            {parameters, [
                [{name, threads_num}, {value, 1}],
                [{name, docs_per_thead}, {value, 10}],
                [{name, conflicted_threads}, {value, 1}]
            ]}
        ]},
        {config, [{name, single_long_thread},
                    {parameters, [
{'fraction_non_alphanumeric': 0.2666015625, 'fraction_numerical': 0.01171875, 'mean_word_length': 1.7910990009082652, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3512720', 'n_tokens_mistral': 900, 'n_tokens_neox': 826, 'n_words': 234}