Jarred Sumner
429abc1278
[bun:ffi] ~30% perf improvement for wrapped functions
2022-08-09 16:35:06 -07:00
Jarred Sumner
16f24086f8
[node compat] Improve fs.copyFileSync performance on macOS
2022-08-09 05:48:20 -07:00
Jarred Sumner
8ae4c745e1
Improve fs.copyFile performance on Linux ( #1035 )
...
* [fs] Improve fs.copyFile performance on Linux
* Add a fs.copyFileSync benchmark
* Fix build error
* Update node.mitata.mjs
* Be more careful with permission
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-08-09 05:44:39 -07:00
Hyro
5bca8a1d47
benchmarks(sqlite): invalid northwind database url ( #989 )
...
* build:(landing) automated website build
* Revert "build:(landing) automated website build"
This reverts commit ddee8485fd .
* benchmarks(sqlite): fix invalid northwind database url
Co-authored-by: xHyroM <xHyroM@users.noreply.github.com >
2022-08-05 10:36:32 -07:00
Jarred Sumner
440eba7c9b
[misc] Fix make headers
2022-08-03 19:13:08 -07:00
Jarred Sumner
bced6fab58
Delete plus100-napi
2022-07-22 01:53:57 -07:00
Jarred Sumner
80f797b2e5
Mark as executable
2022-07-22 01:37:42 -07:00
Shahidul Islam Majumder
600929ee6d
fix deno console.log benchmark ( #771 )
...
* chore(benchmark): fix deno console.log benchmark
* only show benchmark results
Co-authored-by: evanwashere <github@evan.lol >
2022-07-18 19:30:58 -04:00
Jarred Sumner
9bba47129a
Add a console.log bench
2022-07-13 01:03:03 -07:00
evanwashere
71930db9b0
fix benchmark not building with old rust version
2022-07-13 03:14:50 -04:00
evan
a9e4ff2029
cleanup benchmarks folder ( #587 )
...
* cleanup benchmarks
* run prettier
2022-07-12 01:40:12 -07:00
Ryan Russell
f0529ca253
docs(various): .md readability improvements ( #597 )
2022-07-12 00:41:23 +02:00
lucasew
118c134918
update bash references to work in non-fhs compliant distros
...
Signed-off-by: lucasew <lucas59356@gmail.com >
2022-07-09 18:28:32 -07:00
sno2
f5d896542a
fix: update build files to latest Zig version
2022-07-09 18:25:25 -07:00
Jarred Sumner
d875c9988a
[bench] Add comparison for react-dom builds
2022-07-06 00:07:59 -07:00
Luca Casonato
8c1157be22
Disable response body auto compression in Deno
...
Allows for a more apples to apples comparison between runtimes
2022-07-05 17:13:52 -07:00
Jarred Sumner
f5527c976e
Clean up some benchmarks
2022-07-05 00:54:42 -07:00
Jarred Sumner
ab7f57239d
[bench] react hello world
2022-07-04 18:06:30 -07:00
Jarred Sumner
b685cd49a6
[bench] Add a react ssr hello world
2022-07-04 16:41:16 -07:00
Jarred Sumner
77b5999b73
[bench] Add a performance.now bench
2022-07-04 08:39:27 -07:00
Jarred Sumner
2f553df8be
[bench] Add an async overhead bench
2022-07-04 08:39:18 -07:00
Jarred Sumner
17045601e7
[bench] Add an ffi data overhead bench
2022-07-04 08:39:07 -07:00
Jarred Sumner
7bb75f5553
Add dynamic require support
2022-06-24 06:59:47 -07:00
Jarred Sumner
729d445b68
change the directory structure
2022-06-22 23:21:48 -07:00
Jarred Sumner
fddf8f8163
Delete broken submodule
2022-06-12 03:16:50 -07:00
Jarred Sumner
552e93bfba
Add fixture used in benchmark snippet
2022-06-07 22:46:05 -07:00
Jarred Sumner
43de33afc7
Web Streams API ( #176 )
...
* [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-06-07 22:32:46 -07:00
Jarred Sumner
7ca297a5cc
Update download-northwind.sh
2022-05-16 19:51:30 -07:00
Jarred Sumner
31f3050356
Bump
2022-05-16 18:53:33 -07:00
Jarred Sumner
a37f86e89d
bun:sqlite (#167 )
...
* ✂️
* Add the slow version
* draw the rest of the owl
* Fix crash when allocating lots of memory
* [Bun.Transipiler] Support passing objects
* [JS Parser] Support passing objects to macros via Bun.Transpiler
* Update JSSQLStatement.cpp
* Embed SQLite
* Add SQLite to Dockerfile
* [sqlite] Add quick one-off queries without creating a whole object
* [sqlite] Add `columnsCount`, rename raw() to `values()`, remove `rebind`
* Implement `bun:sqlite`
* return null
* Fix updating query
* Update bun.d.ts
* more tests
* Support variadic arguments, write tests and add types
* Update sqlite.d.ts
* Update sqlite.d.ts
* latest
* Implement `Database.loadExtension` and `Database.setCustomSQLite`
* Support `require.resolve`
* [napi] Improve string performance
* [bun.js] Support some of `node:module`
* another test
* [sqlite] Support serialize & deserialize
* [`bun:ffi`] Implement `CFunction` and `linkSymbols`
* [bun.js] Fix crash in `Buffer.from`
* Update sqlite.test.js
* Document linkSymbols
* docs
* Update README.md
2022-05-16 15:46:20 -07:00
Jarred Sumner
61b2821472
Make the napi mjs file runnable in both bun & node
2022-05-11 15:12:17 -07:00
Jarred Sumner
247f4810c5
Fix export symbols on Linux
2022-05-11 03:45:00 -07:00
Jarred Sumner
eb2a6aee4d
Include napi in plus100
2022-05-10 20:50:38 -07:00
Jarred Sumner
bdf28e42f6
[bun.js] Support gzipSync, gunzipSync, inflateSync, deflateSync
2022-05-07 01:38:26 -07:00
Jarred Sumner
164483c137
Update buffer.js
2022-05-04 07:03:22 -07:00
Jarred Sumner
e3362a0fda
clarify
2022-05-03 02:35:05 -07:00
Jarred Sumner
91e96a8da8
ffi overhead bench
2022-05-03 02:11:59 -07:00
Jarred Sumner
8b1924f6c2
Add docs for FFI
2022-05-03 01:25:46 -07:00
Jarred Sumner
125a4c747b
[bun:ffi] cleanup
2022-05-02 03:40:14 -07:00
Jarred Sumner
e26f96b748
wip
2022-04-29 00:47:26 -07:00
Jarred Sumner
fd56d0f116
more work on buffer
2022-04-28 06:56:28 -07:00
Jarred SUmner
81eb47de0e
[bun.js] Add stdout, stderr, stdin to Bun and support sendfile() + splice()
2022-04-06 01:53:05 -07:00
Jarred Sumner
75fa87482d
file is too big
2022-03-15 20:17:53 -07:00
Jarred Sumner
44b0c8153a
Source Maps for client-side errors & columns
2022-03-11 00:03:09 -08:00
Jarred Sumner
4ac8c1bd84
Add copyfile snippet
2022-01-23 21:14:34 -08:00
Jarred Sumner
9c627e884d
Create cat.mjs
2022-01-22 21:40:57 -08:00
Jarred Sumner
da83583cdf
Create realpath.mjs
2022-01-22 21:19:18 -08:00
Jarred Sumner
4d9ae0df06
📷
2022-01-22 20:46:28 -08:00
Jarred Sumner
8f7cf6bf47
little
2022-01-21 05:09:58 -08:00
Jarred Sumner
4a7b5892af
Add a little benchmark for transpiling from inside JS
2022-01-21 04:58:28 -08:00