mirror of
https://github.com/denoland/deno.git
synced 2024-11-05 09:04:41 -05:00
10 lines
145 B
TypeScript
10 lines
145 B
TypeScript
|
import { add } from "./main.ts";
|
||
|
|
||
|
Deno.bench(function addSmall() {
|
||
|
add(1, 2);
|
||
|
});
|
||
|
|
||
|
Deno.bench(function addBig() {
|
||
|
add(2 ** 32, 2 ** 32);
|
||
|
});
|