Recalibrate benchmark sizing

This commit is contained in:
Andrew Morris
2023-06-22 22:32:33 +10:00
parent 147d8e1006
commit b6453014b3
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
//! bench()
export default function main() {
return fib(25);
return fib(26);
}
function fib(n: number): number {

View File

@@ -7,8 +7,8 @@ import { Range_from } from "./helpers/range.ts";
export default function main() {
let nums = [
...Range_from(randish())
.map((x) => Math.floor(5_000 * x))
.limit(5_000),
.map((x) => Math.floor(8_000 * x))
.limit(10_000),
];
nums = quickSort(nums, (a, b) => a - b);