Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Workloads should be updated to use Jinja2 macros #121

Open
gkamat opened this issue Sep 20, 2023 · 0 comments
Open

[FEATURE] Workloads should be updated to use Jinja2 macros #121

gkamat opened this issue Sep 20, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gkamat
Copy link
Collaborator

gkamat commented Sep 20, 2023

Description

The OSB workloads have a set of test procedures that are quite repetitive:

        {
          "operation": "large_filtered_terms",
          "warmup-iterations": 200,
          "iterations": 100,
          "target-throughput": 1.1
        },
        {
          "operation": "large_prohibited_terms",
          "warmup-iterations": 200,
          "iterations": 100,
          "target-throughput": 1.1
        },
        {
          "operation": "desc_sort_population",
          "warmup-iterations": 200,
          "iterations": 100,
          "target-throughput": 1.5
        },

These can be made more concise by using the Jinja2 macro feature judiciously, so that the repetition is reduced. This will help especially when the items become more complex, after the addition of per-operation target throughput and number of clients.

@gkamat gkamat added enhancement New feature or request good first issue Good for newcomers labels Sep 20, 2023
@gkamat gkamat removed the untriaged label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant