-
Notifications
You must be signed in to change notification settings - Fork 335
Closed
Labels
Description
Something that has been brought up repeatedly is the fact that this benchmark includes interpreter/jit/whatever startup times, which makes it "unfair" relative to purely compiled languages. While this is partly true, it is not unreasonable to have a benchmark that does include these startup times, as it is real cost in some scenarios.
One thing that could be done to both (A) help mitigate this problem and (B) uncover other performance differences is make the program run longer. This can be done by giving each larger input values or more data to process.
At the time of writing this, there are four programs. Here's how we could change this for each:
loops: update the implementations to take a variable amount of iterations. Then, pass in a value that causes longer runtime (perhaps 10 billion instead of 1, for example)levenshtein- Add more strings and longer strings to the passed-in inputfibonacci- Call with 43 or 44 instead of 40hello-worldnothing!
Reactions are currently unavailable