diff options
author | 2023-02-22 17:45:22 -0800 | |
---|---|---|
committer | 2023-02-22 17:45:22 -0800 | |
commit | 9f53a2210cac920c34c858d1fb408dbf9b8d8f94 (patch) | |
tree | baabceb3cb4db1d261746ecdba80cb040640fc05 /bench | |
parent | 575291a301eb14f8452958d49b74148b97b89106 (diff) | |
download | bun-9f53a2210cac920c34c858d1fb408dbf9b8d8f94.tar.gz bun-9f53a2210cac920c34c858d1fb408dbf9b8d8f94.tar.zst bun-9f53a2210cac920c34c858d1fb408dbf9b8d8f94.zip |
Various type fixes (#2135)
* Simplify serve() types
* Remove baseURI
* Add Bun.serve type tests
* Number env vars
* Make loader optional
* FSRouter doesn't support URL
* Update sqlite types
* Bench
---------
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
Diffstat (limited to 'bench')
-rw-r--r-- | bench/ffi/bun.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/ffi/bun.js b/bench/ffi/bun.js index 593473929..6e83702ee 100644 --- a/bench/ffi/bun.js +++ b/bench/ffi/bun.js @@ -1,8 +1,7 @@ import { ptr, dlopen, CString, toBuffer } from "bun:ffi"; import { run, bench, group } from "mitata"; -const { napiNoop, napiHash, napiString } = require(import.meta.dir + - "/src/ffi_napi_bench.node"); +const { napiNoop, napiHash, napiString } = require(import.meta.dir + "/src/ffi_napi_bench.node"); const { symbols: { |