the sort function in https://github.com/tinylibs/tinybench/blob/main/src/task.ts#L76 is not correct, because it only works for strings and as you may know samples are numbers! So fix it to sort numbers.
it should be something like sort((a,b) => a - b) I guess.
the sort function in https://github.com/tinylibs/tinybench/blob/main/src/task.ts#L76 is not correct, because it only works for strings and as you may know samples are numbers! So fix it to sort numbers. it should be something like
sort((a,b) => a - b)
I guess.