algoevaldemo / StringReversalEvaluator / 0.2.0
README.md
Overview
Is a simple string reversal Evaluator that works with algorithmia evaluations, to compare string reversal algorithms by measuring loading & runtime performance characteristics.
Usage
Input
Parameter | Description |
---|---|
payload | Text document you wish to use for comparisons |
iterations | The number of times we should call each algorithm with the given input, defaults to 10 . |
evaluated_algorithm | The algorithm you wish to evaluate with this Evaluator, is handled automatically by Algorithmia Evaluations. Defaults to demo/hello . |
Please make sure that your payload
is regular english text, contains no new line characters (\n
) or unescaped "
's.
Output
Parameter | Description |
---|---|
average load time (ms) | The average time spent loading the evaluatable algorithm, over all iterations. |
average Execution Time (ms) | The average time spent actually executing the evaluatable algorithm, over all iterations. |
Examples
Example 1
Input
{"payload": "loreum epsum"}
Output
{
"average execution time (ms)": "0.51702",
"average load time (ms)": "24.82542"
}
Example 2
Input
{
"iterations":20,
"payload":"Book publishing is very much a global industry and is dominated by a number of large multinational corporations that often have extensive commercial operations, of which publishing is only one. At the other end of the scale are smaller commercial businesses, family-run publishing houses, professional societies, and academic institutions that often concentrate on niche publishing for a specific audience.",
"evaluated_algorithm":"algoevaldemo/reverseRust/0.2.0"
}
Output
{
"average execution time (ms)": "0.46778",
"average load time (ms)": "37.53752"
}
Contents