mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Recalibrate benchmark sizing
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//! bench()
|
||||
|
||||
export default function main() {
|
||||
return fib(25);
|
||||
return fib(26);
|
||||
}
|
||||
|
||||
function fib(n: number): number {
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user