Skip to main content

Compare Function Speed

Code
By Travis Tang | 0 views 0 copies |

Prompt

I want you to act as a software developer. I would like to compare the efficiency of two algorithms that performs the same task in Python. Please write code that helps me run an experiment that can be repeated for 5 times. Please output the runtime and other summary statistics of the experiment. `[[Insert functions]]`

Rate this prompt

Click to rate

0.0 avg rating (0)

Notes

Reference: From ChatGPT-Data-Science-Prompts repository