Skip to content

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.

3 participants