8000 Add microbench runner by Shillaker · Pull Request #494 · faasm/faasm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 /div>

Add microbench runner #494

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

Merged
merged 6 commits into from
Oct 13, 2021
Merged

Add microbench runner #494

merged 6 commits into from
Oct 13, 2021

Conversation

Shillaker
Copy link
Collaborator
@Shillaker Shillaker commented Oct 11, 2021

Repeatedly running and timing functions in bare Faaslets is a common use-case in different microbenchmarks. This PR adds a reusable script of the form:

microbench_runner <spec_file> <out_file>

Which takes in a spec file of the form:

demo,hello,100,
demo,echo,200,some input data

With each line of the format <user>,<func>,<n_runs>,<input_data>.

The output CSV is written to out_file and looks like:

User,Function,RetVal,Exec(us),Reset(us)
demo,hello,0,77.54,400.34
demo,hello,0,73.52,432.90
...

@Shillaker Shillaker marked this pull request as ready for review October 11, 2021 18:13
@Shillaker Shillaker merged commit eb5d272 into master Oct 13, 2021
@Shillaker Shillaker deleted the bench-runner branch October 13, 2021 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0