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

Add an hrtime Executor #945

Open
dantleech opened this issue Nov 21, 2021 · 0 comments
Open

Add an hrtime Executor #945

dantleech opened this issue Nov 21, 2021 · 0 comments
Projects

Comments

@dantleech
Copy link
Member

dantleech commented Nov 21, 2021

Create an hrtime executor, or rather a more flexible executor that can be configured.

  • Use hrtime or use it by default
  • Configuration for:
    • Where before methods are called
    • If the sample is taken from within / without the for loop
    • If GC etc should be enabled
    • ...

Proposition: allow executors to be configured explicitly using "stages"

    "runner.executors": {
        "hrtime": {
            "executor": "custom",
            "stages": [
                "disableGc",
                "bootstrap",
                "warmup",
                {
                    "stage": "hrtimer",
                    "children": [
                        {
                            "stage": "revsIteration",
                            "children": [
                                "callSubject"
                            ]
                        }
                    ]
                }
            ]
        }
    },
@dantleech dantleech added this to To do in 1.3 Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
1.3
To do
Development

No branches or pull requests

1 participant