aboutsummaryrefslogtreecommitdiff
path: root/bench/ffi (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-03-02Add a zig fmt action (#2277)Gravatar Jarred Sumner 1-4/+1
* Add a zig fmt action * add failing file * Setup prettier better * Update prettier-fmt.yml * Fail on error * Update prettier-fmt.yml * boop * boop2 * tar.gz * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * boop * Update prettier-fmt.yml * tag * newlines * multiline * fixup * Update zig-fmt.yml * update it * fixup * both * w * Update prettier-fmt.yml * prettier all the things * Update package.json * zig fmt * ❌ ✅ * bump * . * quotes * fix prettier ignore * once more * Update prettier-fmt.yml * Update fallback.ts * consistentcy --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-02-22Various type fixes (#2135)Gravatar Colin McDonnell 1-2/+1
* 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>
2023-02-17update `bun.lockb`s (#2101)Gravatar Alex Lam S.L 1-0/+0
2022-12-15prettierGravatar Jarred Sumner 1-1/+1
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-0/+0
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-10-18Use buffer type for Deno FFI binding to align with Bun usage (#1321)Gravatar Aapo Alasuutari 1-5/+3
* Use buffer type for Deno FFI binding to align with Bun usage * Prettier
2022-10-13Fix benchGravatar Jarred Sumner 1-1/+1
2022-09-09Fix import path issue in ffi benchGravatar Jarred Sumner 1-3/+5
2022-08-18Handle builds with remote inspector disabledGravatar Jarred Sumner 1-5/+6
2022-07-22Delete plus100-napiGravatar Jarred Sumner 1-0/+0
2022-07-22Mark as executableGravatar Jarred Sumner 1-0/+0
2022-07-13fix benchmark not building with old rust versionGravatar evanwashere 6-11/+11
2022-07-12cleanup benchmarks folder (#587)Gravatar evan 29-737/+381
* cleanup benchmarks * run prettier
2022-07-09update bash references to work in non-fhs compliant distrosGravatar lucasew 1-1/+1
Signed-off-by: lucasew <lucas59356@gmail.com>
2022-07-05Clean up some benchmarksGravatar Jarred Sumner 4-0/+99
2022-07-04[bench] Add an ffi data overhead benchGravatar Jarred Sumner 1-0/+33
2022-06-12Delete broken submoduleGravatar Jarred Sumner 1-0/+0
2022-06-07Web Streams API (#176)Gravatar Jarred Sumner 1-0/+0
* [bun.js] `WritableStream`, `ReadableStream`, `TransformStream`, `WritableStreamDefaultController`, `ReadableStreamDefaultController` & more * Implement `Blob.stream()` * Update streams.test.js * Fix sourcemaps crash * [TextEncoder] 3x faster in hot loops * reading almost works * start to implement native streams * Implement `Blob.stream()` * Implement `Bun.file(pathOrFd).stream()` * Add an extra function * [fs.readFile] Improve performance * make jsc bindings a little easier to work with * fix segfault * faster async/await + readablestream optimizations * WebKit updates * More WebKit updates * Add releaseWEakrefs binding * `bun:jsc` * More streams * Update streams.test.js * Update Makefile * Update mimalloc * Update WebKit * Create bun-jsc.test.js * Faster ReadableStream * Fix off by one & exceptions * Handle empty files/blobs * Update streams.test.js * Move streams to it's own file * temp * impl #1 * take two * good enough for now * Implement `readableStreamToArray`, `readableStreamToArrayBuffer`, `concatArrayBuffers` * jsxOptimizationInlining * Fix crash * Add `jsxOptimizationInline` to Bun.Transpiler * Update Transpiler types * Update js_ast.zig * Automatically choose production mode when NODE_ENV="production" * Update cli.zig * [jsx] Handle defaultProps when inlining * Update transpiler.test.js * uncomment some tests Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-05-11Make the napi mjs file runnable in both bun & nodeGravatar Jarred Sumner 1-7/+6
2022-05-11Fix export symbols on LinuxGravatar Jarred Sumner 1-4/+6
2022-05-10Include napi in plus100Gravatar Jarred Sumner 1-4/+20
2022-05-03clarifyGravatar Jarred Sumner 3-0/+12
2022-05-03ffi overhead benchGravatar Jarred Sumner 8-18/+55
2022-05-03Add docs for FFIGravatar Jarred Sumner 14-59/+158
2022-05-02[bun:ffi] cleanupGravatar Jarred Sumner 4-0/+440